Files
linux/drivers
Szymon Heidrich f3bcd744b0 USB: gadget: validate interface OS descriptor requests
commit 75e5b4849b upstream.

Stall the control endpoint in case provided index exceeds array size of
MAX_CONFIG_INTERFACES or when the retrieved function pointer is null.

Signed-off-by: Szymon Heidrich <szymon.heidrich@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-16 12:43:54 +01:00
..
2021-12-14 10:04:48 +01:00
2021-12-14 10:04:48 +01:00
2022-02-08 18:15:30 +01:00
2021-11-26 11:48:20 +01:00
2020-12-29 13:45:00 +01:00