Bug 2540503 (CVE-2026-97505) - CVE-2026-97505 kernel: PCI/sysfs: Add CAP_SYS_ADMIN check to __resource_resize_store()
Summary: CVE-2026-97505 kernel: PCI/sysfs: Add CAP_SYS_ADMIN check to __resource_resiz...
Keywords:
Status: NEW
Alias: CVE-2026-97505
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-24 17:03 UTC by OSIDB Bzimport
Modified: 2026-09-28 15:25 UTC (History)
17 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-24 17:03:16 UTC
In the Linux kernel, the following vulnerability has been resolved:

PCI/sysfs: Add CAP_SYS_ADMIN check to __resource_resize_store()

Currently, the __resource_resize_store() allows writing to the
resourceN_resize sysfs attribute to change a BAR's size without checking
for capabilities, currently relying only on the file access check.

Resizing a BAR modifies PCI device configuration and can disrupt active
drivers.  After the upcoming conversion to static attributes, it will also
trigger resource file updates via sysfs_update_groups().

Add a CAP_SYS_ADMIN check to prevent unprivileged users from performing BAR
resize operations.


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