{"id":"CVE-2026-80962","aliases":["CVE-2026-80962"],"related":[],"kind":"vulnerability","state":"published","title":"dm-pcache: validate geometry fields from on-disk cache_info","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: validate geometry fields from on-disk cache_info\n\ncache_segs_init() iterates cache_info->n_segs times indexing\ncache->segments[], which is sized to the cache device geometry, and\nget_seg_id() takes each segment id from the on-media cache_info and the\nper-segment next_seg link. Both come from cache device metadata that is\nonly CRC-protected with a fixed public seed, so whoever supplies the\ncache device on a table load (CAP_SYS_ADMIN) controls them: an oversized\nn_segs or an out-of-range id drives an out-of-bounds access of\ncache->segments[] and a wild CACHE_DEV_SEGMENT() pointer into the device\nmapping -- an out-of-bounds read and write from on-disk data.\n\nReject an n_segs that exceeds the device segment count and a segment id\nthat is out of range before either is used. Valid metadata is unaffected.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: validate geometry fields from on-disk cache_info\n\ncache_segs_init() iterates cache_info->n_segs times indexing\ncache->segments[], which is sized to the cache device geometry, and\nget_seg_id() takes each segment id from the on-media cache_info and the\nper-segment next_seg link. Both come from cache device metadata that is\nonly CRC-protected with a fixed public seed, so whoever supplies the\ncache device on a table load (CAP_SYS_ADMIN) controls them: an oversized\nn_segs or an out-of-range id drives an out-of-bounds access of\ncache->segments[] and a wild CACHE_DEV_SEGMENT() pointer into the device\nmapping -- an out-of-bounds read and write from on-disk data.\n\nReject an n_segs that exceeds the device segment count and a segment id\nthat is out of range before either is used. Valid metadata is unaffected.","source":"cvelist"}],"published":"2026-09-11T19:42:28.500Z","modified":"2026-10-19T09:17:27.750Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","fixed":"ab5dcde6fa96bc115b85f3621c60e39c66229a90","status":"affected"},{"type":"git","introduced":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","fixed":"3e19172089ec81132a8a48e802b1034a744209f4","status":"affected"},{"type":"git","introduced":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","fixed":"32d1809da31094ef76fd98dc1f1a8b55ca1295dd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ab5dcde6fa96bc115b85f3621c60e39c66229a90","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3e19172089ec81132a8a48e802b1034a744209f4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32d1809da31094ef76fd98dc1f1a8b55ca1295dd","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80962","url":"https://www.cve.org/CVERecord?id=CVE-2026-80962","licence":"CVE Terms of Use","modified":"2026-10-19T08:45:46.216Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80962","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80962","licence":"Public domain","modified":"2026-10-19T09:17:27.750Z"}],"updatedAt":"2026-11-25T22:59:37.993Z","epss":{"score":0.00162,"percentile":0.05576,"date":"2026-12-01T12:00:22.000Z"}}