CVE-2026-89740

serial: imx: serialize imx_uart_ports[] lifetime

N/A
Published: September 11, 2026 at 07:46 PM UTC
Updated: October 30, 2026 at 01:20 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: serial: imx: serialize imx_uart_ports[] lifetime imx_uart_probe() publishes its devm-allocated port in imx_uart_ports[] before uart_add_one_port() 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 uart_remove_one_port(), 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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.27dbff4e9ea2e83fda89143389bfb229cb29425a32
Vendor states this is fixed in 28b932202fcdbeb2ef58d89ce4363f480433c234 (fixed)
Vendor states this is fixed in 681696ae9e4a28bdf54893c807dfe4a6c08e30a5 (fixed)
Vendor states this is fixed in 7429dce56a73bc080a8c072edb167106f73a08ae (fixed)
Vendor states this is fixed in 8b0b29fdcb47907ae0296b8fe829e918e05e300f (fixed)
Vendor states this is fixed in 2.6.27 (unaffected)
Vendor states this is fixed in 6.12.109 (unaffected)
Vendor states this is fixed in 6.18.50 (unaffected)
Vendor states this is fixed in 6.6.160 (unaffected)
Vendor states this is fixed in 7.2.4 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card