5.5medium
regmap: maple: free entry on mas_store_gfp() failure
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from f033c26de5a5734625d2dd1dc196745fae186f1b before d61171cf097156030142643942c217759a9cc806, from f033c26de5a5734625d2dd1dc196745fae186f1b before 811b45e2d795d955bb7fd9c816b40036f4fde350, from f033c26de5a5734625d2dd1dc196745fae186f1b before f08f2d2907675926ac5657b25f86d921f269602a, from f033c26de5a5734625d2dd1dc196745fae186f1b before f3f380ce6b3d5c9805c7e0b3d5bc28d9ec41e2e8, 6.4 Not affected: before 6.4, from 6.6.124 up to 6.6.*, from 6.12.70 up to 6.12.*, from 6.18.10 up to 6.18.*, from 6.19 up to * | CVE List |
| linux 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 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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').
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: regmap: maple: liberar entrada en caso de fallo de mas_store_gfp() regcache_maple_write() asigna un nuevo bloque ('entrada') para fusionar rangos adyacentes y luego lo almacena con mas_store_gfp(). Cuando mas_store_gfp() falla, la nueva 'entrada' permanece asignada y nunca es liberada, provocando una fuga de memoria. Liberar 'entrada' en la ruta de fallo; en caso de éxito, continuar liberando los bloques vecinos reemplazados ('inferior', 'superior').
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23260 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2026-23260 changed 2026-11-05 | Public domain |