A vulnerability was found in Linux Kernel up to 6.1.124/6.6.71/6.12.9. It has been rated as critical. Affected by this issue is the function ksmbd_vfs_kern_path_locked. The manipulation leads to buffer overflow.

This vulnerability is handled as CVE-2025-21660. The attack needs to be approached within the local network. There is no exploit available.

It is recommended to upgrade the affected component.