Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-23260

regmap: maple: free entry on mas_store_gfp() failure

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f033c26de5a5734625d2dd1dc196745fae186f1b to < d61171cf097156030142643942c217759a9cc806affected
  • f033c26de5a5734625d2dd1dc196745fae186f1b to < 811b45e2d795d955bb7fd9c816b40036f4fde350affected
  • f033c26de5a5734625d2dd1dc196745fae186f1b to < f08f2d2907675926ac5657b25f86d921f269602aaffected
  • f033c26de5a5734625d2dd1dc196745fae186f1b to < f3f380ce6b3d5c9805c7e0b3d5bc28d9ec41e2e8affected

Linux Linux

Default version status: affected

  • 6.4affected
  • 0 to < 6.4unaffected
  • 6.6.124 to ≤ 6.6.*unaffected
  • 6.12.70 to ≤ 6.12.*unaffected
  • 6.18.10 to ≤ 6.18.*unaffected
  • 6.19 to ≤ *unaffected

References