btrfs: restore active device pointers after failed sprout (Linux Linux)

CVE-2026-98090
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: restore active device pointers after failed sprout btrfs_init_new_device() switches latest_dev and possibly s_bdev from the seed device to the new sprout device before creating the first writable chunks. If chunk creation or the subsequent sprout setup fails, the error path releases the new device without switching those pointers back. btrfs_show_devname() can then dereference the freed latest_dev and crash. Restore the active device pointers to the latest seed device before removing and releasing the failed sprout device.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

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 affectées
Linux · Linux
affectée : ≥ a6e7e218a4d6488d56727a7d9aee1b7e78c0c485 < 46863a9f93186e620c70584f91c8d5d95da83eff
affectée : ≥ b7cb29e666fe79dda5dbe5f57fb7c92413bf161c < 49179f13c04735c55fd0f43b03696c015b067137
affectée : ≥ b7cb29e666fe79dda5dbe5f57fb7c92413bf161c < 0a0ee38ad6324ac1603079bb785f784191576bd5
affectée : ≥ b7cb29e666fe79dda5dbe5f57fb7c92413bf161c < 2ee5c4bc11007c51f63f0c1be5d3f07f2b404ff7
affectée : ≥ b7cb29e666fe79dda5dbe5f57fb7c92413bf161c < e127ac29a52134d0f4cba39d38e4b375deb3d1aa
affectée : ≥ b7cb29e666fe79dda5dbe5f57fb7c92413bf161c < b79b4b29003690acfade8241998fc0104ef9c84c
affectée : ≥ b7cb29e666fe79dda5dbe5f57fb7c92413bf161c < e0b54613aabeb8e9da597f23b90c6a03d0981986
affectée : ≥ 5.15.11 < 5.15.222
Autres versions : non affectée
Linux · Linux
affectée : 5.16
non affectée : ≥ 0 < 5.16
non affectée : ≥ 5.15.222 ≤ 5.15.*
non affectée : ≥ 6.1.189 ≤ 6.1.*
non affectée : ≥ 6.6.158 ≤ 6.6.*
non affectée : ≥ 6.12.111 ≤ 6.12.*
non affectée : ≥ 6.18.53 ≤ 6.18.*
non affectée : ≥ 7.2.7 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

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