Vulnerabilities · 2025 · Linux
CVE-2025-21944
Linux Kernel vulnerability
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
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/11e0e74e14f1832a95092f2c98ed3b99f57797ee · Patch
- git.kernel.org/stable/c/2b70e3ac79eacbdf32571f7af48dd81cdd957ca8 · Patch
- git.kernel.org/stable/c/8994f0ce8259f812b4f4a681d8298c6ff682efaa · Patch
- git.kernel.org/stable/c/dbcd7fdd86f77529210fe8978154a81cd479844c · Patch
- git.kernel.org/stable/c/e26e2d2e15daf1ab33e0135caf2304a0cfa2744b · Patch
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html
- nvd.nist.gov/vuln/detail/CVE-2025-21944
- cve.org/CVERecord?id=CVE-2025-21944
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.