Vulnerability in Linux
CVE-2025-21944
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix bug on trap in smb2_lock
If lock count is greater than 1, flags could be old value.
It should be checked with flags of smb_lock, not flags.
It will cause bug-on trap from locks_free_lock in error handling
routine.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 5.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 0626e6641f6b467447c81dd7678a69c66f7746cf, 5.15, 0
- Linux Kernel — versions 6.14
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/11e0e74e14f1832a95092f2c98ed3b99f57797ee (Patch)
- git.kernel.org/stable/c/8994f0ce8259f812b4f4a681d8298c6ff682efaa (Patch)
- git.kernel.org/stable/c/dbcd7fdd86f77529210fe8978154a81cd479844c (Patch)
- git.kernel.org/stable/c/2b70e3ac79eacbdf32571f7af48dd81cdd957ca8 (Patch)
- git.kernel.org/stable/c/e26e2d2e15daf1ab33e0135caf2304a0cfa2744b (Patch)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html