CVE-2025-21944: ksmbd: fix bug on trap in smb2_lock
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix bug on trap in smb2lock
If lock count is greater than 1, flags could be old value. It should be checked with flags of smblock, not flags. It will cause bug-on trap from locksfreelock in error handling routine.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21944?
CVE-2025-21944 has been classified as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2025-21944?
To fix CVE-2025-21944, update your Linux kernel to the latest stable version that includes the security patch.
What impact does CVE-2025-21944 have on my system?
CVE-2025-21944 may lead to a bug-on trap during error handling related to lock counts in the Linux kernel's ksmbd.
Which versions of the Linux kernel are affected by CVE-2025-21944?
CVE-2025-21944 affects specific versions of the Linux kernel that utilize the ksmbd module, particularly prior to the patch release.
Is CVE-2025-21944 a remote exploit vulnerability?
CVE-2025-21944 does not appear to be a remote exploit vulnerability, but it can affect local processes related to file locking.