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.
https://git.kernel.org/stable/c/97fc4b53dbe4a983fdf093243067fa6a64562307
https://git.kernel.org/stable/c/3d5a87cb909c1f375f08065b20123fa5db5958d8
https://git.kernel.org/stable/c/10449703200076980704894c3d68d6796182371b