CVE-2026-97505
PCI/sysfs: Add CAP_SYS_ADMIN check to __resource_resize_store()
Check your servers for CVE-2026-97505
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-97505 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.33% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 91fa127794ac1c48069479b9d45eb4c7378c0e30, before 0be4e21287e1e4865b9de498e1acc65b873f52f5 affected from 91fa127794ac1c48069479b9d45eb4c7378c0e30, before d02dd7ce8e52b66b7d3b6eca2a7d81e7f5b10a62 affected from 91fa127794ac1c48069479b9d45eb4c7378c0e30, before b722a607f858b9cd036075ea0efad553fb98e982 affected from 91fa127794ac1c48069479b9d45eb4c7378c0e30, before cbf0628c0b7db86c5ce36451f088101546acbf1d affected from 91fa127794ac1c48069479b9d45eb4c7378c0e30, before 25ec7f57deceec633f27bc93b615f951e2ade814
Other versions: unaffected
|
| Linux |
affected 6.1 unaffected before 6.1 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-97505 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97505
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-97505
trivy image --scanners vuln IMAGE | grep CVE-2026-97505
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/0be4e21287e1e4865b9de498e1acc65b873f52f5 git.kernel.org
- https://git.kernel.org/stable/c/d02dd7ce8e52b66b7d3b6eca2a7d81e7f5b10a62 git.kernel.org
- https://git.kernel.org/stable/c/b722a607f858b9cd036075ea0efad553fb98e982 git.kernel.org
- https://git.kernel.org/stable/c/cbf0628c0b7db86c5ce36451f088101546acbf1d git.kernel.org
- https://git.kernel.org/stable/c/25ec7f57deceec633f27bc93b615f951e2ade814 git.kernel.org
Source: the record CVE-2026-97505 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse