{"id":"CVE-2026-97505","summary":"PCI/sysfs: Add CAP_SYS_ADMIN check to __resource_resize_store()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI/sysfs: Add CAP_SYS_ADMIN check to __resource_resize_store()\n\nCurrently, the __resource_resize_store() allows writing to the\nresourceN_resize sysfs attribute to change a BAR's size without checking\nfor capabilities, currently relying only on the file access check.\n\nResizing a BAR modifies PCI device configuration and can disrupt active\ndrivers.  After the upcoming conversion to static attributes, it will also\ntrigger resource file updates via sysfs_update_groups().\n\nAdd a CAP_SYS_ADMIN check to prevent unprivileged users from performing BAR\nresize operations.","modified":"2026-11-15T17:28:08.561730510Z","published":"2026-09-24T16:04:54.215Z","related":["SUSE-SU-2026:24181-1","SUSE-SU-2026:24182-1","SUSE-SU-2026:24315-1","SUSE-SU-2026:24316-1","SUSE-SU-2026:24643-1","SUSE-SU-2026:24648-1","SUSE-SU-2026:24651-1","SUSE-SU-2026:24662-1","SUSE-SU-2026:24705-1","SUSE-SU-2026:4640-1","SUSE-SU-2026:4706-1","openSUSE-SU-2026:22266-1","openSUSE-SU-2026:22307-1","openSUSE-SU-2026:22309-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97505.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0be4e21287e1e4865b9de498e1acc65b873f52f5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/25ec7f57deceec633f27bc93b615f951e2ade814"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b722a607f858b9cd036075ea0efad553fb98e982"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cbf0628c0b7db86c5ce36451f088101546acbf1d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d02dd7ce8e52b66b7d3b6eca2a7d81e7f5b10a62"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97505.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97505"},{"type":"PACKAGE","url":"https://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":"0be4e21287e1e4865b9de498e1acc65b873f52f5"},{"fixed":"d02dd7ce8e52b66b7d3b6eca2a7d81e7f5b10a62"},{"fixed":"b722a607f858b9cd036075ea0efad553fb98e982"},{"fixed":"cbf0628c0b7db86c5ce36451f088101546acbf1d"},{"fixed":"25ec7f57deceec633f27bc93b615f951e2ade814"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97505.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97505.json"}}],"schema_version":"1.9.2"}