CVE-2026-90336

serial: core: clear freed pointers on uart_register_driver() failure

No CVSS score yet EPSS 0.22%

Published 17 Sep 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-90336

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

Check my servers

Description

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

serial: core: clear freed pointers on uart_register_driver() failure

uart_register_driver() leaves drv->state pointing to freed memory when tty_alloc_driver() fails. If tty_register_driver() fails, drv->tty_driver also retains a pointer after its reference is dropped.

Drivers that use drv->state as an "already registered" flag can then skip registration on the next probe and pass the freed state to uart_add_one_port().

This issue was found with failslab on QEMU's raspi1ap board by failing registration and binding the PL011 port again.

Clear both pointers on their failure paths, as uart_unregister_driver() already does.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.86% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 5e260edd28eddc3b92c9f578df3026fd11c710cf
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a9c0ffe5930c97b352f32febfc59a6e6ae6772ee
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 802e2192a9d38027730c2869c67c9131b8c8fe9f
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before ddf51d74ee9f9857c99477329d80408cedebda61
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 06b376432974fe5f25f2843a8e8438c6a1cf3d50
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 61a2fb25551be0375bc16ef2a70c987dfca26183
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
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.114 up to and including 6.12.*
unaffected from 6.18.57 up to and including 6.18.*
unaffected from 7.2.6 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-90336 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90336

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-90336
trivy image --scanners vuln IMAGE | grep CVE-2026-90336

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

Source: the record CVE-2026-90336 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.