{"id":"CVE-2026-80957","state":"PUBLISHED","title":"dm-pcache: detect a cycle in the last-kset chain during replay","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: detect a cycle in the last-kset chain during replay\n\ncache_replay() follows the on-media last-kset chain by next_cache_seg_id\nwith no cond_resched(). A forged chain that points back into a segment it\nhas already visited makes the replay loop follow it forever.\n\nCap the last-kset hops at cache->n_segs; a valid chain visits each segment\nat most once.","publishedAt":"2026-09-11T19:42:25.194Z","updatedAt":"2026-10-19T08:45:41.225Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"663ee2f3824a505b983162de44134e789f8230da","versionType":"git"},{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"5311dfc5cd70edccd110257e3f30b2c1dcd3768d","versionType":"git"},{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"16c3b3a326e70f246a605b3dc27b7f83ba4743e3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-pcache/cache_key.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-pcache/cache_key.c"]}],"references":["https://git.kernel.org/stable/c/663ee2f3824a505b983162de44134e789f8230da","https://git.kernel.org/stable/c/5311dfc5cd70edccd110257e3f30b2c1dcd3768d","https://git.kernel.org/stable/c/16c3b3a326e70f246a605b3dc27b7f83ba4743e3"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/80xxx/CVE-2026-80957.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80957","state":"PUBLISHED","datePublished":"2026-09-11T19:42:25.194Z","dateUpdated":"2026-10-19T08:45:41.225Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-26T14:34:25.804Z"},"containers":{"cna":{"title":"dm-pcache: detect a cycle in the last-kset chain during replay","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: detect a cycle in the last-kset chain during replay\n\ncache_replay() follows the on-media last-kset chain by next_cache_seg_id\nwith no cond_resched(). A forged chain that points back into a segment it\nhas already visited makes the replay loop follow it forever.\n\nCap the last-kset hops at cache->n_segs; a valid chain visits each segment\nat most once."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"663ee2f3824a505b983162de44134e789f8230da","versionType":"git"},{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"5311dfc5cd70edccd110257e3f30b2c1dcd3768d","versionType":"git"},{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"16c3b3a326e70f246a605b3dc27b7f83ba4743e3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-pcache/cache_key.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-pcache/cache_key.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/663ee2f3824a505b983162de44134e789f8230da"},{"url":"https://git.kernel.org/stable/c/5311dfc5cd70edccd110257e3f30b2c1dcd3768d"},{"url":"https://git.kernel.org/stable/c/16c3b3a326e70f246a605b3dc27b7f83ba4743e3"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:45:41.225Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.50"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.2.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}