CVE-2025-21944

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf < 11e0e74e14f1832a95092f2c98ed3b99f57797eeaffected
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf < 8994f0ce8259f812b4f4a681d8298c6ff682efaaaffected
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf < dbcd7fdd86f77529210fe8978154a81cd479844caffected
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf < 2b70e3ac79eacbdf32571f7af48dd81cdd957ca8affected
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf < e26e2d2e15daf1ab33e0135caf2304a0cfa2744baffected
LinuxLinux5.15affected
LinuxLinux0 < 5.15unaffected
LinuxLinux6.1.131 <= 6.1.*unaffected
LinuxLinux6.6.83 <= 6.6.*unaffected
LinuxLinux6.12.19 <= 6.12.*unaffected
LinuxLinux6.13.7 <= 6.13.*unaffected
LinuxLinux6.14 <= *unaffected

Weaknesses

ADP Enrichment

CVE Program Container

Additional References

References