CVE-2025-38659

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedAug 22, 2025
First seenAug 22, 2025

How to fix

Update
  • linux linux_kernel6.6.102, 6.12.42, 6.15.10, 6.16.1 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.7 ≤ v < 6.6.102, 6.7 ≤ v < 6.12.42, 6.13 ≤ v < 6.15.10, 6.16 ≤ v < 6.16.16.6.102, 6.12.42, 6.15.10, 6.16.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-38659 · Linux Kernel · Dark Radar