linux-uconsole/drivers/usb/serial
Johan Hovold 3d1eef3858 USB: serial: io_edgeport: fix epic endpoint lookup
commit 7c5a2df336 upstream.

Make sure to use the current alternate setting when looking up the
endpoints on epic devices 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: 6e8cf7751f ("USB: add EPIC support to the io_edgeport driver")
Cc: stable <stable@vger.kernel.org>     # 2.6.21
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191210112601.3561-5-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-17 20:34:38 +01:00
..
aircable.c
ark3116.c USB: serial: ark3116: move TIOCGSERIAL ioctl case to function 2018-01-09 12:53:27 +01:00
belkin_sa.c
belkin_sa.h
bus.c USB: serial: use tty_port_register_device() 2018-05-17 11:22:00 +02:00
ch341.c USB: serial: ch341: fix type promotion bug in ch341_control_in() 2018-07-04 15:40:54 +02:00
console.c USB: serial: console: fix reported terminal settings 2018-12-13 09:16:15 +01:00
cp210x.c usb-serial: cp201x: support Mark-10 digital force gauge 2019-12-01 09:17:41 +01:00
cyberjack.c USB: serial: cyberjack: use irqsave() in USB's complete callback 2018-06-26 14:13:53 +02:00
cypress_m8.c USB: serial: cypress_m8: fix interrupt-out transfer length 2019-11-24 08:20:16 +01:00
cypress_m8.h
digi_acceleport.c USB: serial: digi_acceleport: rename tty flag variable 2018-06-27 07:59:03 +02:00
empeg.c
ezusb_convert.pl
f81232.c USB: serial: f81232: fix interrupt worker not stop 2019-05-10 17:54:10 +02:00
f81534.c USB: serial: f81534: fix reading old/new IC config 2019-12-13 08:51:29 +01:00
ftdi_sio.c USB: serial: ftdi_sio: add device IDs for U-Blox C099-F9P 2019-12-05 09:21:26 +01:00
ftdi_sio.h
ftdi_sio_ids.h USB: serial: ftdi_sio: add device IDs for U-Blox C099-F9P 2019-12-05 09:21:26 +01:00
garmin_gps.c
generic.c USB: serial: fix unthrottle races 2019-05-16 19:41:18 +02:00
io_16654.h
io_edgeport.c USB: serial: io_edgeport: fix epic endpoint lookup 2019-12-17 20:34:38 +01:00
io_edgeport.h
io_ionsp.h
io_ti.c USB: serial: io_ti: use irqsave() in USB's complete callback 2018-06-26 14:34:32 +02:00
io_ti.h USB: serial: io_ti: fix array underflow in completion handler 2018-08-27 11:52:34 +02:00
io_usbvend.h
ipaq.c
ipw.c
ir-usb.c USB: serial: cast sizeof() to int when comparing with error code 2018-06-25 10:34:31 +02:00
iuu_phoenix.c USB: serial: iuu_phoenix: drop redundant input-speed re-encoding 2018-07-16 14:12:11 +02:00
iuu_phoenix.h
Kconfig USB: serial: simple: add libtransistor console 2018-04-16 09:19:53 +02:00
keyspan.c USB: serial: keyspan: fix NULL-derefs on open() and write() 2019-10-17 13:45:01 -07:00
keyspan_pda.c USB: serial: keyspan_pda: fix modem-status error handling 2018-07-06 10:32:14 +02:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c USB: serial: kl5kusb105: remove KLSI device id 2018-07-11 10:11:29 +02:00
kl5kusb105.h USB: serial: kl5kusb105: remove KLSI device id 2018-07-11 10:11:29 +02:00
kobil_sct.c USB: serial: kobil_sct: add missing version error handling 2018-07-06 10:42:42 +02:00
kobil_sct.h
Makefile
Makefile-keyspan_pda_fw
mct_u232.c
mct_u232.h
metro-usb.c
mos7720.c USB: serial: mos7720: fix remote wakeup 2019-12-01 09:17:43 +01:00
mos7840.c USB: serial: mos7840: fix remote wakeup 2019-12-01 09:17:43 +01:00
mxuport.c
navman.c
omninet.c
opticon.c
option.c USB: serial: option: add support for Foxconn T77W968 LTE modules 2019-12-01 09:17:44 +01:00
oti6858.c
oti6858.h
pl2303.c USB: serial: pl2303: add Allied Telesis VT-Kit3 2019-06-19 08:18:06 +02:00
pl2303.h USB: serial: pl2303: add Allied Telesis VT-Kit3 2019-06-19 08:18:06 +02:00
qcaux.c
qcserial.c USB: serial: qcserial: add Sierra Wireless EM7565 2017-12-15 09:41:46 +01:00
quatech2.c USB: serial: quatech2: use irqsave() in USB's complete callback 2018-06-26 14:52:15 +02:00
safe_serial.c
sierra.c USB: serial: sierra: use irqsave() in USB's complete callback 2018-06-26 15:22:25 +02:00
spcp8x5.c
ssu100.c USB: serial: cast sizeof() to int when comparing with error code 2018-06-25 10:34:31 +02:00
symbolserial.c USB: serial: symbolserial: use irqsave() in USB's complete callback 2018-06-26 15:25:01 +02:00
ti_usb_3410_5052.c USB: serial: ti_usb_3410_5052: fix port-close races 2019-10-29 09:19:46 +01:00
upd78f0730.c
usb-serial-simple.c USB: serial: simple: add Motorola Tetra TPG2200 device id 2019-01-31 08:14:34 +01:00
usb-serial.c USB: serial: fix runtime PM after driver unbind 2019-10-17 13:45:03 -07:00
usb-wwan.h
usb_debug.c USB: serial: usb_debug: add new USB device id 2017-11-28 09:54:11 +01:00
usb_wwan.c USB: serial: usb_wwan: use irqsave() in USB's complete callback 2018-06-26 15:28:15 +02:00
visor.c USB: serial: visor: handle potential invalid device configuration 2018-05-02 09:37:19 +02:00
visor.h
whiteheat.c USB: serial: whiteheat: fix line-speed endianness 2019-11-06 13:06:18 +01:00
whiteheat.h USB: serial: whiteheat: fix line-speed endianness 2019-11-06 13:06:18 +01:00
wishbone-serial.c
xsens_mt.c