# CVE-2026-90315: PCI/sysfs: Add lockdown checks to legacy I/O and memory handlers

> 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.20% (percentile 6, 2026-11-28)
- **Published:** 2026-09-17T16:08:34.218Z
- **Modified:** 2026-10-19T09:19:25.460Z

## Who should check

- Anyone running Linux \>= eb627e17727ebeede70697ae1798688b0d328b54, \< 3556caa31a2bfbc22c11b812fd4ed8851c2d7bff; \>= eb627e17727ebeede70697ae1798688b0d328b54, \< cd07aef510ac6a2873e01f9ddddc5492490b0067; \>= eb627e17727ebeede70697ae1798688b0d328b54, \< 747b9bbbbdfdee51aee2456388f9b94b5086de4d
- Anyone running Linux 5.4

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

- Linux: \>= eb627e17727ebeede70697ae1798688b0d328b54, \< 3556caa31a2bfbc22c11b812fd4ed8851c2d7bff; \>= eb627e17727ebeede70697ae1798688b0d328b54, \< cd07aef510ac6a2873e01f9ddddc5492490b0067; \>= eb627e17727ebeede70697ae1798688b0d328b54, \< 747b9bbbbdfdee51aee2456388f9b94b5086de4d (cvelist)
- Linux: 5.4 (cvelist)

## Mitigation

- Upgrade Linux to 747b9bbbbdfdee51aee2456388f9b94b5086de4d 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-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.
```

## 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.20% chance of exploitation in the next 30 days (as of 2026-11-28).

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

## References

- other: <https://git.kernel.org/stable/c/3556caa31a2bfbc22c11b812fd4ed8851c2d7bff>
- other: <https://git.kernel.org/stable/c/cd07aef510ac6a2873e01f9ddddc5492490b0067>
- other: <https://git.kernel.org/stable/c/747b9bbbbdfdee51aee2456388f9b94b5086de4d>

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

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