CVE-2025-38659
Last modified
CVE-2025-38659 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.7, < 6.6.102 |
| Linux | Linux Kernel | >= 6.7, < 6.12.42 |
| Linux | Linux Kernel | >= 6.13, < 6.15.10 |
| Linux | Linux Kernel | >= 6.16, < 6.16.1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-38659?
How severe is CVE-2025-38659?
How do I fix CVE-2025-38659?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-38653In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38654In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38655In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38656In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38657In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-38658In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3866The Add Google +1 (Plus one) social share Button plugin for …6.1
- CVE-2025-38660In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38661In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38662In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38663In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38664In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-38659?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
