CVE-2024-36019
Severity CVSS v4.0:
Pending analysis
Type:
CWE-125
Out-of-bounds Read
Publication date:
30/05/2024
Last modified:
18/09/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
regmap: maple: Fix cache corruption in regcache_maple_drop()<br />
<br />
When keeping the upper end of a cache block entry, the entry[] array<br />
must be indexed by the offset from the base register of the block,<br />
i.e. max - mas.index.<br />
<br />
The code was indexing entry[] by only the register address, leading<br />
to an out-of-bounds access that copied some part of the kernel<br />
memory over the cache contents.<br />
<br />
This bug was not detected by the regmap KUnit test because it only<br />
tests with a block of registers starting at 0, so mas.index == 0.
Impact
Base Score 3.x
7.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.4 (including) | 6.6.26 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.8.5 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/00bb549d7d63a21532e76e4a334d7807a54d9f31
- https://git.kernel.org/stable/c/3af6c5ac72dc5b721058132a0a1d7779e443175e
- https://git.kernel.org/stable/c/51c4440b9d3fd7c8234e6de9170a487c03506e53
- https://git.kernel.org/stable/c/00bb549d7d63a21532e76e4a334d7807a54d9f31
- https://git.kernel.org/stable/c/3af6c5ac72dc5b721058132a0a1d7779e443175e
- https://git.kernel.org/stable/c/51c4440b9d3fd7c8234e6de9170a487c03506e53



