CVE-2026-97480

tty: serial: 8250: protect against NULL uart->port.dev in register

No CVSS score yet EPSS 0.21%

Published 24 Sep 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-97480

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-97480 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:

tty: serial: 8250: protect against NULL uart->port.dev in register

serial8250_register_8250_port() conditionally copies uart->port.dev from up->port.dev only when up->port.dev is non-NULL:

if (up->port.dev) { uart->port.dev = up->port.dev; ... }

So if both the existing uart slot and up have a NULL ->dev, uart->port.dev remains NULL. The very next ACPI companion check then dereferences it unconditionally:

if (!has_acpi_companion(uart->port.dev)) {

has_acpi_companion() reads dev->fwnode without a NULL guard (include/linux/acpi.h), so this NULL-derefs the kernel for the remaining no-dev case rather than just skipping the mctrl_gpio_init() initialisation as intended.

smatch flags the inconsistency:

drivers/tty/serial/8250/8250_core.c:767 serial8250_register_8250_port() error: 'uart->port.dev' could be null (see line 719)

Guard the call with a NULL check so register continues to work for callers that legitimately have no parent device (legacy non-OF/non-ACPI registrations).

No functional change for callers that pass a non-NULL ->dev.

Exploitation

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 4a96895f74c9633b51427fd080ab70fa62b65bc4, before f728f7f38a6eca16923c72fc6826445810d2b41f
affected from 4a96895f74c9633b51427fd080ab70fa62b65bc4, before 68059b6e9f7292714286e2b0f5185ed2a43fccc5
affected from 4a96895f74c9633b51427fd080ab70fa62b65bc4, before 9c78f89cf2fbae18b14c78bf172ca15d832aff15
affected from 4a96895f74c9633b51427fd080ab70fa62b65bc4, before 5cbab666721d974bfe033a12045d808936deaefd
affected from 4a96895f74c9633b51427fd080ab70fa62b65bc4, before 941c9f84c9b6310f7aaa1c8c785dcc634ee33050
Other versions: unaffected
Linux
affected 5.3
unaffected before 5.3
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.53 up to and including 6.18.*
unaffected 7.2 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-97480 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97480

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

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