CVE-2026-89740: serial: imx: serialize imx_uart_ports[] lifetime

Published Sep 11, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

serial: imx: serialize imxuartports[] lifetime

imxuartprobe() publishes its devm-allocated port in imxuartports[] before uartaddoneport() because console setup uses the table. The entry is not cleared when adding the port fails or after removal, leaving a dangling pointer.

A sibling probe can register the shared console through that stale entry. This was reproduced under KASAN on QEMU mcimx6ul-evk by unbinding a sibling UART, unbinding the console UART and rebinding the sibling.

Keep the entry valid through uartremoveoneport(), then clear it. Protect port addition and removal together with their table updates so sibling operations cannot interleave. Reject an occupied slot rather than clobbering an active port during a duplicate-line probe.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 11, 2026
CVE Published
via MITRE·07:46 PM
Data Sourced
via MITRE·07:46 PM
Description

Frequently Asked Questions

1

Which systems are most exposed to this issue?

Systems using the i.MX UART driver are exposed when UART probe or removal activity can occur alongside sibling UART operations, particularly where a shared console is involved. The reported reproduction unbound a sibling UART, unbound the console UART, and then rebound the sibling UART.

2

What conditions are needed to trigger the dangling-pointer path?

A port entry must be published in imx_uart_ports[] and then become invalid because adding the port fails or the port is removed without clearing the entry. A sibling probe can then use that stale entry while registering the shared console.

3

What can be done if the fix cannot be applied immediately?

Avoid unbinding and rebinding i.MX UART devices, especially sequences involving both a console UART and a sibling UART. Also avoid duplicate-line probe situations that could target an already occupied table slot.

4

How can administrators investigate whether the issue has occurred?

The issue was reproduced with KASAN during UART unbind and rebind operations. Investigations should focus on i.MX UART add failures or removals followed by sibling UART probing or shared-console registration, since those sequences can leave and consume a stale table entry.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203