Hangyu Hua 6bf555ed89 ksmbd: fix possible memory leak in smb2_lock()
commit d3ca9f7aeba793d74361d88a8800b2f205c9236b upstream.

argv needs to be free when setup_async_work fails or when the current
process is woken up.

Fixes: e2f34481b24d ("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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-10 09:34:07 +01:00
..
2021-11-11 19:22:58 -06:00
2021-07-02 16:27:10 +09:00
2022-04-14 20:56:13 -05:00
2023-02-01 08:34:37 +01:00
2022-10-05 01:15:44 -05:00