1. Accueil
  2. Vulnérabilités
  3. CVE-2025-40101

CVE-2025-40101

btrfs: fix memory leaks when rejecting a non SINGLE data profile without an RST

Publiée le 30 oct. 2025 · modifiée le 19 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 12/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix memory leaks when rejecting a non SINGLE data profile without an RST At the end of btrfs_load_block_group_zone_info() the first thing we do is to ensure that if the mapping type is not a SINGLE one and there is no RAID stripe tree, then we return early with an error. Doing that, though, prevents the code from running the last calls from this function which are about freeing memory allocated during its run. Hence, in this case, instead of returning early, we set the ret value and fall through the rest of the cleanup code.

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

Produits et versions affectés

Linux (2 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 6.7.11 (inclus) à 6.8 (exclu) — CNA (éditeur ou attributeur)
Linux 6.8 — CNA (éditeur ou attributeur)

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
CNA (éditeur ou attributeur)

Comment sont obtenues et calculées ces données