{"id":"CVE-2026-80961","published":"2026-09-11T19:42:27Z","modified":"2026-10-19T08:45:45Z","title":"dm-pcache: validate kset key_num and intra-segment bounds","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: validate kset key_num and intra-segment bounds\n\nTwo more fields decoded from the cache device go unbounded. The kset\nkey_num drives cache_kset_crc() and the replay loop in cache_replay(),\nthe writeback worker and the GC worker, but only the magic and a\nfixed-seed CRC are checked first, so a non-last kset whose key_num exceeds\nthe PCACHE_KSET_KEYS_MAX buffer reads past its end before the CRC compare.\nA key's intra-segment offset and length in cache_key_decode() are taken\nverbatim, so a key running past its segment is replayed into the cache\ntree and the data CRC check and every later read hit then copy adjacent\npersistent memory into the caller's bio -- an out-of-bounds read that\nleaks to user space. Both fields are controlled by whoever supplies the\ncache device (CAP_SYS_ADMIN); the CRC seed is public.\n\nAdd kset_onmedia_valid() to bound key_num before any kset read, and\nreject a key whose offset plus length, computed in 64 bits, exceeds the\nsegment data_size. Valid metadata is unaffected.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00173,"percentile":0.03967,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d8caf96040a06096276ab72f5e1e8547c014c564","tags":[]},{"url":"https://git.kernel.org/stable/c/5ac38f4b4862fad6e7270fde5c3356a822ce74ca","tags":[]},{"url":"https://git.kernel.org/stable/c/f11deb032fd84081e7831cffcba895d893054a22","tags":[]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":0.79},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < d8caf96040a06096276ab72f5e1e8547c014c564",">= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < 5ac38f4b4862fad6e7270fde5c3356a822ce74ca",">= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < f11deb032fd84081e7831cffcba895d893054a22"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"euvd":{"id":"EUVD-2026-76284","exploited":false,"provenance":"source"}}