CVE-2025-21660

high

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.

References

https://git.kernel.org/stable/c/65b31b9d992c0fb0685c51a0cf09993832734fc4

https://git.kernel.org/stable/c/51669f4af5f7959565b48e55691ba92fabf5c587

https://git.kernel.org/stable/c/2ac538e40278a2c0c051cca81bcaafc547d61372

https://git.kernel.org/stable/c/13e41c58c74baa71f34c0830eaa3c29d53a6e964

Details

Source: Mitre, NVD

Published: 2025-01-21

Updated: 2025-01-21

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High