# CVE-2026-80960: dm-pcache: validate on-media seg\_num against the cache device size

> 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-11T19:42:27.182Z
- **Modified:** 2026-10-19T09:17:27.510Z

## Who should check

- Anyone running Linux \>= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, \< 91b93fe5cf4d62d5ecc642a6c8f15a3c11b00e3c; \>= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, \< e889c0ee81165fc90aad2979b51f930f77895703; \>= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, \< 62d92e45abe9e087370f9fc5d876b95673aced34
- Anyone running Linux 6.18

## Description

In the Linux kernel, the following vulnerability has been resolved:

dm-pcache: validate on-media seg\_num against the cache device size

seg\_num is read from the crc32c-only superblock, so whoever supplies the
cache device on a table load (CAP\_SYS\_ADMIN) controls it. It sizes
cache-\>segments\[\] and is the value every later on-media segment id is
bounded against, yet it is never checked against the device. Because
cache\_dev-\>mapping is the direct map of the pmem, CACHE\_DEV\_SEGMENT() for
a segment id past the device resolves to ordinary kernel memory beyond
the mapping; a new-cache init reaching such an id has cache\_seg\_init() -\>
cache\_dev\_zero\_range() memset() 12 KiB over that memory -- an
out-of-bounds write into the kernel heap at table load. A zero seg\_num
makes the segment allocations ZERO\_SIZE\_PTR.

Reject a seg\_num that is zero, larger than the device can hold, or larger
than PCACHE\_CACHE\_SEGS\_MAX before it is used.

## Affected and fixed versions

- Linux: \>= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, \< 91b93fe5cf4d62d5ecc642a6c8f15a3c11b00e3c; \>= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, \< e889c0ee81165fc90aad2979b51f930f77895703; \>= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, \< 62d92e45abe9e087370f9fc5d876b95673aced34 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 62d92e45abe9e087370f9fc5d876b95673aced34 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-80960. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80960.md
Affected: Linux >= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < 91b93fe5cf4d62d5ecc642a6c8f15a3c11b00e3c; >= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < e889c0ee81165fc90aad2979b51f930f77895703; >= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < 62d92e45abe9e087370f9fc5d876b95673aced34; Linux 6.18
Fixed in: Linux 91b93fe5cf4d62d5ecc642a6c8f15a3c11b00e3c, Linux 62d92e45abe9e087370f9fc5d876b95673aced34

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-80960 being exploited?

There is no confirmed exploitation: CVE-2026-80960 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-80960?

It has no CVSS score yet. Unknown.

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

Linux \>= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, \< 91b93fe5cf4d62d5ecc642a6c8f15a3c11b00e3c; \>= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, \< e889c0ee81165fc90aad2979b51f930f77895703; \>= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, \< 62d92e45abe9e087370f9fc5d876b95673aced34; Linux 6.18.

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

Yes. Fixed in Linux 91b93fe5cf4d62d5ecc642a6c8f15a3c11b00e3c, Linux 62d92e45abe9e087370f9fc5d876b95673aced34. Upgrade Linux to 62d92e45abe9e087370f9fc5d876b95673aced34 or later.

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

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/91b93fe5cf4d62d5ecc642a6c8f15a3c11b00e3c>
- other: <https://git.kernel.org/stable/c/e889c0ee81165fc90aad2979b51f930f77895703>
- other: <https://git.kernel.org/stable/c/62d92e45abe9e087370f9fc5d876b95673aced34>

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

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