CVE-2025-38659

published 22 Aug 2025 · updated 15 Oct 2026

gfs2: No more self recovery

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1a91ba12abef628b43cada87478328274d988e88, Kernel 6784367b2f3cd7b89103de35764f37f152590dbd, Kernel 69cf5699a402ee7ae1be53954dc2ae652c0a053c and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.7, >=601ef0d52e9617588fcff3df26953592f2eb44ac <1a91ba12abef628b43cada87478328274d988e88, >=601ef0d52e9617588fcff3df26953592f2eb44ac <6784367b2f3cd7b89103de35764f37f152590dbd, >=601ef0d52e9617588fcff3df26953592f2eb44ac <69cf5699a402ee7ae1be53954dc2ae652c0a053c, >=601ef0d52e9617588fcff3df26953592f2eb44ac <6ebe17b359bead383581f729e43f591c1c36e159, >=601ef0d52e9617588fcff3df26953592f2eb44ac <97c94c7dbddc34d353c83b541b3decabf98d04af, >=601ef0d52e9617588fcff3df26953592f2eb44ac <deb016c1669002e48c431d6fd32ea1c20ef41756, >=601ef0d52e9617588fcff3df26953592f2eb44ac <f5426ffbec971a8f7346a57392d3a901bdee5a9b1a91ba12abef628b43cada87478328274d988e88, 6784367b2f3cd7b89103de35764f37f152590dbd, 69cf5699a402ee7ae1be53954dc2ae652c0a053c, 6ebe17b359bead383581f729e43f591c1c36e159, 97c94c7dbddc34d353c83b541b3decabf98d04af, deb016c1669002e48c431d6fd32ea1c20ef41756, f5426ffbec971a8f7346a57392d3a901bdee5a9b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38659 severity on Zeptric[![CVE-2025-38659](https://zeptric.io/badge/cve/CVE-2025-38659.svg)](https://zeptric.io/cve/CVE-2025-38659)