CVE-2025-38659

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38659
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38659.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38659
Downstream
Related
Published
2025-08-22T16:15:41Z
Modified
2025-09-06T13:01:48Z
Summary
[none]
Details

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 gfs2recoverfunc() will refuse to do anything during a withdraw.

However, before even getting to this point, gfs2recoverfunc() dereferences sdp->sdjdesc->jdinode. 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

Affected packages