CVE-2026-89740

Source
https://cve.org/CVERecord?id=CVE-2026-89740
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89740.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-89740
Downstream
Published
2026-09-11T19:46:47Z
Modified
2026-09-13T03:46:22Z
Summary
serial: imx: serialize imx_uart_ports[] lifetime
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89740.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dbff4e9ea2e83fda89143389bfb229cb29425a32
Fixed
681696ae9e4a28bdf54893c807dfe4a6c08e30a5
Fixed
28b932202fcdbeb2ef58d89ce4363f480433c234
Fixed
7429dce56a73bc080a8c072edb167106f73a08ae
Fixed
8b0b29fdcb47907ae0296b8fe829e918e05e300f

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89740.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.27
Fixed
6.12.109
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.50
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89740.json"