CVE Database
/

CVE-2025-21660

Back to search

CVE-2025-21660

Published: Jan 21, 2025

Modified: May 23, 2026

PUBLISHED

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.

VendorProductVersions

Linux

Linux

affected
d1b2d2a9c912fc7b788985fbaf944e80f4b3f2af - < 13e41c58c74baa71f34c0830eaa3c29d53a6e964
affected
6ab95e27b77730de3fa2d601db3764490c5eede2 - < 65b31b9d992c0fb0685c51a0cf09993832734fc4
affected
c5a709f08d40b1a082e44ffcde1aea4d2822ddd5 - < 51669f4af5f7959565b48e55691ba92fabf5c587
affected
c5a709f08d40b1a082e44ffcde1aea4d2822ddd5 - < 2ac538e40278a2c0c051cca81bcaafc547d61372
affected
d205cb1a13b37b2660df70a972dedc8c4ba1c2e8

+5 more versions

Linux

Linux

affected
6.12
unaffected
0 - < 6.12
unaffected
6.1.125 - <= 6.1.*
unaffected
6.6.72 - <= 6.6.*
unaffected
6.12.10 - <= 6.12.*

+1 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now