CVE-2025-38659CWE-476

CVE-2025-38659

High · published August 22, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
6.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00172 · 6.2th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2025-08-22T20:15Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 5.7, < 6.6.1026.6.102
linux/linux_kernel≥ 6.7, < 6.12.426.12.42
linux/linux_kernel≥ 6.13, < 6.15.106.15.10
linux/linux_kernel≥ 6.16, < 6.16.16.16.1
References (7)
EPSS history
Timeline
  • 22 AUG 16:01Z
    gfs2: No more self recovery
    cvelistv5