Vulnerabilities · 2025 · Linux
CVE-2025-21660
Linux Kernel vulnerability
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.
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/13e41c58c74baa71f34c0830eaa3c29d53a6e964 · Patch
- git.kernel.org/stable/c/2ac538e40278a2c0c051cca81bcaafc547d61372 · Patch
- git.kernel.org/stable/c/51669f4af5f7959565b48e55691ba92fabf5c587 · Patch
- git.kernel.org/stable/c/65b31b9d992c0fb0685c51a0cf09993832734fc4 · Patch
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- nvd.nist.gov/vuln/detail/CVE-2025-21660
- cve.org/CVERecord?id=CVE-2025-21660
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.