All vulnerabilities
CVE-2026-97505

Linux: PCI/sysfs: Add CAP_SYS_ADMIN check to __resource_resize_store()

Linux LinuxOperating systems
CVSS
NoneNot scored
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.16%Chance of exploitation activity in the next 30 days, higher than 4% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in25ec7f57deceec633f27bc93b615f951e2ade814Fixed versionCVE List
Published24 Sep 2026Updated 21 Oct 2026CVE List

What fixes it

  • 25ec7f57deceec633f27bc93b615f951e2ade814LinuxCVE List

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

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.

Text from CVE List

Affected versions 10

  • Linuxaffected: 91fa127794ac1c48069479b9d45eb4c7378c0e30 before d02dd7ce8e52b66b7d3b6eca2a7d81e7f5b10a62CVE List
  • Linuxaffected: 91fa127794ac1c48069479b9d45eb4c7378c0e30 before b722a607f858b9cd036075ea0efad553fb98e982CVE List
  • Linuxaffected: 91fa127794ac1c48069479b9d45eb4c7378c0e30 before cbf0628c0b7db86c5ce36451f088101546acbf1dCVE List
  • Linuxaffected: 91fa127794ac1c48069479b9d45eb4c7378c0e30 before 25ec7f57deceec633f27bc93b615f951e2ade814CVE List
  • Linuxaffected: 6.1CVE List
  • Linuxunaffected: all versions before 6.1CVE List
  • Linuxunaffected: 6.6.160 through 6.6.*CVE List
  • Linuxunaffected: 6.12.111 through 6.12.*CVE List
  • Linuxunaffected: 6.18.53 through 6.18.*CVE List
  • Linuxunaffected: 7.2CVE List

References 4