{"id":"CVE-2025-38659","published":"2025-08-22T16:01:02Z","modified":"2026-10-15T22:02:27Z","title":"gfs2: No more self recovery","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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->sd_jdesc->jd_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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00275,"percentile":0.12656,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/69cf5699a402ee7ae1be53954dc2ae652c0a053c","tags":[]},{"url":"https://git.kernel.org/stable/c/6ebe17b359bead383581f729e43f591c1c36e159","tags":[]},{"url":"https://git.kernel.org/stable/c/1a91ba12abef628b43cada87478328274d988e88","tags":[]},{"url":"https://git.kernel.org/stable/c/f5426ffbec971a8f7346a57392d3a901bdee5a9b","tags":[]},{"url":"https://git.kernel.org/stable/c/6784367b2f3cd7b89103de35764f37f152590dbd","tags":[]},{"url":"https://git.kernel.org/stable/c/97c94c7dbddc34d353c83b541b3decabf98d04af","tags":[]},{"url":"https://git.kernel.org/stable/c/deb016c1669002e48c431d6fd32ea1c20ef41756","tags":[]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":2.53},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 69cf5699a402ee7ae1be53954dc2ae652c0a053c",">= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 6ebe17b359bead383581f729e43f591c1c36e159",">= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 1a91ba12abef628b43cada87478328274d988e88",">= 601ef0d52e9617588fcff3df26953592f2eb44ac, < f5426ffbec971a8f7346a57392d3a901bdee5a9b",">= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 6784367b2f3cd7b89103de35764f37f152590dbd",">= 601ef0d52e9617588fcff3df26953592f2eb44ac, < 97c94c7dbddc34d353c83b541b3decabf98d04af",">= 601ef0d52e9617588fcff3df26953592f2eb44ac, < deb016c1669002e48c431d6fd32ea1c20ef41756"]},{"vendor":"Linux","product":"Linux","versions":["5.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:52:37.696464Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-25543","exploited":false,"provenance":"source"}}