CVE-2026-90315
PCI/sysfs: Add lockdown checks to legacy I/O and memory handlers
Mitigation
- Upgrade Linux to 747b9bbbbdfdee51aee2456388f9b94b5086de4d or later.
Who should check
- Anyone running Linux >= eb627e17727ebeede70697ae1798688b0d328b54, < 3556caa31a2bfbc22c11b812fd4ed8851c2d7bff; >= eb627e17727ebeede70697ae1798688b0d328b54, < cd07aef510ac6a2873e01f9ddddc5492490b0067; >= eb627e17727ebeede70697ae1798688b0d328b54, < 747b9bbbbdfdee51aee2456388f9b94b5086de4d
- Anyone running Linux 5.4
Vulnerability facts
- Affected
- Linux >= eb627e17727ebeede70697ae1798688b0d328b54, < 3556caa31a2bfbc22c11b812fd4ed8851c2d7bff; >= eb627e17727ebeede70697ae1798688b0d328b54, < cd07aef510ac6a2873e01f9ddddc5492490b0067; >= eb627e17727ebeede70697ae1798688b0d328b54, < 747b9bbbbdfdee51aee2456388f9b94b5086de4d; Linux 5.4
- Fixed in
- Linux 3556caa31a2bfbc22c11b812fd4ed8851c2d7bff, Linux 747b9bbbbdfdee51aee2456388f9b94b5086de4d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: PCI/sysfs: Add lockdown checks to legacy I/O and memory handlers Currently, the legacy I/O and memory sysfs handlers do not check security_locked_down(LOCKDOWN_PCI_ACCESS), leaving the legacy_io and legacy_mem files unprotected when the kernel is locked down. Commit eb627e17727e ("PCI: Lock down BAR access when the kernel is locked down") added the check to pci_write_config(), pci_mmap_resource(), and pci_write_resource_io() to prevent userspace from programming DMA-capable hardware that could be used to modify kernel code, but did not cover the legacy handlers. As a result, root can still write arbitrary I/O ports and map the legacy I/O and memory spaces while the kernel is locked down, which is the same capability the lockdown is meant to remove. Add the same check to pci_write_legacy_io(), pci_mmap_legacy_mem(), and pci_mmap_legacy_io(). These generic handlers cover both architectures that define HAVE_PCI_LEGACY (such as Alpha and PowerPC). [bhelgaas: add Link]
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= eb627e17727ebeede70697ae1798688b0d328b54, < 3556caa31a2bfbc22c11b812fd4ed8851c2d7bff; >= eb627e17727ebeede70697ae1798688b0d328b54, < cd07aef510ac6a2873e01f9ddddc5492490b0067; >= eb627e17727ebeede70697ae1798688b0d328b54, < 747b9bbbbdfdee51aee2456388f9b94b5086de4d | — | cvelist |
| Linux | 5.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-90315. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-90315.md Affected: Linux >= eb627e17727ebeede70697ae1798688b0d328b54, < 3556caa31a2bfbc22c11b812fd4ed8851c2d7bff; >= eb627e17727ebeede70697ae1798688b0d328b54, < cd07aef510ac6a2873e01f9ddddc5492490b0067; >= eb627e17727ebeede70697ae1798688b0d328b54, < 747b9bbbbdfdee51aee2456388f9b94b5086de4d; Linux 5.4 Fixed in: Linux 3556caa31a2bfbc22c11b812fd4ed8851c2d7bff, Linux 747b9bbbbdfdee51aee2456388f9b94b5086de4d 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.
References
FAQ
Is CVE-2026-90315 being exploited?
There is no confirmed exploitation: CVE-2026-90315 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-90315?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-90315?
Linux >= eb627e17727ebeede70697ae1798688b0d328b54, < 3556caa31a2bfbc22c11b812fd4ed8851c2d7bff; >= eb627e17727ebeede70697ae1798688b0d328b54, < cd07aef510ac6a2873e01f9ddddc5492490b0067; >= eb627e17727ebeede70697ae1798688b0d328b54, < 747b9bbbbdfdee51aee2456388f9b94b5086de4d; Linux 5.4.
Is there a fix for CVE-2026-90315?
Yes. Fixed in Linux 3556caa31a2bfbc22c11b812fd4ed8851c2d7bff, Linux 747b9bbbbdfdee51aee2456388f9b94b5086de4d. Upgrade Linux to 747b9bbbbdfdee51aee2456388f9b94b5086de4d or later.
How do I check if I'm affected by CVE-2026-90315?
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.