{"id":"CVE-2024-36019","aliases":["CVE-2024-36019"],"related":[],"kind":"vulnerability","state":"published","title":"regmap: maple: Fix cache corruption in regcache_maple_drop()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: regmap: maple: corrige la corrupción de la caché en regcache_maple_drop() Cuando se mantiene el extremo superior de una entrada de bloque de caché, la matriz de entrada[] debe indexarse según el desplazamiento del registro base de el bloque, es decir, max - mas.index. El código indexaba la entrada [] solo por la dirección de registro, lo que generaba un acceso fuera de los límites que copiaba parte de la memoria del kernel sobre el contenido de la caché. Este error no fue detectado por la prueba regmap KUnit porque solo prueba con un bloque de registros que comienza en 0, por lo que mas.index == 0.","source":"nvd"}],"published":"2024-05-30T14:59:42.840Z","modified":"2026-08-05T11:31:39.239Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"f033c26de5a5734625d2dd1dc196745fae186f1b","fixed":"3af6c5ac72dc5b721058132a0a1d7779e443175e","status":"affected"},{"type":"git","introduced":"f033c26de5a5734625d2dd1dc196745fae186f1b","fixed":"51c4440b9d3fd7c8234e6de9170a487c03506e53","status":"affected"},{"type":"git","introduced":"f033c26de5a5734625d2dd1dc196745fae186f1b","fixed":"00bb549d7d63a21532e76e4a334d7807a54d9f31","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"6.6.26","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.8.5","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.4","fixed":"6.6.26"},{"status":"affected","introduced":"6.7","fixed":"6.8.5"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3af6c5ac72dc5b721058132a0a1d7779e443175e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51c4440b9d3fd7c8234e6de9170a487c03506e53","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/00bb549d7d63a21532e76e4a334d7807a54d9f31","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-30T16:11:04.952Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-36019","url":"https://www.cve.org/CVERecord?id=CVE-2024-36019","licence":"CVE Terms of Use","modified":"2026-08-05T11:31:39.239Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-36019","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36019","licence":"Public domain","modified":"2026-08-04T11:18:23.510Z"}],"updatedAt":"2026-11-25T22:58:41.107Z","epss":{"score":0.00243,"percentile":0.16616,"date":"2026-12-01T12:00:22.000Z"}}