CVE-2026-90315

published 17 Sep 2026 · updated 17 Nov 2026

PCI/sysfs: Add lockdown checks to legacy I/O and memory handlers

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3556caa31a2bfbc22c11b812fd4ed8851c2d7bff, Kernel 747b9bbbbdfdee51aee2456388f9b94b5086de4d, Kernel cd07aef510ac6a2873e01f9ddddc5492490b0067 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.4, >=eb627e17727ebeede70697ae1798688b0d328b54 <3556caa31a2bfbc22c11b812fd4ed8851c2d7bff, >=eb627e17727ebeede70697ae1798688b0d328b54 <747b9bbbbdfdee51aee2456388f9b94b5086de4d, >=eb627e17727ebeede70697ae1798688b0d328b54 <cd07aef510ac6a2873e01f9ddddc5492490b00673556caa31a2bfbc22c11b812fd4ed8851c2d7bff, 747b9bbbbdfdee51aee2456388f9b94b5086de4d, cd07aef510ac6a2873e01f9ddddc5492490b0067
linux-kernel: Kernel>=5.4.0 <6.18.57, >=6.19.0 <7.2.66.18.57, 7.2.6

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-90315 severity on Zeptric[![CVE-2026-90315](https://zeptric.io/badge/cve/CVE-2026-90315.svg)](https://zeptric.io/cve/CVE-2026-90315)