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.
Published: 2026-09-24
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Immediate Patch
AI Analysis

Impact

The Linux kernel’s PCI subsystem contains a flaw in the __resource_resize_store() routine, which exposes the resourceN_resize sysfs attribute. This routine resizes a device’s Base Address Register without enforcing that the caller has the CAP_SYS_ADMIN capability, relying only on file permissions. An attacker with write access to this sysfs entry can therefore alter PCI configuration, potentially destabilize drivers or disrupt device communication. The change offers a clear privilege escalation path for local users or attackers who can gain local file write rights.

Affected Systems

Any system running a Linux kernel version that lacks the CAP_SYS_ADMIN check in __resource_resize_store() is vulnerable. The issue is present in the generic kernel code base and applies to all distributions that ship the affected kernel branch until the fix is applied.

Risk and Exploitability

The CVSS score of 7.0 indicates high severity, while the absence of a privilege check allows local elevation. The EPSS score of < 1% indicates a very low but non-zero likelihood of exploitation; however, the attack vector is local and does not network access. The vulnerability is not listed in the CISA KEV catalog. An attacker would need the ability to write to the resourceN_resize sysfs file, which normally requires root, but compromised permissions or misconfiguration could enable the exploitation. Overall risk is elevated for systems that have not yet applied the patch.

Generated by OpenCVE AI on October 1, 2026 at 13:50 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the CAP_SYS_ADMIN check for __resource_resize_store(), or backport the relevant commit to the current kernel.
  • If an immediate kernel upgrade is not possible, limit write access to the resourceN_resize files by tightening file permissions or enforcing a mandatory access control policy that blocks non‑root writes.
  • Enable audit logging or SELinux/AppArmor rules to monitor and alert on attempts to modify PCI BAR resources, so that any potentially malicious activity is detected promptly.

Generated by OpenCVE AI on October 1, 2026 at 13:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Wed, 21 Oct 2026 13:15:00 +0000


Thu, 01 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1220
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285

Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title PCI/sysfs: Add CAP_SYS_ADMIN check to __resource_resize_store()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-21T12:52:58.483Z

Reserved: 2026-09-24T16:01:01.151Z

Link: CVE-2026-97505

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T17:17:28.310

Modified: 2026-10-21T13:21:11.390

Link: CVE-2026-97505

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-24T00:00:00Z

Links: CVE-2026-97505 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T14:00:10Z

Weaknesses
  • CWE-1220

    Insufficient Granularity of Access Control