Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_lock If smb_lock->zero_len has value, ->llist of smb_lock is not delete and flock is old one. It will cause use-after-free on error handling routine.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.15, < 6.1.131 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/410ce35a2ed6d0e114132bba29af49b69880c8c7Patch
- https://git.kernel.org/stable/c/636e021646cf9b52ddfea7c809b018e91f2188cbPatch
- https://git.kernel.org/stable/c/84d2d1641b71dec326e8736a749b7ee76a9599fcPatch
- https://git.kernel.org/stable/c/8573571060ca466cbef2c6f03306b2cc7b883506Patch
- https://git.kernel.org/stable/c/a0609097fd10d618aed4864038393dd75131289ePatch
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
FAQ
What is CVE-2025-21945?
CVE-2025-21945 is a vulnerability with a CVSS score of 7.8 (HIGH). In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_lock If smb_lock->zero_len has value, ->llist of smb_lock is not delete and flock is old one. It...
How severe is CVE-2025-21945?
CVE-2025-21945 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-21945?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.