# CVE-2026-80957: dm-pcache: detect a cycle in the last-kset chain during replay

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-11T19:42:25.194Z
- Modified: 2026-10-19T09:17:27.167Z
- Assigned by: Linux

## Description

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

dm-pcache: detect a cycle in the last-kset chain during replay

cache_replay() follows the on-media last-kset chain by next_cache_seg_id
with no cond_resched(). A forged chain that points back into a segment it
has already visited makes the replay loop follow it forever.

Cap the last-kset hops at cache->n_segs; a valid chain visits each segment
at most once.

(As written by CVE List.)

## Affected

- Linux Linux: from 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 before 663ee2f3824a505b983162de44134e789f8230da; from 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 before 5311dfc5cd70edccd110257e3f30b2c1dcd3768d; from 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 before 16c3b3a326e70f246a605b3dc27b7f83ba4743e3; 6.18 (not affected: before 6.18; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/663ee2f3824a505b983162de44134e789f8230da>
- <https://git.kernel.org/stable/c/5311dfc5cd70edccd110257e3f30b2c1dcd3768d>
- <https://git.kernel.org/stable/c/16c3b3a326e70f246a605b3dc27b7f83ba4743e3>

## Sources

- CVE List: [CVE-2026-80957](https://www.cve.org/CVERecord?id=CVE-2026-80957), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-80957](https://nvd.nist.gov/vuln/detail/CVE-2026-80957), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-80957 · Whole record: https://cve.day/CVE-2026-80957.json · Rebuilt by cve.day 2026-11-25T22:59:37.992Z
