CVE Catalog

CVE-2025-40242

HighCVSS 7.0
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

In the Linux kernel's GFS2 filesystem, there is a race condition in gdlm_put_lock. Between setting the DFL_UNMOUNT flag and releasing the lockspace, DLM may call callbacks on a freed glock object, leading to use-after-free.

Risk Assessment

A local attacker could exploit this vulnerability to cause a kernel panic or potentially escalate privileges.

Recommendation

Apply the kernel patch for GFS2. Update the kernel to a version containing the fix for CVE-2025-40242.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS