Home
last modified time | relevance | path

Searched hist:"6 cef4e68" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/smb/server/
H A Dsmb2pdu.c6cef4e68 Mon Feb 05 05:19:16 CST 2024 Fedor Pchelkin <pchelkin@ispras.ru> ksmbd: free aux buffer if ksmbd_iov_pin_rsp_read fails

commit 108a020c64434fed4b69762879d78cd24088b4c7 upstream.

ksmbd_iov_pin_rsp_read() doesn't free the provided aux buffer if it
fails. Seems to be the caller's responsibility to clear the buffer in
error case.

Found by Linux Verification Center (linuxtesting.org).

Fixes: e2b76ab8b5c9 ("ksmbd: add support for read compound")
Cc: stable@vger.kernel.org
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>