Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 before 3d5a87cb909c1f375f08065b20123fa5db5958d8; affected 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 before 10449703200076980704894c3d68d6796182371b; affected 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 before 97fc4b53dbe4a983fdf093243067fa6a64562307 |
| Linux / Linux | affected 6.18; unaffected 0 before 6.18; unaffected 6.18.52 through 6.18.*; unaffected 7.2.10 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.