regmap: maple: free entry on mas_store_gfp() failure (Linux Linux)

CVE-2026-23260
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected f033c26de5a5734625d2dd1dc196745fae186f1b < d61171cf097156030142643942c217759a9cc806 ; affected f033c26de5a5734625d2dd1dc196745fae186f1b < 811b45e2d795d955bb7fd9c816b40036f4fde350 ; affected f033c26de5a5734625d2dd1dc196745fae186f1b < f08f2d2907675926ac5657b25f86d921f269602a ; affected f033c26de5a5734625d2dd1dc196745fae186f1b < f3f380ce6b3d5c9805c7e0b3d5bc28d9ec41e2e8
Linux · Linuxaffected 6.4 ; unaffected 0 < 6.4 ; unaffected 6.6.124 ≤ 6.6.* ; unaffected 6.12.70 ≤ 6.12.* ; unaffected 6.18.10 ≤ 6.18.* ; unaffected 6.19 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD