{"id":"CVE-2026-80956","aliases":["CVE-2026-80956"],"related":[],"kind":"vulnerability","state":"published","title":"dm-pcache: only hand out initialized cache segments","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: only hand out initialized cache segments\n\nget_cache_segment() scans the segment map up to cache->n_segs, the\nphysical device segment count, but cache_segs_init() only initializes\nthe first cache_info->n_segs segments. A crafted image with\ncache_info->n_segs smaller than the device count leaves the remaining\npcache_cache_segment structs zeroed (segment.data == NULL), and the\nallocator can hand one to cache_kset_close(), which writes through the\nreturned segment's data pointer with no NULL check.\n\nBound the allocator's search to cache_info->n_segs so only initialized\nsegments are ever returned. A conforming cache sets n_segs equal to the\ndevice segment count, so this rejects nothing legitimate.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: only hand out initialized cache segments\n\nget_cache_segment() scans the segment map up to cache->n_segs, the\nphysical device segment count, but cache_segs_init() only initializes\nthe first cache_info->n_segs segments. A crafted image with\ncache_info->n_segs smaller than the device count leaves the remaining\npcache_cache_segment structs zeroed (segment.data == NULL), and the\nallocator can hand one to cache_kset_close(), which writes through the\nreturned segment's data pointer with no NULL check.\n\nBound the allocator's search to cache_info->n_segs so only initialized\nsegments are ever returned. A conforming cache sets n_segs equal to the\ndevice segment count, so this rejects nothing legitimate.","source":"cvelist"}],"published":"2026-09-11T19:42:24.541Z","modified":"2026-10-19T09:17:27.067Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","fixed":"83e3116283ed2c6a6a1fa662862a4b4d7d2701a2","status":"affected"},{"type":"git","introduced":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","fixed":"692037ae1a7cfacc2f0c22c6e034c1dfee0e553f","status":"affected"},{"type":"git","introduced":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","fixed":"2df0fc042e299bae3c0f60ea5cd2af9285658e9f","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/83e3116283ed2c6a6a1fa662862a4b4d7d2701a2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/692037ae1a7cfacc2f0c22c6e034c1dfee0e553f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2df0fc042e299bae3c0f60ea5cd2af9285658e9f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80956","url":"https://www.cve.org/CVERecord?id=CVE-2026-80956","licence":"CVE Terms of Use","modified":"2026-10-19T08:45:40.093Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80956","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80956","licence":"Public domain","modified":"2026-10-19T09:17:27.067Z"}],"updatedAt":"2026-11-25T22:59:37.992Z","epss":{"score":0.00198,"percentile":0.09999,"date":"2026-12-01T12:00:22.000Z"}}