usb: gadget: rndis: check size of RNDIS_MSG_SET command
stable inclusion from linux-4.19.230 commit 38ea1eac CVE: CVE-2022-25375 -------------------------------- commit 38ea1eac upstream. Check the size of the RNDIS_MSG_SET command given to us before attempting to respond to an invalid message size. Reported-by:Szymon Heidrich <szymon.heidrich@gmail.com> Cc: stable@kernel.org Tested-by:
Szymon Heidrich <szymon.heidrich@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com> Reviewed-by:
Wang Weiyang <wangweiyang2@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment