Shellfeed logo Shellfeed

CVE-2026-97505 · UNKNOWN

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 4.9).

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [91fa127794ac1c48069479b9d45eb4c7378c0e30 – 0be4e21287e1e4865b9de498e1acc65b873f52f5]
  • Linux Kernel [6.1.0 – 6.1.191] [6.2.0 – 6.6.160] [6.7.0 – 6.12.111] [6.13.0 – 6.18.53]

References