CVE-2024-36019

published 30 May 2024 · updated 5 Aug 2026

regmap: maple: Fix cache corruption in regcache_maple_drop()

7.8HighCVSS 7.8EPSS 0%

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

VendorProductVersionsFixed
LinuxKernel=6.4, >=f033c26de5a5734625d2dd1dc196745fae186f1b <00bb549d7d63a21532e76e4a334d7807a54d9f31, >=f033c26de5a5734625d2dd1dc196745fae186f1b <3af6c5ac72dc5b721058132a0a1d7779e443175e, >=f033c26de5a5734625d2dd1dc196745fae186f1b <51c4440b9d3fd7c8234e6de9170a487c03506e5300bb549d7d63a21532e76e4a334d7807a54d9f31, 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

CVE-2024-36019 severity on Zeptric[![CVE-2024-36019](https://zeptric.io/badge/cve/CVE-2024-36019.svg)](https://zeptric.io/cve/CVE-2024-36019)