CVE-2025-21944

published 1 Apr 2025 · updated 11 May 2026

ksmbd: fix bug on trap in smb2_lock

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 11e0e74e14f1832a95092f2c98ed3b99f57797ee, Kernel 2b70e3ac79eacbdf32571f7af48dd81cdd957ca8, Kernel 8994f0ce8259f812b4f4a681d8298c6ff682efaa and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=0626e6641f6b467447c81dd7678a69c66f7746cf <11e0e74e14f1832a95092f2c98ed3b99f57797ee, >=0626e6641f6b467447c81dd7678a69c66f7746cf <2b70e3ac79eacbdf32571f7af48dd81cdd957ca8, >=0626e6641f6b467447c81dd7678a69c66f7746cf <8994f0ce8259f812b4f4a681d8298c6ff682efaa, >=0626e6641f6b467447c81dd7678a69c66f7746cf <dbcd7fdd86f77529210fe8978154a81cd479844c, >=0626e6641f6b467447c81dd7678a69c66f7746cf <e26e2d2e15daf1ab33e0135caf2304a0cfa2744b11e0e74e14f1832a95092f2c98ed3b99f57797ee, 2b70e3ac79eacbdf32571f7af48dd81cdd957ca8, 8994f0ce8259f812b4f4a681d8298c6ff682efaa, dbcd7fdd86f77529210fe8978154a81cd479844c, e26e2d2e15daf1ab33e0135caf2304a0cfa2744b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21944 severity on Zeptric[![CVE-2025-21944](https://zeptric.io/badge/cve/CVE-2025-21944.svg)](https://zeptric.io/cve/CVE-2025-21944)