{"id":"CVE-2025-21944","published":"2025-04-01T15:41:07Z","modified":"2026-05-11T21:09:33Z","title":"ksmbd: fix bug on trap in smb2_lock","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix bug on trap in smb2_lock\n\nIf lock count is greater than 1, flags could be old value.\nIt should be checked with flags of smb_lock, not flags.\nIt will cause bug-on trap from locks_free_lock in error handling\nroutine.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00176,"percentile":0.07092,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/11e0e74e14f1832a95092f2c98ed3b99f57797ee","tags":[]},{"url":"https://git.kernel.org/stable/c/8994f0ce8259f812b4f4a681d8298c6ff682efaa","tags":[]},{"url":"https://git.kernel.org/stable/c/dbcd7fdd86f77529210fe8978154a81cd479844c","tags":[]},{"url":"https://git.kernel.org/stable/c/2b70e3ac79eacbdf32571f7af48dd81cdd957ca8","tags":[]},{"url":"https://git.kernel.org/stable/c/e26e2d2e15daf1ab33e0135caf2304a0cfa2744b","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.42}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 11e0e74e14f1832a95092f2c98ed3b99f57797ee",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8994f0ce8259f812b4f4a681d8298c6ff682efaa",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < dbcd7fdd86f77529210fe8978154a81cd479844c",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 2b70e3ac79eacbdf32571f7af48dd81cdd957ca8",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < e26e2d2e15daf1ab33e0135caf2304a0cfa2744b"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"euvd":{"id":"EUVD-2025-9377","exploited":false,"provenance":"source"}}