regmap: maple: Fix cache corruption in regcache_maple_drop()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.6.26, 6.8.5
- CVEs
- CVE-2024-36019
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 02:52 UTC · Revision 1
Source evidence
regmap: maple: Fix cache corruption in regcache_maple_drop()
core-osv · Original sourcePublished 30 May 2024, 14:59 UTC
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.
osv:CVE-2024-36019
Kernel
Fixed versions: 6.6.26, 6.8.5
Complete source record
{
"id": "d2d97b2e44817faca95cf15ae01221b209e00ae0a527d30482004182e77e3937",
"url": "https://osv.dev/vulnerability/CVE-2024-36019",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "regmap: maple: Fix cache corruption in regcache_maple_drop()",
"summary": "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.",
"evidence": "osv:CVE-2024-36019",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.26",
"evidence": "/affected/1/ranges"
},
{
"value": "6.8.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-36019",
"aliases": [
"CVE-2024-36019"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "f033c26de5a5734625d2dd1dc196745fae186f1b"
},
{
"fixed": "3af6c5ac72dc5b721058132a0a1d7779e443175e"
},
{
"fixed": "51c4440b9d3fd7c8234e6de9170a487c03506e53"
},
{
"fixed": "00bb549d7d63a21532e76e4a334d7807a54d9f31"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36019.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.4.0"
},
{
"fixed": "6.6.26"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.8.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36019.json"
}
}
],
"modified": "2026-10-28T02:30:46.711763290Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/00bb549d7d63a21532e76e4a334d7807a54d9f31",
"https://git.kernel.org/stable/c/3af6c5ac72dc5b721058132a0a1d7779e443175e",
"https://git.kernel.org/stable/c/51c4440b9d3fd7c8234e6de9170a487c03506e53",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36019.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-36019",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36019.json"
}
},
"related_cves": [
{
"value": "CVE-2024-36019",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514440,
"published_at": "2024-05-30T14:59:42.84+00:00"
}