{"id":"CVE-2025-38659","summary":"gfs2: No more self recovery","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: No more self recovery\n\nWhen a node withdraws and it turns out that it is the only node that has\nthe filesystem mounted, gfs2 currently tries to replay the local journal\nto bring the filesystem back into a consistent state.  Not only is that\na very bad idea, it has also never worked because gfs2_recover_func()\nwill refuse to do anything during a withdraw.\n\nHowever, before even getting to this point, gfs2_recover_func()\ndereferences sdp-\u003esd_jdesc-\u003ejd_inode.  This was a use-after-free before\ncommit 04133b607a78 (\"gfs2: Prevent double iput for journal on error\")\nand is a NULL pointer dereference since then.\n\nSimply get rid of self recovery to fix that.","modified":"2026-04-16T04:36:01.016879080Z","published":"2025-08-22T16:01:02.448Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03601-1","SUSE-SU-2025:03602-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:03633-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3725-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:3761-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38659.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1a91ba12abef628b43cada87478328274d988e88"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6784367b2f3cd7b89103de35764f37f152590dbd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ebe17b359bead383581f729e43f591c1c36e159"},{"type":"WEB","url":"https://git.kernel.org/stable/c/97c94c7dbddc34d353c83b541b3decabf98d04af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/deb016c1669002e48c431d6fd32ea1c20ef41756"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f5426ffbec971a8f7346a57392d3a901bdee5a9b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38659.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38659"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"601ef0d52e9617588fcff3df26953592f2eb44ac"},{"fixed":"6ebe17b359bead383581f729e43f591c1c36e159"},{"fixed":"1a91ba12abef628b43cada87478328274d988e88"},{"fixed":"f5426ffbec971a8f7346a57392d3a901bdee5a9b"},{"fixed":"6784367b2f3cd7b89103de35764f37f152590dbd"},{"fixed":"97c94c7dbddc34d353c83b541b3decabf98d04af"},{"fixed":"deb016c1669002e48c431d6fd32ea1c20ef41756"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38659.json"}}],"schema_version":"1.7.5"}