NULL pointer dereference in Linux
CVE-2025-38659
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.
EPSS: 0.002 (4.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions 6.16.1, 0, 6.15.10
- Linux Linux_kernel
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-38659?
- CVE-2025-38659 is a high-severity vulnerability in Linux, classified under NULL Pointer Dereference. CVSS score: 7.8/10. Published 2025-08-22.
- How severe is CVE-2025-38659?
- High severity. CVSS v3 base score is 7.8 out of 10.