7.0high
gfs2: Fix unlikely race in gdlm_put_lock
- Severity
- 7.0high CVSS:3.1 by Linux
- Exploit likelihood
- 0.16% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d1340f80f0b8066321b499a376780da00560e857 before 5fdc1474e678eea1700aa266c0b7c2c96f81dd0d, from d1340f80f0b8066321b499a376780da00560e857 before 4913592a3358f6ec366b8346b733d5e2360b08e1, from d1340f80f0b8066321b499a376780da00560e857 before 279bde3bbb0ac0bad5c729dfa85983d75a5d7641, from d1340f80f0b8066321b499a376780da00560e857 before 64c61b4ac645222fa7b724cef616c1f862a72a40, from d1340f80f0b8066321b499a376780da00560e857 before 28c4d9bc0708956c1a736a9e49fee71b65deee81, 6aa628c45875e7b8cca81ed9447a12a0e8f3504a, a97e75203733be0a4263a78fb7b29352be150c1c, 3554b46204e67333e1fb8be0e93936fb08267c80 and 14 more Not affected: before 5.15, from 6.1.168 up to 6.1.*, from 6.6.131 up to 6.6.*, from 6.12.56 up to 6.12.*, from 6.17.6 up to 6.17.*, from 6.18 up to * | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: gfs2: Corrección de una condición de carrera improbable en gdlm_put_lock En gdlm_put_lock(), existe una pequeña ventana de tiempo en la que la bandera DFL_UNMOUNT ha sido establecida, pero el lockspace aún no ha sido liberado. En esa ventana, dlm aún puede llamar a gdlm_ast() y gdlm_bast(). Para evitar que desreferencie objetos glock liberados, solo se debe liberar el glock si el lockspace ha sido realmente liberado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-40242 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2025-40242 changed 2026-10-19 | Public domain |