regmap: maple: Fix cache corruption in regcache_maple_drop()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 00bb549d7d63a21532e76e4a334d7807a54d9f31, Kernel 3af6c5ac72dc5b721058132a0a1d7779e443175e and Kernel 51c4440b9d3fd7c8234e6de9170a487c03506e53.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.4, >=f033c26de5a5734625d2dd1dc196745fae186f1b <00bb549d7d63a21532e76e4a334d7807a54d9f31, >=f033c26de5a5734625d2dd1dc196745fae186f1b <3af6c5ac72dc5b721058132a0a1d7779e443175e, >=f033c26de5a5734625d2dd1dc196745fae186f1b <51c4440b9d3fd7c8234e6de9170a487c03506e53 | 00bb549d7d63a21532e76e4a334d7807a54d9f31, 3af6c5ac72dc5b721058132a0a1d7779e443175e, 51c4440b9d3fd7c8234e6de9170a487c03506e53 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket