Bug 2536264 (CVE-2026-90315) - CVE-2026-90315 kernel: PCI/sysfs: Add lockdown checks to legacy I/O and memory handlers
Summary: CVE-2026-90315 kernel: PCI/sysfs: Add lockdown checks to legacy I/O and memor...
Keywords:
Status: NEW
Alias: CVE-2026-90315
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-17 17:12 UTC by OSIDB Bzimport
Modified: 2026-11-11 11:46 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:95367 0 None None None 2026-11-04 23:53:36 UTC
Red Hat Product Errata RHSA-2026:97873 0 None None None 2026-11-10 22:14:44 UTC
Red Hat Product Errata RHSA-2026:98638 0 None None None 2026-11-11 11:46:04 UTC

Description OSIDB Bzimport 2026-09-17 17:12:12 UTC
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]

Comment 3 Jon Orris 2026-11-04 23:53:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:95367 https://access.redhat.com/errata/RHSA-2026:95367

Comment 4 errata-xmlrpc 2026-11-10 22:14:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:97873 https://access.redhat.com/errata/RHSA-2026:97873

Comment 5 errata-xmlrpc 2026-11-11 11:46:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:98638 https://access.redhat.com/errata/RHSA-2026:98638


Note You need to log in before you can comment on or make changes to this bug.