btrfs: fix anon_dev leak in create_subvol() (Linux Linux)

CVE-2022-49469
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix anon_dev leak in create_subvol() When btrfs_qgroup_inherit(), btrfs_alloc_tree_block, or btrfs_insert_root() fail in create_subvol(), we return without freeing anon_dev. Reorganize the error handling in create_subvol() to fix this.

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 2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 < d887b3de318834f9aa637ecf79c6bc66cba7c69a ; affected 2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 < 7a875ad8706f0903a0e812e0dd701956ee9826ff ; affected 2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 < 2256e901f5bddc56e24089c96f27b77da932dfcc ; affected 917d608fe375041eb7f29befa6a6d7fd3cf32dde ; affected 5.8.3 < 5.9
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 5.17.14 ≤ 5.17.* ; unaffected 5.18.3 ≤ 5.18.* ; unaffected 5.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