linux/drivers/usb
Greg Kroah-Hartman 16d19b6561 UPSTREAM: usb: gadget: rndis: check size of RNDIS_MSG_SET command
Check the size of the RNDIS_MSG_SET command given to us before
attempting to respond to an invalid message size.

Bug: 162326603
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>
(cherry picked from commit 38ea1eac7d)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I61168b48de4ca79a3a28dd4d3b81779bc25554c1
2022-02-14 18:39:11 +00:00
..
atm
c67x00
cdns3 usb: cdns3: fix race condition before setting doorbell 2021-10-06 15:55:46 +02:00
chipidea USB: chipidea: fix interrupt deadlock 2021-11-18 14:03:52 +01:00
class USB: cdc-acm: fix break reporting 2021-10-13 10:04:23 +02:00
common This is the 5.10.73 stable release 2021-10-13 10:28:21 +02:00
core This is the 5.10.78 stable release 2021-11-06 14:22:24 +01:00
dwc2 This is the 5.10.80 stable release 2021-11-19 11:50:41 +01:00
dwc3 UPSTREAM: Revert "usb: dwc3: dwc3-qcom: Enable tx-fifo-resize property by default" 2022-02-11 17:30:24 -08:00
early
gadget UPSTREAM: usb: gadget: rndis: check size of RNDIS_MSG_SET command 2022-02-14 18:39:11 +00:00
host UPSTREAM: usb: xhci-mtk: fix issue of out-of-bounds array access 2022-02-11 17:30:24 -08:00
image
isp1760
misc USB: iowarrior: fix control-message timeouts 2021-11-18 14:03:51 +01:00
mon
mtu3 usb: mtu3: fix the wrong HS mult value 2021-09-12 08:58:28 +02:00
musb usb: musb: select GENERIC_PHY instead of depending on it 2021-11-18 14:04:18 +01:00
phy usb: phy: tahvo: add IRQ check 2021-09-15 09:50:40 +02:00
renesas_usbhs usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop() 2021-07-28 14:35:44 +02:00
roles usb: roles: Call try_module_get() from usb_role_switch_find_by_fwnode() 2021-05-14 09:49:55 +02:00
serial USB: serial: keyspan: fix memleak on probe errors 2021-11-18 14:03:51 +01:00
storage usb-storage: Add compatibility quirk flags for iODD 2531/2541 2021-11-12 14:58:32 +01:00
typec UPSTREAM: usb: typec: tcpci: don't handle vSafe0V event if it's not enabled 2022-02-11 17:30:23 -08:00
usbip usbip:vhci_hcd USB port can get stuck in the disabled state 2021-09-18 13:40:33 +02:00
Kconfig
Makefile
usb-skeleton.c