ksmbd: fix possible memory leak in smb2_lock()
mainline inclusion from mainline-v6.3-rc1 commit d3ca9f7a category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I6KEWO?from=project-issue CVE: CVE-2023-1193 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d3ca9f7aeba793d74361d88a8800b2f205c9236b -------------------------------- argv needs to be free when setup_async_work fails or when the current process is woken up. Fixes: e2f34481 ("cifsd: add server-side procedures for SMB3") Cc: stable@vger.kernel.org Signed-off-by:Hangyu Hua <hbh25y@gmail.com> Acked-by:
Namjae Jeon <linkinjeon@kernel.org> Signed-off-by:
Steve French <stfrench@microsoft.com> Signed-off-by:
Zizhi Wo <wozizhi@huawei.com>
Loading
Please sign in to comment