NetSight
medium5.5

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 val…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.15 before 6.1.131
from 6.2 before 6.6.83
from 6.7 before 6.12.19
from 6.13 before 6.13.7
Version 6.14

Weakness classification

References