# CVE-2026-90336: serial: core: clear freed pointers on uart\_register\_driver() failure

> 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 7, 2026-11-28)
- **Published:** 2026-09-17T16:08:49.016Z
- **Modified:** 2026-10-30T13:20:50.200Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5e260edd28eddc3b92c9f578df3026fd11c710cf; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a9c0ffe5930c97b352f32febfc59a6e6ae6772ee; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 802e2192a9d38027730c2869c67c9131b8c8fe9f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ddf51d74ee9f9857c99477329d80408cedebda61; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 06b376432974fe5f25f2843a8e8438c6a1cf3d50; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 61a2fb25551be0375bc16ef2a70c987dfca26183
- Anyone running Linux 2.6.12

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

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5e260edd28eddc3b92c9f578df3026fd11c710cf; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a9c0ffe5930c97b352f32febfc59a6e6ae6772ee; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 802e2192a9d38027730c2869c67c9131b8c8fe9f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ddf51d74ee9f9857c99477329d80408cedebda61; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 06b376432974fe5f25f2843a8e8438c6a1cf3d50; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 61a2fb25551be0375bc16ef2a70c987dfca26183 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 61a2fb25551be0375bc16ef2a70c987dfca26183 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-90336. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90336.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5e260edd28eddc3b92c9f578df3026fd11c710cf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a9c0ffe5930c97b352f32febfc59a6e6ae6772ee; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 802e2192a9d38027730c2869c67c9131b8c8fe9f; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 5e260edd28eddc3b92c9f578df3026fd11c710cf, Linux 802e2192a9d38027730c2869c67c9131b8c8fe9f, Linux 06b376432974fe5f25f2843a8e8438c6a1cf3d50, Linux 61a2fb25551be0375bc16ef2a70c987dfca26183

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-90336 being exploited?

There is no confirmed exploitation: CVE-2026-90336 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-28).

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

It has no CVSS score yet. Unknown.

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5e260edd28eddc3b92c9f578df3026fd11c710cf; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a9c0ffe5930c97b352f32febfc59a6e6ae6772ee; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 802e2192a9d38027730c2869c67c9131b8c8fe9f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ddf51d74ee9f9857c99477329d80408cedebda61; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 06b376432974fe5f25f2843a8e8438c6a1cf3d50; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 61a2fb25551be0375bc16ef2a70c987dfca26183; Linux 2.6.12.

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

Yes. Fixed in Linux 5e260edd28eddc3b92c9f578df3026fd11c710cf, Linux 802e2192a9d38027730c2869c67c9131b8c8fe9f, Linux 06b376432974fe5f25f2843a8e8438c6a1cf3d50, Linux 61a2fb25551be0375bc16ef2a70c987dfca26183. Upgrade Linux to 61a2fb25551be0375bc16ef2a70c987dfca26183 or later.

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

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/5e260edd28eddc3b92c9f578df3026fd11c710cf>
- other: <https://git.kernel.org/stable/c/a9c0ffe5930c97b352f32febfc59a6e6ae6772ee>
- other: <https://git.kernel.org/stable/c/802e2192a9d38027730c2869c67c9131b8c8fe9f>
- other: <https://git.kernel.org/stable/c/ddf51d74ee9f9857c99477329d80408cedebda61>
- other: <https://git.kernel.org/stable/c/06b376432974fe5f25f2843a8e8438c6a1cf3d50>
- other: <https://git.kernel.org/stable/c/61a2fb25551be0375bc16ef2a70c987dfca26183>

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

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