CVE-2025-21660: ksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix unexpectedly changed path in ksmbdvfskernpathlocked
When ksmbdvfskernpathlocked 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.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21660?
CVE-2025-21660 is classified as a medium severity vulnerability affecting the Linux kernel.
How do I fix CVE-2025-21660?
To fix CVE-2025-21660, update your Linux kernel to the latest version that contains the security patch.
What systems are affected by CVE-2025-21660?
CVE-2025-21660 affects systems running specific versions of the Linux kernel that utilize the ksmbd service.
Is CVE-2025-21660 a remote exploit?
CVE-2025-21660 can potentially be exploited remotely if proper security measures are not in place.
What does CVE-2025-21660 impact in the Linux kernel?
CVE-2025-21660 impacts the path buffer management within the ksmbd_vfs_kern_path_locked function in the Linux kernel.