{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-40242","id":"CVE-2025-40242","title":"gfs2: Fix unlikely race in gdlm_put_lock","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: Fix unlikely race in gdlm_put_lock\n\nIn gdlm_put_lock(), there is a small window of time in which the\nDFL_UNMOUNT flag has been set but the lockspace hasn't been released,\nyet.  In that window, dlm may still call gdlm_ast() and gdlm_bast().\nTo prevent it from dereferencing freed glock objects, only free the\nglock if the lock","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: Fix unlikely race in gdlm_put_lock\n\nIn gdlm_put_lock(), there is a small window of time in which the\nDFL_UNMOUNT flag has been set but the lockspace hasn't been released,\nyet.  In that window, dlm may still call gdlm_ast() and gdlm_bast().\nTo prevent it from dereferencing freed glock objects, only free the\nglock if the lockspace has actually been released.","published":"2025-12-04T15:31:31.497Z","updated":"2026-11-17T07:03:30.587126469Z","reserved":"2025-04-16T07:20:57.181Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d1340f80f0b8066321b499a376780da00560e857","lessThan":"5fdc1474e678eea1700aa266c0b7c2c96f81dd0d","status":"affected","versionType":"git"},{"version":"d1340f80f0b8066321b499a376780da00560e857","lessThan":"4913592a3358f6ec366b8346b733d5e2360b08e1","status":"affected","versionType":"git"},{"version":"d1340f80f0b8066321b499a376780da00560e857","lessThan":"279bde3bbb0ac0bad5c729dfa85983d75a5d7641","status":"affected","versionType":"git"},{"version":"d1340f80f0b8066321b499a376780da00560e857","lessThan":"64c61b4ac645222fa7b724cef616c1f862a72a40","status":"affected","versionType":"git"},{"version":"d1340f80f0b8066321b499a376780da00560e857","lessThan":"28c4d9bc0708956c1a736a9e49fee71b65deee81","status":"affected","versionType":"git"},{"version":"6aa628c45875e7b8cca81ed9447a12a0e8f3504a","status":"affected","versionType":"git"},{"version":"a97e75203733be0a4263a78fb7b29352be150c1c","status":"affected","versionType":"git"},{"version":"3554b46204e67333e1fb8be0e93936fb08267c80","status":"affected","versionType":"git"},{"version":"5cff77b9827a956d076168b56775aad23bce87e4","status":"affected","versionType":"git"},{"version":"8deedce385d220f90e435f534d71d27526273515","status":"affected","versionType":"git"},{"version":"2225a5cd2fbc2ef0e0f78e585db3844f60416a39","status":"affected","versionType":"git"},{"version":"02e838963fdaa6ce8570b5389aecdc6cf1fb40b0","status":"affected","versionType":"git"},{"version":"01eb3106f43335fdc02111358dae80a5c3fd324d","status":"affected","versionType":"git"},{"version":"4.4.284","lessThan":"4.5","status":"affected","versionType":"semver"},{"version":"4.9.283","lessThan":"4.10","status":"affected","versionType":"semver"},{"version":"4.14.247","lessThan":"4.15","status":"affected","versionType":"semver"},{"version":"4.19.207","lessThan":"4.20","status":"affected","versionType":"semver"},{"version":"5.4.148","lessThan":"5.5","status":"affected","versionType":"semver"},{"version":"5.10.67","lessThan":"5.11","status":"affected","versionType":"semver"},{"version":"5.13.19","lessThan":"5.14","status":"affected","versionType":"semver"},{"version":"5.14.6","lessThan":"5.15","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"6.1.168","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.131","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.56","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.6","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/5fdc1474e678eea1700aa266c0b7c2c96f81dd0d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4913592a3358f6ec366b8346b733d5e2360b08e1","tags":["web"]},{"url":"https://git.kernel.org/stable/c/279bde3bbb0ac0bad5c729dfa85983d75a5d7641","tags":["web"]},{"url":"https://git.kernel.org/stable/c/64c61b4ac645222fa7b724cef616c1f862a72a40","tags":["web"]},{"url":"https://git.kernel.org/stable/c/28c4d9bc0708956c1a736a9e49fee71b65deee81","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40242.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40242","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00156,"epssPercentile":0.04812,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-40242","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40242","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-40242","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-40242","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}