Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2025-38659

Summary
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published At-22 Aug, 2025 | 16:01
Updated At-22 Aug, 2025 | 16:01
Rejected At-
Credits

gfs2: No more self recovery

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:Linux
Assigner Org ID:416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published At:22 Aug, 2025 | 16:01
Updated At:22 Aug, 2025 | 16:01
Rejected At:
▼CVE Numbering Authority (CNA)
gfs2: No more self recovery

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.

Affected Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • fs/gfs2/util.c
Default Status
unaffected
Versions
Affected
  • From 601ef0d52e9617588fcff3df26953592f2eb44ac before 1a91ba12abef628b43cada87478328274d988e88 (git)
  • From 601ef0d52e9617588fcff3df26953592f2eb44ac before f5426ffbec971a8f7346a57392d3a901bdee5a9b (git)
  • From 601ef0d52e9617588fcff3df26953592f2eb44ac before 6784367b2f3cd7b89103de35764f37f152590dbd (git)
  • From 601ef0d52e9617588fcff3df26953592f2eb44ac before 97c94c7dbddc34d353c83b541b3decabf98d04af (git)
  • From 601ef0d52e9617588fcff3df26953592f2eb44ac before deb016c1669002e48c431d6fd32ea1c20ef41756 (git)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • fs/gfs2/util.c
Default Status
affected
Versions
Affected
  • 5.7
Unaffected
  • From 0 before 5.7 (semver)
  • From 6.6.102 through 6.6.* (semver)
  • From 6.12.42 through 6.12.* (semver)
  • From 6.15.10 through 6.15.* (semver)
  • From 6.16.1 through 6.16.* (semver)
  • From 6.17-rc1 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/1a91ba12abef628b43cada87478328274d988e88
N/A
https://git.kernel.org/stable/c/f5426ffbec971a8f7346a57392d3a901bdee5a9b
N/A
https://git.kernel.org/stable/c/6784367b2f3cd7b89103de35764f37f152590dbd
N/A
https://git.kernel.org/stable/c/97c94c7dbddc34d353c83b541b3decabf98d04af
N/A
https://git.kernel.org/stable/c/deb016c1669002e48c431d6fd32ea1c20ef41756
N/A
Hyperlink: https://git.kernel.org/stable/c/1a91ba12abef628b43cada87478328274d988e88
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/f5426ffbec971a8f7346a57392d3a901bdee5a9b
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/6784367b2f3cd7b89103de35764f37f152590dbd
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/97c94c7dbddc34d353c83b541b3decabf98d04af
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/deb016c1669002e48c431d6fd32ea1c20ef41756
Resource: N/A
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published At:22 Aug, 2025 | 16:15
Updated At:22 Aug, 2025 | 18:08

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
CPE Matches

Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://git.kernel.org/stable/c/1a91ba12abef628b43cada87478328274d988e88416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/6784367b2f3cd7b89103de35764f37f152590dbd416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/97c94c7dbddc34d353c83b541b3decabf98d04af416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/deb016c1669002e48c431d6fd32ea1c20ef41756416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/f5426ffbec971a8f7346a57392d3a901bdee5a9b416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
Hyperlink: https://git.kernel.org/stable/c/1a91ba12abef628b43cada87478328274d988e88
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/6784367b2f3cd7b89103de35764f37f152590dbd
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/97c94c7dbddc34d353c83b541b3decabf98d04af
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/deb016c1669002e48c431d6fd32ea1c20ef41756
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/f5426ffbec971a8f7346a57392d3a901bdee5a9b
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found