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.

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:*:*:*:*:*:*