CVE-2026-97505 is a vulnerability in Linux Kernel
Published on September 24, 2026
PCI/sysfs: Add CAP_SYS_ADMIN check to __resource_resize_store()
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.
Products Associated with CVE-2026-97505
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and below b722a607f858b9cd036075ea0efad553fb98e982 is affected.
- Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and below cbf0628c0b7db86c5ce36451f088101546acbf1d is affected.
- Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and below 25ec7f57deceec633f27bc93b615f951e2ade814 is affected.
- Before 6.12.111 is affected.
- Before 6.18.53 is affected.
- Version 6.12.111, <= 6.12.* is unaffected.
- Version 6.18.53, <= 6.18.* is unaffected.
- Version 7.2, <= * is unaffected.