CVE-2026-97505

Source
https://cve.org/CVERecord?id=CVE-2026-97505
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97505.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-97505
Downstream
Related
Published
2026-09-24T16:04:54Z
Modified
2026-10-14T11:26:53Z
Summary
PCI/sysfs: Add CAP_SYS_ADMIN check to __resource_resize_store()
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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97505.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
91fa127794ac1c48069479b9d45eb4c7378c0e30
Fixed
b722a607f858b9cd036075ea0efad553fb98e982
Fixed
cbf0628c0b7db86c5ce36451f088101546acbf1d
Fixed
25ec7f57deceec633f27bc93b615f951e2ade814

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97505.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.12.111
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.53

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97505.json"