{"id":"CVE-2026-80955","published":"2026-09-11T19:42:23Z","modified":"2026-10-19T08:45:39Z","title":"dm-pcache: fix use-after-free and invalid seg operations in kset_replay()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: fix use-after-free and invalid seg operations in kset_replay()\n\nIn kset_replay, when key->seg_gen is stale (key->seg_gen <\nkey->cache_pos.cache_seg->gen), cache_key_put(key) is called but then\nkey->cache_pos.cache_seg is accessed as the argument to cache_seg_get().\nThis is a use-after-free on the freed key memory. Although mempool\nrecycled memory is not immediately reclaimed or overwritten in practice,\nthis is still a potential UAF bug.\n\nAdditionally, for expired invalid keys, setting the cache->seg_map bit\nand calling cache_seg_get() is unreasonable since the corresponding\nsegment data is no longer valid.\n\nFix both issues by moving cache_seg_get() and __set_bit() after the\ngen check, so they only execute for valid keys, and using continue to\nskip invalid keys.","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.00168,"percentile":0.06163,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/1894fc7a3bab90143dcd26ef8ee27040ef4a7501","tags":[]},{"url":"https://git.kernel.org/stable/c/f39a3e9cc5946473e16d6f5071b2ee0216c56d06","tags":[]},{"url":"https://git.kernel.org/stable/c/c2e894eac398b258f12fdec73ed6ba081047f7b3","tags":[]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":1.23},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < 1894fc7a3bab90143dcd26ef8ee27040ef4a7501",">= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < f39a3e9cc5946473e16d6f5071b2ee0216c56d06",">= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < c2e894eac398b258f12fdec73ed6ba081047f7b3"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"euvd":{"id":"EUVD-2026-76278","exploited":false,"provenance":"source"}}