btrfs: fix reloc root cleanup in merge_reloc_roots() (Linux Linux)

CVE-2026-93798
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix reloc root cleanup in merge_reloc_roots() If the root we got has zero root refs in its root item, we are resetting the root's ->reloc_root without using barriers like we do everywhere else. Sashiko complained about this while reviewing another patch, and it's correct (see the Link tag below). Also, we should not clear BTRFS_ROOT_DEAD_RELOC_TREE from the root unless the root points to the reloc root we have. Fix this by using clear_reloc_root(), which issues the memory barrier after setting the root's ->reloc_root to NULL and before clearing the bit BTRFS_ROOT_DEAD_RELOC_TREE from the root.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 1dae7e0e58b484eaa43d530f211098fdeeb0f404 < 29531470b1bf1e8bd2df4941fe913106edbca615 ; affected 1dae7e0e58b484eaa43d530f211098fdeeb0f404 < 415f8665a969d3c906e4fd7c90fcbb4b357886f6 ; affected 1dae7e0e58b484eaa43d530f211098fdeeb0f404 < ee695a968aa73b1e67ccbf2133dc0e54381d32b2 ; affected 1dae7e0e58b484eaa43d530f211098fdeeb0f404 < 0bc25f0a2d1b3e0a691431c4d7aef36afcd527c5 ; affected 1dae7e0e58b484eaa43d530f211098fdeeb0f404 < ab48583aa9948205ff9a6470e23dbff74c565e24 ; affected 1dae7e0e58b484eaa43d530f211098fdeeb0f404 < 63d6b1f04cd91c825329712aa526215ffa5d11ca
Linux · Linuxaffected 5.8 ; unaffected 0 < 5.8 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 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