Vulnerability · CVE-2025-40242
gfs2: Fix unlikely race in gdlm_put_lock
Published Dec 4, 2025 · catalog updated Oct 16, 2026 · gfs2: Fix unlikely race
Check if you run it
No confirmed exploitation is on record for CVE-2025-40242. EPSS is 0.14%. Act only if a listed version of gfs2: Fix unlikely race is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (gfs2: Fix unlikely race).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- High7.0
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.14%
- Remediation
- Advisory link
- Affected products
- Linux Kernel
In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix unlikely race in gdlm_put_lock In gdlm_put_lock(), there is a small window of time in which the DFL_UNMOUNT flag has been set but the lockspace hasn't been released, yet. In that window, dlm may still call gdlm_ast() and gdlm_bast(). To prevent it from dereferencing freed glock objects, only free the glock if the lockspace has actually been released.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- Linux Kernel5.15.0 → 6.1.168
How to fix CVE-2025-40242
Recommended remediation
A patch or advisory reference is linked. Open the original publisher for availability by product version.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2025-40242. EPSS is 0.14%. Act only if a listed version of gfs2: Fix unlikely race is installed.
Which versions are affected?
Compare what you have installed with Kernel 5.15.0 → 6.1.168. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 0.14%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Dec 4, 2025 · NIST NVD
Detected
In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix unlikely race in gdlm_put_lock In gdlm_put_lock(), there is a small window of time in which the DFL_UNMOUNT flag has been set but the lockspace hasn't been released, yet. In that window, dlm may still call gdlm_ast() and gdlm_bast(). To prevent it from dereferencing freed glock objects, only free the glock if the lockspa
Oct 15, 2026 · NIST NVD
Updated
In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix unlikely race in gdlm_put_lock In gdlm_put_lock(), there is a small window of time in which the DFL_UNMOUNT flag has been set but the lockspace hasn't been released, yet. In that window, dlm may still call gdlm_ast() and gdlm_bast(). To prevent it from dereferencing freed glock objects, only free the glock if the lockspa
Oct 16, 2026 · OpenSSF OSV / OSV Scanner
Fix available
Kernel fixed in 6.1.168
Oct 16, 2026 · OpenSSF OSV / OSV Scanner
Fix available
Kernel fixed in 6.1.168
Oct 16, 2026 · OpenSSF OSV / OSV Scanner
Updated
In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix unlikely race in gdlm_put_lock In gdlm_put_lock(), there is a small window of time in which the DFL_UNMOUNT flag has been set but the lockspace hasn't been released, yet. In that window, dlm may still call gdlm_ast() and gdlm_bast(). To prevent it from dereferencing freed glock objects, only free the glock if the lockspa
Sources
- CVE.orgVulnerability recordCVE-2025-40242
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2025-40242
30-day exploitation probability 0.1%
first.org - NIST NVDVulnerability recordCVE-2025-40242
In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix unlikely race in gdlm_put_lock In gdlm_put_lock(), there is a small window of time in which the DFL_UNMOUNT flag has been set but the lockspace hasn't been released, yet. In that window, dlm may stil
nvd.nist.gov - OpenSSF OSV / OSV ScannerPackage advisoryCVE-2025-40242
gfs2: Fix unlikely race in gdlm_put_lock
osv.dev
References
Freshness
Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.