CVE-2025-38659
MEDIUMLinux Kernel 5.7-6.6.101, 6.7-6.12.41, 6.13-6.15.9, 6.16 - NULL Pointer Dereference in GFS2 Recovery Function
Title source: llmDescription
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.
References (7)
Core 7
Core References
Scores
CVSS v3
5.5
EPSS
0.0014
EPSS Percentile
3.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (21)
linux/Kernel
5.7.0 - 6.6.102linux
linux/Kernel
6.13.0 - 6.15.10linux
linux/Kernel
6.16.0 - 6.16.1linux
linux/Kernel
6.7.0 - 6.12.42linux
Linux/Linux
< 5.7
Linux/Linux
5.15.209 - 5.15.*
Linux/Linux
5.7
Linux/Linux
6.1.167 - 6.1.*
Linux/Linux
6.12.42 - 6.12.*
Linux/Linux
6.15.10 - 6.15.*
... and 11 more
Published
Aug 22, 2025
Tracked Since
Feb 18, 2026