diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-09 16:37:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-16 12:43:54 +0100 |
commit | ff0a90739925734c91c7e39befe3f4378e0c1369 (patch) | |
tree | 993b77e1b286293268efcece9d57dc38068ce62b /lib/netdev-notifier-error-inject.c | |
parent | f3bcd744b0bc8dcc6cdb3ac5be20f54aecfb78a4 (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>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions