2 matches found
CVE-2026-31477
A flaw was found in ksmbd in the Linux kernel. Error handling issues within the smb2lock function can lead to memory leaks. Additionally, an allocation failure in smbflockinit can result in a NULL pointer dereference, causing the kernel to crash. This vulnerability could allow a local attacker to...
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...