1. Accueil
  2. Vulnérabilités
  3. CVE-2022-49914

CVE-2022-49914

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix inode list leak during backref…

Publiée le 1 mai 2025 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Faible 25/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix inode list leak during backref walking at resolve_indirect_refs() During backref walking, at resolve_indirect_refs(), if we get an error we jump to the 'out' label and call ulist_free() on the 'parents' ulist, which frees all the elements in the ulist - however that does not free any inode lists that may be attached to elements, through the 'aux' field of a ulist node, so we end up leaking lists if we have any attached to the unodes. Fix this by calling free_leaf_list() instead of ulist_free() when we exit from resolve_indirect_refs(). The static function free_leaf_list() is moved up for this to be possible and it's slightly simplified by removing unnecessary code.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (7 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux kernel de 3.5 (inclus) à 4.14.299 (exclu) — NVD
Linux kernel de 4.15 (inclus) à 4.19.265 (exclu) — NVD
Linux kernel de 4.20 (inclus) à 5.4.224 (exclu) — NVD
Linux kernel de 5.5 (inclus) à 5.10.154 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.78 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.0.8 (exclu) — NVD
Linux kernel 6.1 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-401 · Autre (CWE-401)

Comment sont obtenues et calculées ces données