CVE-2026-89740
serial: imx: serialize imx_uart_ports[] lifetime
Check your servers for CVE-2026-89740
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89740 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from dbff4e9ea2e83fda89143389bfb229cb29425a32, before ce9c074868d5c8adfb0c72de4324138d6fa1a1a8 affected from dbff4e9ea2e83fda89143389bfb229cb29425a32, before a4acf2739434a014cdfc282175cffd3e35a97fa4 affected from dbff4e9ea2e83fda89143389bfb229cb29425a32, before abc17fd508a511669997e48f8b014d8aa043abdf affected from dbff4e9ea2e83fda89143389bfb229cb29425a32, before 681696ae9e4a28bdf54893c807dfe4a6c08e30a5 affected from dbff4e9ea2e83fda89143389bfb229cb29425a32, before 28b932202fcdbeb2ef58d89ce4363f480433c234 affected from dbff4e9ea2e83fda89143389bfb229cb29425a32, before 7429dce56a73bc080a8c072edb167106f73a08ae affected from dbff4e9ea2e83fda89143389bfb229cb29425a32, before 8b0b29fdcb47907ae0296b8fe829e918e05e300f
Other versions: unaffected
|
| Linux |
affected 2.6.27 unaffected before 2.6.27 unaffected from 5.15.224 up to and including 5.15.* unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.109 up to and including 6.12.* unaffected from 6.18.50 up to and including 6.18.* unaffected from 7.2.4 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89740 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89740
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-89740
trivy image --scanners vuln IMAGE | grep CVE-2026-89740
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ce9c074868d5c8adfb0c72de4324138d6fa1a1a8 git.kernel.org
- https://git.kernel.org/stable/c/a4acf2739434a014cdfc282175cffd3e35a97fa4 git.kernel.org
- https://git.kernel.org/stable/c/abc17fd508a511669997e48f8b014d8aa043abdf git.kernel.org
- https://git.kernel.org/stable/c/681696ae9e4a28bdf54893c807dfe4a6c08e30a5 git.kernel.org
- https://git.kernel.org/stable/c/28b932202fcdbeb2ef58d89ce4363f480433c234 git.kernel.org
- https://git.kernel.org/stable/c/7429dce56a73bc080a8c072edb167106f73a08ae git.kernel.org
- https://git.kernel.org/stable/c/8b0b29fdcb47907ae0296b8fe829e918e05e300f git.kernel.org
Source: the record CVE-2026-89740 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse