CVE-2026-23260

MEDIUM

regmap: maple: free entry on mas_store_gfp() failure

Title source: cna
STIX 2.1

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').

Scores

CVSS v3 5.5
EPSS 0.0011
EPSS Percentile 1.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (19)
linux/Kernel 6.13.0 - 6.18.10linux
linux/Kernel 6.4.0 - 6.6.124linux
linux/Kernel 6.7.0 - 6.12.70linux
Linux/Linux < 6.4
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 811b45e2d795d955bb7fd9c816b40036f4fde350
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - d61171cf097156030142643942c217759a9cc806
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - f08f2d2907675926ac5657b25f86d921f269602a
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - f3f380ce6b3d5c9805c7e0b3d5bc28d9ec41e2e8
Linux/Linux 6.12.70 - 6.12.*
Linux/Linux 6.18.10 - 6.18.*
... and 9 more
Published Mar 18, 2026
Tracked Since Mar 18, 2026