VDB

CVE-2026-97480

CVE-2026-97480 PUBLISHED

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

Reported by linux · Published September 24, 2026

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.

EPSS 0.17% · 7.0th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-tools-develAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.12Amazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-develAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-headersAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.114-139.210.amzn2023
perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
perf6.12Amazon Linux1:6.12.114-139.210.amzn2023
kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-headersAmazon Linux1:6.18.54-121.166.amzn2023

Risk scores

EPSS Score
0.17%
7.0th percentile

Affected products

VendorProductVersions
LinuxLinux4a96895f74c9633b51427fd080ab70fa62b65bc4, 4a96895f74c9633b51427fd080ab70fa62b65bc4, 4a96895f74c9633b51427fd080ab70fa62b65bc4
LinuxLinux5.3, 0, 6.1.191
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.120
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-tools-devel0
amazon:2023perf6.180
amazon:2023perf6.120
amazon:2023kernel6.180
amazon:2023kernel6.18-headers0
linuxlinux_kernel5.3, 5.3, 5.3
amazon:2023kernel-livepatch-6.12.114-139.2100
amazon:2023python3-perf6.180
amazon:2023python3-perf6.120
amazon:2023kernel6.18-tools0
amazon:2023kernel-livepatch-6.18.54-121.1660

…and 7 more

Timeline

  • Sep 24, 2026 CVE Published
  • Sep 25, 2026 EPSS Score (9 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97480
vulnetix vdb fixes CVE-2026-97480

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97480/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›