commit | fb4ff0f96de37c44236598e8b53fe43b1df36bf3 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Feb 09 16:37:53 2022 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Feb 16 12:54:29 2022 +0100 |
tree | 1ef506774631956d69d6c725d0bdf0cfe197075b | |
parent | 22ec1004728548598f4f5b4a079a7873409eacfd [diff] |
usb: gadget: rndis: check size of RNDIS_MSG_SET command commit 38ea1eac7d88072bbffb630e2b3db83ca649b826 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>