What’s Vulnerable › Vulnerabilities
CVE-2026-23260: regmap: maple: free entry on mas_store_gfp() failure
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-18 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: regmap: maple: free entry on mas_store_gfp() failure regcache_maple_write() allocates a new block ('entry') to merge adjacent ranges and then stores it with mas_store_gfp(). When mas_store_gfp() fails, the new 'entry' remains allocated and is never freed, leaking memory. Free 'entry' on the failure path; on success continue freeing the replaced neighbor blocks ('lower', 'upper').
Affected products
- Linux kernel: from 6.4 before 6.6.124; from 6.7 before 6.12.70; from 6.13 before 6.18.10; 6.19-rc1, 6.19-rc2, 6.19-rc3, 6.19-rc4, 6.19-rc5, 6.19-rc6 — fixed in 6.12.70, 6.18.10, 6.6.124
How to fix
Upgrade to a fixed version: Linux kernel 6.12.70, 6.18.10, 6.6.124. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/811b45e2d795d955bb7fd9c816b40036f4fde350
- https://git.kernel.org/stable/c/d61171cf097156030142643942c217759a9cc806
- https://git.kernel.org/stable/c/f08f2d2907675926ac5657b25f86d921f269602a
- https://git.kernel.org/stable/c/f3f380ce6b3d5c9805c7e0b3d5bc28d9ec41e2e8
Get alerted when CVE-2026-23260 or the next vulnerability affects your stack