CVE-2026-98867 PUBLISHED

dm-pcache: bound the logical key offset from persistent memory

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

In the Linux kernel, the following vulnerability has been resolved:

dm-pcache: bound the logical key offset from persistent memory

cache_key_decode() takes a key's logical off from the cache device and later indexes req_key_tree->subtrees[] by it in get_subtree(). An off past the device forms a subtree pointer outside the array, which rb_insert() writes through during replay.

Reject a key of zero length, or whose off+len (computed in 64 bits) exceeds the device size, before it is used.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 to 3d5a87cb909c1f375f08065b20123fa5db5958d8 (excl.)
  • affected from 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 to 10449703200076980704894c3d68d6796182371b (excl.)
  • affected from 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 to 97fc4b53dbe4a983fdf093243067fa6a64562307 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.18 is affected
  • unaffected from 0 to 6.18 (excl.)
  • unaffected from 6.18.52 to 6.18.* (incl.)
  • unaffected from 7.2.10 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References