An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2. fs/ksmbd/smb2pdu.c omits a kfree call in certain smb2_handle_negotiate error conditions, aka a memory leak.
https://www.zerodayinitiative.com/advisories/ZDI-22-1687/
https://github.com/torvalds/linux/commit/aa7253c2393f6dcd6a1468b0792f6da76edad917
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.2