Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: regmap: maple: Fix cache corruption in regcache_maple_drop() When keeping the upper end of a cache block entry, the entry[] array must be indexed by the offset from the base register of the block, i.e. max - mas.index. The code was indexing entry[] by only the register address, leading to an out-of-bounds access that copied some part of the kernel memory over the cache contents. This bug was not detected by the regmap KUnit test because it only tests with a block of registers starting at 0, so mas.index == 0.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f033c26de5a5734625d2dd1dc196745fae186f1b before 3af6c5ac72dc5b721058132a0a1d7779e443175e; affected f033c26de5a5734625d2dd1dc196745fae186f1b before 51c4440b9d3fd7c8234e6de9170a487c03506e53; affected f033c26de5a5734625d2dd1dc196745fae186f1b before 00bb549d7d63a21532e76e4a334d7807a54d9f31 |
| Linux / Linux | affected 6.4; unaffected 0 before 6.4; unaffected 6.6.26 through 6.6.*; unaffected 6.8.5 through 6.8.*; unaffected 6.9 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/3af6c5ac72dc5b721058132a0a1d7779e443175e
- https://git.kernel.org/stable/c/51c4440b9d3fd7c8234e6de9170a487c03506e53
- https://git.kernel.org/stable/c/00bb549d7d63a21532e76e4a334d7807a54d9f31
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.