ext4: fix memory leaks in ext4_fname_{setup_filename,prepare_lookup} (Linux Linux)

CVE-2023-53662
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
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: fix memory leaks in ext4_fname_{setup_filename,prepare_lookup} If the filename casefolding fails, we'll be leaking memory from the fscrypt_name struct, namely from the 'crypto_buf.name' member. Make sure we free it in the error path on both ext4_fname_setup_filename() and ext4_fname_prepare_lookup() functions.

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 1ae98e295fa2577fb5e492200c58d10230e00e99 < 98fc9c2cc45cfcb56961a73de3ec69b474063fc0 ; affected 1ae98e295fa2577fb5e492200c58d10230e00e99 < 1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c ; affected 1ae98e295fa2577fb5e492200c58d10230e00e99 < 36daf050be3f6f067631dc52054de2d3b7cc849f ; affected 1ae98e295fa2577fb5e492200c58d10230e00e99 < 7ca4b085f430f3774c3838b3da569ceccd6a0177
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 5.15.199 ≤ 5.15.* ; unaffected 6.1.54 ≤ 6.1.* ; unaffected 6.5.4 ≤ 6.5.* ; unaffected 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