gfs2: No more self recovery (Linux Linux)

CVE-2025-38659
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 7 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: gfs2: No more self recovery When a node withdraws and it turns out that it is the only node that has the filesystem mounted, gfs2 currently tries to replay the local journal to bring the filesystem back into a consistent state. Not only is that a very bad idea, it has also never worked because gfs2_recover_func() will refuse to do anything during a withdraw. However, before even getting to this point, gfs2_recover_func() dereferences sdp->sd_jdesc->jd_inode. This was a use-after-free before commit 04133b607a78 ("gfs2: Prevent double iput for journal on error") and is a NULL pointer dereference since then. Simply get rid of self recovery to fix that.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

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)
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 601ef0d52e9617588fcff3df26953592f2eb44ac < 69cf5699a402ee7ae1be53954dc2ae652c0a053c ; affected 601ef0d52e9617588fcff3df26953592f2eb44ac < 6ebe17b359bead383581f729e43f591c1c36e159 ; affected 601ef0d52e9617588fcff3df26953592f2eb44ac < 1a91ba12abef628b43cada87478328274d988e88 ; affected 601ef0d52e9617588fcff3df26953592f2eb44ac < f5426ffbec971a8f7346a57392d3a901bdee5a9b ; affected 601ef0d52e9617588fcff3df26953592f2eb44ac < 6784367b2f3cd7b89103de35764f37f152590dbd ; affected 601ef0d52e9617588fcff3df26953592f2eb44ac < 97c94c7dbddc34d353c83b541b3decabf98d04af
Linux · Linuxaffected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.167 ≤ 6.1.* ; unaffected 6.6.102 ≤ 6.6.* ; unaffected 6.12.42 ≤ 6.12.*

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