CVE-2026-97505

PCI/sysfs: Add CAP_SYS_ADMIN check to __resource_resize_store()

N/A
Published: September 24, 2026 at 04:04 PM UTC
Updated: October 30, 2026 at 01:21 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.191fa127794ac1c48069479b9d45eb4c7378c0e30
Vendor states this is fixed in 25ec7f57deceec633f27bc93b615f951e2ade814 (fixed)
Vendor states this is fixed in b722a607f858b9cd036075ea0efad553fb98e982 (fixed)
Vendor states this is fixed in cbf0628c0b7db86c5ce36451f088101546acbf1d (fixed)
Vendor states this is fixed in 6.1 (unaffected)
Vendor states this is fixed in 6.12.111 (unaffected)
Vendor states this is fixed in 6.18.53 (unaffected)
Vendor states this is fixed in 6.6.160 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card