android_kernel_samsung_a7y1.../drivers/usb/misc
Johan Hovold 6d564ca9c3 USB: adutux: fix interface sanity check
commit 3c11c4bed02b202e278c0f5c319ae435d7fb9815 upstream.

Make sure to use the current alternate setting when verifying the
interface descriptors to avoid binding to an invalid interface.

Failing to do so could cause the driver to misbehave or trigger a WARN()
in usb_submit_urb() that kernels with panic_on_warn set would choke on.

Fixes: 03270634e242 ("USB: Add ADU support for Ontrak ADU devices")
Cc: stable <stable@vger.kernel.org>     # 2.6.19
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191210112601.3561-3-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 13:06:41 +02:00
..
sisusbvga
adutux.c USB: adutux: fix interface sanity check 2020-04-07 13:06:41 +02:00
appledisplay.c appledisplay: fix error handling in the scheduled work 2020-04-07 12:37:37 +02:00
chaoskey.c USB: chaoskey: fix use-after-free on release 2020-04-07 08:09:05 +02:00
cypress_cy7c63.c
cytherm.c
ehset.c
emi26.c
emi62.c
ezusb.c
ftdi-elan.c
idmouse.c USB: idmouse: fix interface sanity checks 2020-04-07 13:06:37 +02:00
iowarrior.c USB: iowarrior: fix use-after-free after driver unbind 2020-04-07 08:09:01 +02:00
isight_firmware.c
Kconfig USB: rio500: Remove Rio 500 kernel driver 2020-04-07 08:08:28 +02:00
ldusb.c USB: ldusb: fix control-message timeout 2020-04-07 09:28:14 +02:00
legousbtower.c USB: legousbtower: fix a signedness bug in tower_probe() 2020-04-07 09:27:56 +02:00
lvstest.c
Makefile USB: rio500: Remove Rio 500 kernel driver 2020-04-07 08:08:28 +02:00
trancevibrator.c
usb_u132.h
usb3503.c
usblcd.c USB: usblcd: fix I/O after disconnect 2020-04-07 08:09:21 +02:00
usbled.c
usbsevseg.c
usbtest.c
uss720.c
yurex.c USB: yurex: fix NULL-derefs on disconnect 2020-04-07 08:08:33 +02:00