Vulnerability in Linux

CVE-2025-21660

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 10.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Public exploits and proof-of-concept code

Also mentioned in 2 other repositories (oogasawa/Utility-security, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References