CVE-2026-90315
Last modified
CVE-2026-90315 is a vulnerability of currently unknown severity. 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].
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= eb627e17727ebeede70697ae1798688b0d328b54, < cd07aef510ac6a2873e01f9ddddc5492490b0067; >= eb627e17727ebeede70697ae1798688b0d328b54, < 747b9bbbbdfdee51aee2456388f9b94b5086de4d |
| Linux | Linux | 5.4 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-90315?
How severe is CVE-2026-90315?
How do I fix CVE-2026-90315?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-9031An input validation vulnerability exists in the HTTP-WRITEOE…6.8
- CVE-2026-90310Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-90311In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90312In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-90313In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90314In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90316In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-90317In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-90318In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90319In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90320In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-90321In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-90315?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
