dm-pcache: detect a cycle in the last-kset chain during replay
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.50, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 · fixed in 663ee2f3824a505b983162de44134e789f8230da; From 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 · fixed in 5311dfc5cd70edccd110257e3f30b2c1dcd3768d; From 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 · fixed in 16c3b3a326e70f246a605b3dc27b7f83ba4743e3
- Linux Linux
6.18
- KernelLinux
From 6.18.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4