CVE-2025-21945 | Linux Kernel up to 6.1.130/6.6.82/6.12.18/6.13.6 ksmbd smb2_lock use after free (Nessus ID 234309 / WID-SEC-2025-0683)
A vulnerability was found in Linux Kernel up to 6.1.130/6.6.82/6.12.18/6.13.6. It has been rated as critical. This affects the function smb2_lock of the component ksmbd. Performing a manipulation results in use after free.
This vulnerability was named CVE-2025-21945. The attack needs to be approached within the local network. There is no available exploit.
Upgrading the affected component is advised.