# CVE-2026-97505: PCI/sysfs: Add CAP\_SYS\_ADMIN check to \_\_resource\_resize\_store()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-24T16:04:54.215Z
- **Modified:** 2026-10-30T13:21:05.913Z

## Who should check

- Anyone running Linux \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< 0be4e21287e1e4865b9de498e1acc65b873f52f5; \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< d02dd7ce8e52b66b7d3b6eca2a7d81e7f5b10a62; \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< b722a607f858b9cd036075ea0efad553fb98e982; \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< cbf0628c0b7db86c5ce36451f088101546acbf1d; \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< 25ec7f57deceec633f27bc93b615f951e2ade814
- Anyone running Linux 6.1

## 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.

## Affected and fixed versions

- Linux: \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< 0be4e21287e1e4865b9de498e1acc65b873f52f5; \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< d02dd7ce8e52b66b7d3b6eca2a7d81e7f5b10a62; \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< b722a607f858b9cd036075ea0efad553fb98e982; \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< cbf0628c0b7db86c5ce36451f088101546acbf1d; \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< 25ec7f57deceec633f27bc93b615f951e2ade814 (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 25ec7f57deceec633f27bc93b615f951e2ade814 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97505. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97505.md
Affected: Linux >= 91fa127794ac1c48069479b9d45eb4c7378c0e30, < 0be4e21287e1e4865b9de498e1acc65b873f52f5; >= 91fa127794ac1c48069479b9d45eb4c7378c0e30, < d02dd7ce8e52b66b7d3b6eca2a7d81e7f5b10a62; >= 91fa127794ac1c48069479b9d45eb4c7378c0e30, < b722a607f858b9cd036075ea0efad553fb98e982; >= 91fa127794ac1c48069479b…
Fixed in: Linux 0be4e21287e1e4865b9de498e1acc65b873f52f5, Linux 25ec7f57deceec633f27bc93b615f951e2ade814

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97505 being exploited?

There is no confirmed exploitation: CVE-2026-97505 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97505?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97505?

Linux \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< 0be4e21287e1e4865b9de498e1acc65b873f52f5; \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< d02dd7ce8e52b66b7d3b6eca2a7d81e7f5b10a62; \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< b722a607f858b9cd036075ea0efad553fb98e982; \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< cbf0628c0b7db86c5ce36451f088101546acbf1d; \>= 91fa127794ac1c48069479b9d45eb4c7378c0e30, \< 25ec7f57deceec633f27bc93b615f951e2ade814; Linux 6.1.

### Is there a fix for CVE-2026-97505?

Yes. Fixed in Linux 0be4e21287e1e4865b9de498e1acc65b873f52f5, Linux 25ec7f57deceec633f27bc93b615f951e2ade814. Upgrade Linux to 25ec7f57deceec633f27bc93b615f951e2ade814 or later.

### How do I check if I'm affected by CVE-2026-97505?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/0be4e21287e1e4865b9de498e1acc65b873f52f5>
- other: <https://git.kernel.org/stable/c/d02dd7ce8e52b66b7d3b6eca2a7d81e7f5b10a62>
- other: <https://git.kernel.org/stable/c/b722a607f858b9cd036075ea0efad553fb98e982>
- other: <https://git.kernel.org/stable/c/cbf0628c0b7db86c5ce36451f088101546acbf1d>
- other: <https://git.kernel.org/stable/c/25ec7f57deceec633f27bc93b615f951e2ade814>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97505>

HTML: <https://flawdb.com/CVE-2026-97505> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97505>
