{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38659","id":"CVE-2025-38659","title":"gfs2: No more self recovery","description":"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","descriptionLong":"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.","published":"2025-08-22T16:01:02.448Z","updated":"2026-10-28T02:30:36.314205800Z","reserved":"2025-04-16T04:51:24.031Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"601ef0d52e9617588fcff3df26953592f2eb44ac","lessThan":"69cf5699a402ee7ae1be53954dc2ae652c0a053c","status":"affected","versionType":"git"},{"version":"601ef0d52e9617588fcff3df26953592f2eb44ac","lessThan":"6ebe17b359bead383581f729e43f591c1c36e159","status":"affected","versionType":"git"},{"version":"601ef0d52e9617588fcff3df26953592f2eb44ac","lessThan":"1a91ba12abef628b43cada87478328274d988e88","status":"affected","versionType":"git"},{"version":"601ef0d52e9617588fcff3df26953592f2eb44ac","lessThan":"f5426ffbec971a8f7346a57392d3a901bdee5a9b","status":"affected","versionType":"git"},{"version":"601ef0d52e9617588fcff3df26953592f2eb44ac","lessThan":"6784367b2f3cd7b89103de35764f37f152590dbd","status":"affected","versionType":"git"},{"version":"601ef0d52e9617588fcff3df26953592f2eb44ac","lessThan":"97c94c7dbddc34d353c83b541b3decabf98d04af","status":"affected","versionType":"git"},{"version":"601ef0d52e9617588fcff3df26953592f2eb44ac","lessThan":"deb016c1669002e48c431d6fd32ea1c20ef41756","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.7","status":"affected"},{"version":"0","lessThan":"5.7","status":"unaffected","versionType":"semver"},{"version":"5.15.209","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.167","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.102","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.42","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.10","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16.1","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/69cf5699a402ee7ae1be53954dc2ae652c0a053c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/6ebe17b359bead383581f729e43f591c1c36e159","tags":["web"]},{"url":"https://git.kernel.org/stable/c/1a91ba12abef628b43cada87478328274d988e88","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f5426ffbec971a8f7346a57392d3a901bdee5a9b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6784367b2f3cd7b89103de35764f37f152590dbd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/97c94c7dbddc34d353c83b541b3decabf98d04af","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/deb016c1669002e48c431d6fd32ea1c20ef41756","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38659.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38659","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00182,"epssPercentile":0.07922,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38659","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38659","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38659","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38659","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}