CVE-2025-21660
kernel: ksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked
Loading…
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · January 21, 2025
Updated · November 25, 2025
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.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified