CVE-2026-97505
Received Received - Intake

Linux Kernel PCI BAR Resize Privilege Escalation

Vulnerability report for CVE-2026-97505, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-24

Last updated on: 2026-09-24

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-24
Last Modified
2026-09-24
Generated
2026-09-24
AI Q&A
2026-09-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a missing capability check in the __resource_resize_store() function. It allows writing to the resourceN_resize sysfs attribute to change a PCI device's Base Address Register (BAR) size without proper privileges. The fix adds a CAP_SYS_ADMIN check to prevent unauthorized users from performing BAR resize operations.

Detection Guidance

This vulnerability can be detected by checking for unauthorized attempts to modify PCI BAR sizes via sysfs. Look for CAP_SYS_ADMIN checks failing in kernel logs or sysfs writes to resourceN_resize attributes. No specific commands are provided in the context.

Impact Analysis

An unprivileged user could exploit this to modify PCI device configurations, potentially disrupting active drivers or causing system instability. This could lead to denial of service or unexpected behavior in systems relying on PCI devices.

Mitigation Strategies

Apply the latest Linux kernel patches to ensure the CAP_SYS_ADMIN check is enforced in __resource_resize_store(). Monitor sysfs writes to resourceN_resize and restrict access to privileged users only.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-97505. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart