In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_lock If smb_lock->zero_len has value, ->llist of smb_lock is not delete and flock is old one. It will cause use-after-free on error handling routine.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2025040136-CVE-2025-21945-d791@gregkh/T