gfs2: No more self recovery

Summary

CVECVE-2025-38659
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-08-22 16:15:41 UTC
Updated2026-06-01 17:16:35 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-476

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 601ef0d52e9617588fcff3df26953592f2eb44ac 69cf5699a402ee7ae1be53954dc2ae652c0a053c git Not specified
CNA Linux Linux affected 601ef0d52e9617588fcff3df26953592f2eb44ac 6ebe17b359bead383581f729e43f591c1c36e159 git Not specified
CNA Linux Linux affected 601ef0d52e9617588fcff3df26953592f2eb44ac 1a91ba12abef628b43cada87478328274d988e88 git Not specified
CNA Linux Linux affected 601ef0d52e9617588fcff3df26953592f2eb44ac f5426ffbec971a8f7346a57392d3a901bdee5a9b git Not specified
CNA Linux Linux affected 601ef0d52e9617588fcff3df26953592f2eb44ac 6784367b2f3cd7b89103de35764f37f152590dbd git Not specified
CNA Linux Linux affected 601ef0d52e9617588fcff3df26953592f2eb44ac 97c94c7dbddc34d353c83b541b3decabf98d04af git Not specified
CNA Linux Linux affected 601ef0d52e9617588fcff3df26953592f2eb44ac deb016c1669002e48c431d6fd32ea1c20ef41756 git Not specified
CNA Linux Linux affected 5.7 Not specified
CNA Linux Linux unaffected 5.7 semver Not specified
CNA Linux Linux unaffected 5.15.209 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.167 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.102 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.42 6.12.* semver Not specified
CNA Linux Linux unaffected 6.15.10 6.15.* semver Not specified
CNA Linux Linux unaffected 6.16.1 6.16.* semver Not specified
CNA Linux Linux unaffected 6.17 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/97c94c7dbddc34d353c83b541b3decabf98d04af 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/deb016c1669002e48c431d6fd32ea1c20ef41756 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/6784367b2f3cd7b89103de35764f37f152590dbd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/1a91ba12abef628b43cada87478328274d988e88 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/6ebe17b359bead383581f729e43f591c1c36e159 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f5426ffbec971a8f7346a57392d3a901bdee5a9b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/69cf5699a402ee7ae1be53954dc2ae652c0a053c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report