CVE-2025-40242 Details
Description
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.
A race condition vulnerability has been identified in the Linux kernel's GFS2 file system, specifically within the lock management functions. The issue arises in the 'gdlm_put_lock()' function, where there is a narrow time window in which the 'DFL_UNMOUNT' flag is set, but the lockspace has not yet been released. During this interval, the Distributed Lock Manager (DLM) may still invoke 'gdlm_ast()' and 'gdlm_bast()' functions. This can lead to the DLM dereferencing freed glock objects, potentially causing instability or crashes. The vulnerability affects the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel stable tree, where this vulnerability has been addressed. Instructions for downloading the patched version are available on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 4, 2025CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/279bde3bbb0ac0bad5c729dfa85983d75a5d7641 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/28c4d9bc0708956c1a736a9e49fee71b65deee81 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4913592a3358f6ec366b8346b733d5e2360b08e1 | kernel.org | |
| https://git.kernel.org/stable/c/5fdc1474e678eea1700aa266c0b7c2c96f81dd0d | kernel.org | |
| https://git.kernel.org/stable/c/64c61b4ac645222fa7b724cef616c1f862a72a40 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 11, 2026 | CVE Modified | kernel.org |
| Apr 2, 2026 | CVE Modified | kernel.org |
| Dec 4, 2025 | New CVE Received | kernel.org |
Volerion