# CVE-2026-97480: tty: serial: 8250: protect against NULL uart-\>port.dev in register

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-24T16:04:22.893Z
- **Modified:** 2026-10-30T13:21:04.680Z

## Who should check

- Anyone running Linux \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< f728f7f38a6eca16923c72fc6826445810d2b41f; \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< 68059b6e9f7292714286e2b0f5185ed2a43fccc5; \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< 9c78f89cf2fbae18b14c78bf172ca15d832aff15; \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< 5cbab666721d974bfe033a12045d808936deaefd; \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< 941c9f84c9b6310f7aaa1c8c785dcc634ee33050
- Anyone running Linux 5.3

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

## Affected and fixed versions

- Linux: \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< f728f7f38a6eca16923c72fc6826445810d2b41f; \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< 68059b6e9f7292714286e2b0f5185ed2a43fccc5; \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< 9c78f89cf2fbae18b14c78bf172ca15d832aff15; \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< 5cbab666721d974bfe033a12045d808936deaefd; \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< 941c9f84c9b6310f7aaa1c8c785dcc634ee33050 (cvelist)
- Linux: 5.3 (cvelist)

## Mitigation

- Upgrade Linux to 941c9f84c9b6310f7aaa1c8c785dcc634ee33050 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97480. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97480.md
Affected: Linux >= 4a96895f74c9633b51427fd080ab70fa62b65bc4, < f728f7f38a6eca16923c72fc6826445810d2b41f; >= 4a96895f74c9633b51427fd080ab70fa62b65bc4, < 68059b6e9f7292714286e2b0f5185ed2a43fccc5; >= 4a96895f74c9633b51427fd080ab70fa62b65bc4, < 9c78f89cf2fbae18b14c78bf172ca15d832aff15; >= 4a96895f74c9633b51427fd…
Fixed in: Linux 68059b6e9f7292714286e2b0f5185ed2a43fccc5, Linux 9c78f89cf2fbae18b14c78bf172ca15d832aff15, Linux 5cbab666721d974bfe033a12045d808936deaefd, Linux 941c9f84c9b6310f7aaa1c8c785dcc634ee33050

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97480 being exploited?

There is no confirmed exploitation: CVE-2026-97480 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97480?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97480?

Linux \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< f728f7f38a6eca16923c72fc6826445810d2b41f; \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< 68059b6e9f7292714286e2b0f5185ed2a43fccc5; \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< 9c78f89cf2fbae18b14c78bf172ca15d832aff15; \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< 5cbab666721d974bfe033a12045d808936deaefd; \>= 4a96895f74c9633b51427fd080ab70fa62b65bc4, \< 941c9f84c9b6310f7aaa1c8c785dcc634ee33050; Linux 5.3.

### Is there a fix for CVE-2026-97480?

Yes. Fixed in Linux 68059b6e9f7292714286e2b0f5185ed2a43fccc5, Linux 9c78f89cf2fbae18b14c78bf172ca15d832aff15, Linux 5cbab666721d974bfe033a12045d808936deaefd, Linux 941c9f84c9b6310f7aaa1c8c785dcc634ee33050. Upgrade Linux to 941c9f84c9b6310f7aaa1c8c785dcc634ee33050 or later.

### How do I check if I'm affected by CVE-2026-97480?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f728f7f38a6eca16923c72fc6826445810d2b41f>
- other: <https://git.kernel.org/stable/c/68059b6e9f7292714286e2b0f5185ed2a43fccc5>
- other: <https://git.kernel.org/stable/c/9c78f89cf2fbae18b14c78bf172ca15d832aff15>
- other: <https://git.kernel.org/stable/c/5cbab666721d974bfe033a12045d808936deaefd>
- other: <https://git.kernel.org/stable/c/941c9f84c9b6310f7aaa1c8c785dcc634ee33050>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97480>

HTML: <https://flawdb.com/CVE-2026-97480> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97480>
