Re: [PATCH] ksmbd: free aux buffer if ksmbd_iov_pin_rsp_read fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2024-02-05 20:19 GMT+09:00, Fedor Pchelkin <pchelkin@xxxxxxxxx>:
> 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@xxxxxxxxxxxxxxx
> Signed-off-by: Fedor Pchelkin <pchelkin@xxxxxxxxx>
Applied it to #ksmbd-for-next-next.
Thanks for your patch!




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux