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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-09-11T19:46:47.250Z
- Modified: 2026-10-30T13:20:27.883Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from dbff4e9ea2e83fda89143389bfb229cb29425a32 before ce9c074868d5c8adfb0c72de4324138d6fa1a1a8; from dbff4e9ea2e83fda89143389bfb229cb29425a32 before a4acf2739434a014cdfc282175cffd3e35a97fa4; from dbff4e9ea2e83fda89143389bfb229cb29425a32 before abc17fd508a511669997e48f8b014d8aa043abdf; from dbff4e9ea2e83fda89143389bfb229cb29425a32 before 681696ae9e4a28bdf54893c807dfe4a6c08e30a5; from dbff4e9ea2e83fda89143389bfb229cb29425a32 before 28b932202fcdbeb2ef58d89ce4363f480433c234; from dbff4e9ea2e83fda89143389bfb229cb29425a32 before 7429dce56a73bc080a8c072edb167106f73a08ae; from dbff4e9ea2e83fda89143389bfb229cb29425a32 before 8b0b29fdcb47907ae0296b8fe829e918e05e300f; 2.6.27 (not affected: before 2.6.27; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.109 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/ce9c074868d5c8adfb0c72de4324138d6fa1a1a8>
- <https://git.kernel.org/stable/c/a4acf2739434a014cdfc282175cffd3e35a97fa4>
- <https://git.kernel.org/stable/c/abc17fd508a511669997e48f8b014d8aa043abdf>
- <https://git.kernel.org/stable/c/681696ae9e4a28bdf54893c807dfe4a6c08e30a5>
- <https://git.kernel.org/stable/c/28b932202fcdbeb2ef58d89ce4363f480433c234>
- <https://git.kernel.org/stable/c/7429dce56a73bc080a8c072edb167106f73a08ae>
- <https://git.kernel.org/stable/c/8b0b29fdcb47907ae0296b8fe829e918e05e300f>

## Sources

- CVE List: [CVE-2026-89740](https://www.cve.org/CVERecord?id=CVE-2026-89740), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-89740](https://nvd.nist.gov/vuln/detail/CVE-2026-89740), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-89740 · Whole record: https://cve.day/CVE-2026-89740.json · Rebuilt by cve.day 2026-11-25T22:59:38.132Z
