CVE-2025-38659

gfs2: No more self recovery

MEDIUM
5.5
CVSS Score
Published: August 22, 2025 at 04:01 PM UTC
Updated: October 15, 2026 at 10:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.7 ≤ v < 6.6.1026.13 ≤ v < 6.15.106.16 ≤ v < 6.16.16.7 ≤ v < 6.12.425.7601ef0d52e9617588fcff3df26953592f2eb44ac
Vendor states this is fixed in 1a91ba12abef628b43cada87478328274d988e88 (fixed)
Vendor states this is fixed in 6784367b2f3cd7b89103de35764f37f152590dbd (fixed)
Vendor states this is fixed in 69cf5699a402ee7ae1be53954dc2ae652c0a053c (fixed)
Vendor states this is fixed in 6ebe17b359bead383581f729e43f591c1c36e159 (fixed)
Vendor states this is fixed in 97c94c7dbddc34d353c83b541b3decabf98d04af (fixed)
Vendor states this is fixed in deb016c1669002e48c431d6fd32ea1c20ef41756 (fixed)
Vendor states this is fixed in f5426ffbec971a8f7346a57392d3a901bdee5a9b (fixed)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 5.7 (unaffected)
Vendor states this is fixed in 6.1.167 (unaffected)
Vendor states this is fixed in 6.12.42 (unaffected)
Vendor states this is fixed in 6.15.10 (unaffected)
Vendor states this is fixed in 6.16.1 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.102 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card