GHSA-5crp-hwj6-6wwwMediumCVSS 5.5

In the Linux kernel, the following vulnerability has been resolved: regmap: maple: free entry on...

Published
March 18, 2026
Last Modified
May 29, 2026

🔗 CVE IDs covered (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').

🔗 References (6)