{"id":"CVE-2026-98867","state":"PUBLISHED","title":"dm-pcache: bound the logical key offset from persistent memory","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: bound the logical key offset from persistent memory\n\ncache_key_decode() takes a key's logical off from the cache device and\nlater indexes req_key_tree->subtrees[] by it in get_subtree(). An off\npast the device forms a subtree pointer outside the array, which\nrb_insert() writes through during replay.\n\nReject a key of zero length, or whose off+len (computed in 64 bits)\nexceeds the device size, before it is used.","publishedAt":"2026-10-18T15:51:29.499Z","updatedAt":"2026-10-19T09:27:01.563Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"3d5a87cb909c1f375f08065b20123fa5db5958d8","versionType":"git"},{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"10449703200076980704894c3d68d6796182371b","versionType":"git"},{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"97fc4b53dbe4a983fdf093243067fa6a64562307","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.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","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/3d5a87cb909c1f375f08065b20123fa5db5958d8","https://git.kernel.org/stable/c/10449703200076980704894c3d68d6796182371b","https://git.kernel.org/stable/c/97fc4b53dbe4a983fdf093243067fa6a64562307"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98867.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98867","state":"PUBLISHED","datePublished":"2026-10-18T15:51:29.499Z","dateUpdated":"2026-10-19T09:27:01.563Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.377Z"},"containers":{"cna":{"title":"dm-pcache: bound the logical key offset from persistent memory","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: bound the logical key offset from persistent memory\n\ncache_key_decode() takes a key's logical off from the cache device and\nlater indexes req_key_tree->subtrees[] by it in get_subtree(). An off\npast the device forms a subtree pointer outside the array, which\nrb_insert() writes through during replay.\n\nReject a key of zero length, or whose off+len (computed in 64 bits)\nexceeds the device size, before it is used."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"3d5a87cb909c1f375f08065b20123fa5db5958d8","versionType":"git"},{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"10449703200076980704894c3d68d6796182371b","versionType":"git"},{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"97fc4b53dbe4a983fdf093243067fa6a64562307","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.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","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/3d5a87cb909c1f375f08065b20123fa5db5958d8"},{"url":"https://git.kernel.org/stable/c/10449703200076980704894c3d68d6796182371b"},{"url":"https://git.kernel.org/stable/c/97fc4b53dbe4a983fdf093243067fa6a64562307"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:27:01.563Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.2.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}