ext4: fix memory leak in ext4_ext_shift_extents() (Linux Linux)

CVE-2026-45948
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: fix memory leak in ext4_ext_shift_extents() In ext4_ext_shift_extents(), if the extent is NULL in the while loop, the function returns immediately without releasing the path obtained via ext4_find_extent(), leading to a memory leak. Fix this by jumping to the out label to ensure the path is properly released.

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 a18ed359bdddcded4f97ff5e2f07793ff9336913 < 7e807cb8603b7664fa630a696cd891d9a03c248d ; affected a18ed359bdddcded4f97ff5e2f07793ff9336913 < afc5e61e1a07b2b833bd72cbee36ecce9cd901e2 ; affected a18ed359bdddcded4f97ff5e2f07793ff9336913 < 1bce219ee5512cf179ba40cf114945a14a16e21f ; affected a18ed359bdddcded4f97ff5e2f07793ff9336913 < 4a79fde8db7eba7f1128d971ceba4e3c9ac84aec ; affected a18ed359bdddcded4f97ff5e2f07793ff9336913 < 2f4b1052246ca646bb17bfe0f53df2fdf9729b58 ; affected a18ed359bdddcded4f97ff5e2f07793ff9336913 < 12615ab4bfb69678e5d961b28bb70040299e51b1
Linux · Linuxaffected 3.15 ; unaffected 0 < 3.15 ; unaffected 5.10.252 ≤ 5.10.* ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.*

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