CVE-2025-40242: gfs2: Fix unlikely race in gdlm_put_lock
Vulnerability summary
CVE-2025-40242 is a high (CVSS 7.0) vulnerability in linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.7% of scored vulnerabilities.
Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 35 · Related 33Timeline
- 04-12-2025PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.14%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.14% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu154 products
- linuxAll versions (No fix recorded) | < 6.8.0-106.106 | < 6.17.0-14.14
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1050.53 | < 6.17.0-1007.7
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linux< 6.1.170-1 | < 6.12.57-1 | < 6.17.6-1
Linux1 product
- linux≥ d1340f80f0b8066321b499a376780da00560e857, < 5fdc1474e678eea1700aa266c0b7c2c96f81dd0d | ≥ d1340f80f0b8066321b499a376780da00560e857, < 4913592a3358f6ec366b8346b733d5e2360b08e1 | ≥ d1340f80f0b8066321b499a376780da00560e857, < 279bde3bbb0ac0bad5c729dfa85983d75a5d7641 | ≥ d1340f80f0b8066321b499a376780da00560e857, < 64c61b4ac645222fa7b724cef616c1f862a72a40 | ≥ d1340f80f0b8066321b499a376780da00560e857, < 28c4d9bc0708956c1a736a9e49fee71b65deee81 | 6aa628c45875e7b8cca81ed9447a12a0e8f3504a | a97e75203733be0a4263a78fb7b29352be150c1c | 3554b46204e67333e1fb8be0e93936fb08267c80 | 5cff77b9827a956d076168b56775aad23bce87e4 | 8deedce385d220f90e435f534d71d27526273515 | 2225a5cd2fbc2ef0e0f78e585db3844f60416a39 | 02e838963fdaa6ce8570b5389aecdc6cf1fb40b0 | 01eb3106f43335fdc02111358dae80a5c3fd324d | ≥ 4.4.284, < 4.5 | ≥ 4.9.283, < 4.10 | ≥ 4.14.247, < 4.15 | ≥ 4.19.207, < 4.20 | ≥ 5.4.148, < 5.5 | ≥ 5.10.67, < 5.11 | ≥ 5.13.19, < 5.14 | ≥ 5.14.6, < 5.15 | 5.15
3 vendors · 156 products