{"id":"CVE-2024-36019","published":"2024-05-30T14:59:42Z","modified":"2026-08-05T11:31:39Z","title":"regmap: maple: Fix cache corruption in regcache_maple_drop()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nregmap: maple: Fix cache corruption in regcache_maple_drop()\n\nWhen keeping the upper end of a cache block entry, the entry[] array\nmust be indexed by the offset from the base register of the block,\ni.e. max - mas.index.\n\nThe code was indexing entry[] by only the register address, leading\nto an out-of-bounds access that copied some part of the kernel\nmemory over the cache contents.\n\nThis bug was not detected by the regmap KUnit test because it only\ntests with a block of registers starting at 0, so mas.index == 0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00243,"percentile":0.15822,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3af6c5ac72dc5b721058132a0a1d7779e443175e","tags":[]},{"url":"https://git.kernel.org/stable/c/51c4440b9d3fd7c8234e6de9170a487c03506e53","tags":[]},{"url":"https://git.kernel.org/stable/c/00bb549d7d63a21532e76e4a334d7807a54d9f31","tags":[]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":3.16},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f033c26de5a5734625d2dd1dc196745fae186f1b, < 3af6c5ac72dc5b721058132a0a1d7779e443175e",">= f033c26de5a5734625d2dd1dc196745fae186f1b, < 51c4440b9d3fd7c8234e6de9170a487c03506e53",">= f033c26de5a5734625d2dd1dc196745fae186f1b, < 00bb549d7d63a21532e76e4a334d7807a54d9f31"]},{"vendor":"Linux","product":"Linux","versions":["6.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-30T16:11:04.952877Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35829","exploited":false,"provenance":"source"}}