CVE-2026-97505 PCI/sysfs: Add CAP_SYS_ADMIN check to __resource_resize_store()

Not scored Published Updated

Unprivileged local users can resize PCI BARs via sysfs without CAP_SYS_ADMIN, potentially causing driver disruption or privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-97505?

CVE-2026-97505 is a missing authorization vulnerability in Linux, published on 24 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2026-97505?

How do I fix CVE-2026-97505?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-97505 being exploited?

There is no known exploitation of CVE-2026-97505 in the wild and no public exploit code.

Sources

Also known as AZL-103724, BELL-CVE-2026-97505, DEBIAN-CVE-2026-97505, GHSA-6xm8-36mh-mxj7, UBUNTU-CVE-2026-97505.

Is CVE-2026-97505 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free