CVE-2025-38659
gfs2: No more self recovery
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 69cf5699a402ee7ae1be53954dc2ae652c0a053c; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 6ebe17b359bead383581f729e43f591c1c36e159; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 1a91ba12abef628b43cada87478328274d988e88; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < f5426ffbec971a8f7346a57392d3a901bdee5a9b; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 6784367b2f3cd7b89103de35764f37f152590dbd; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 97c94c7dbddc34d353c83b541b3decabf98d04af; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < deb016c1669002e48c431d6fd32ea1c20ef41756
- Anyone running Linux 5.7
Vulnerability facts
- Affected
- Linux >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 69cf5699a402ee7ae1be53954dc2ae652c0a053c; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 6ebe17b359bead383581f729e43f591c1c36e159; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 1a91ba12abef628b43cada87478328274d988e88; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < f5426ffbec971a8f7346a57392d3a901bdee5a9b; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 6784367b2f3cd7b89103de35764f37f152590dbd; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 97c94c7dbddc34d353c83b541b3decabf98d04af; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < deb016c1669002e48c431d6fd32ea1c20ef41756; Linux 5.7
- Fixed in
- Linux 69cf5699a402ee7ae1be53954dc2ae652c0a053c, Linux 6ebe17b359bead383581f729e43f591c1c36e159, Linux 1a91ba12abef628b43cada87478328274d988e88, Linux 6784367b2f3cd7b89103de35764f37f152590dbd, Linux 97c94c7dbddc34d353c83b541b3decabf98d04af
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 69cf5699a402ee7ae1be53954dc2ae652c0a053c; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 6ebe17b359bead383581f729e43f591c1c36e159; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 1a91ba12abef628b43cada87478328274d988e88; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < f5426ffbec971a8f7346a57392d3a901bdee5a9b; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 6784367b2f3cd7b89103de35764f37f152590dbd; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 97c94c7dbddc34d353c83b541b3decabf98d04af; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < deb016c1669002e48c431d6fd32ea1c20ef41756 | — | cvelist |
| Linux | 5.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38659. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38659.md Affected: Linux >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 69cf5699a402ee7ae1be53954dc2ae652c0a053c; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 6ebe17b359bead383581f729e43f591c1c36e159; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 1a91ba12abef628b43cada87478328274d988e88; >= 601ef0d52e9617588fcff3d… Fixed in: Linux 69cf5699a402ee7ae1be53954dc2ae652c0a053c, Linux 6ebe17b359bead383581f729e43f591c1c36e159, Linux 1a91ba12abef628b43cada87478328274d988e88, Linux 6784367b2f3cd7b89103de35764f37f152590dbd, Linux 97c94c7dbddc34d353c83b541b3decabf98d04af Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/1a91ba12abef628b43cada87478328274d988e88
- https://git.kernel.org/stable/c/f5426ffbec971a8f7346a57392d3a901bdee5a9b
- https://git.kernel.org/stable/c/6784367b2f3cd7b89103de35764f37f152590dbd
- https://git.kernel.org/stable/c/97c94c7dbddc34d353c83b541b3decabf98d04af
- https://git.kernel.org/stable/c/deb016c1669002e48c431d6fd32ea1c20ef41756
FAQ
Is CVE-2025-38659 being exploited?
There is no confirmed exploitation: CVE-2025-38659 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38659?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38659?
Linux >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 69cf5699a402ee7ae1be53954dc2ae652c0a053c; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 6ebe17b359bead383581f729e43f591c1c36e159; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 1a91ba12abef628b43cada87478328274d988e88; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < f5426ffbec971a8f7346a57392d3a901bdee5a9b; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 6784367b2f3cd7b89103de35764f37f152590dbd; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 97c94c7dbddc34d353c83b541b3decabf98d04af; >= 601ef0d52e9617588fcff3df26953592f2eb44ac, < deb016c1669002e48c431d6fd32ea1c20ef41756; Linux 5.7.
Is there a fix for CVE-2025-38659?
Yes. Fixed in Linux 69cf5699a402ee7ae1be53954dc2ae652c0a053c, Linux 6ebe17b359bead383581f729e43f591c1c36e159, Linux 1a91ba12abef628b43cada87478328274d988e88, Linux 6784367b2f3cd7b89103de35764f37f152590dbd, Linux 97c94c7dbddc34d353c83b541b3decabf98d04af. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38659?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.