CVE-2025-21660
MediumIn 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 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
6.1.113,
6.6.54,
6.10.13,
6.11.2,
6.12
and later are affected. Fixed in
6.1.125,
6.6.72,
6.12.10,
6.13
and their respective stable series.
References
The following references provide additional information about CVE-2025-21660 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/13e41c58c74baa71f34c0830eaa3c29d53a6e964
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2ac538e40278a2c0c051cca81bcaafc547d61372
-
PatchKernel patch commithttps://git.kernel.org/stable/c/51669f4af5f7959565b48e55691ba92fabf5c587
Frequently asked questions
-
What is CVE-2025-21660?
CVE-2025-21660 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 6.1.113 onward and has been patched in 6.1.125, 6.6.72, 6.12.10 and others. CVE-2025-21660 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-21660?
CVE-2025-21660 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-21660?
Yes — CVE-2025-21660 has been patched. Fixed versions include 6.1.125, 6.6.72, 6.12.10 and others. If you are running Linux kernel 6.1.113 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-21660 actively exploited?
No — CVE-2025-21660 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.