Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked When `ksmbd_vfs_kern_path_locked` met an error and it is not the last entry, it will exit without restoring changed path buffer. But later this buffer may be used as the filename for creation.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.1.113, < 6.1.125 |
References
- https://git.kernel.org/stable/c/13e41c58c74baa71f34c0830eaa3c29d53a6e964Patch
- https://git.kernel.org/stable/c/2ac538e40278a2c0c051cca81bcaafc547d61372Patch
- https://git.kernel.org/stable/c/51669f4af5f7959565b48e55691ba92fabf5c587Patch
- https://git.kernel.org/stable/c/65b31b9d992c0fb0685c51a0cf09993832734fc4Patch
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
FAQ
What is CVE-2025-21660?
CVE-2025-21660 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked When `ksmbd_vfs_kern_path_locked` met an error and it is not th...
How severe is CVE-2025-21660?
CVE-2025-21660 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-21660?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.