alistair23-linux/drivers/usb/serial
Johan Hovold 299d7572e4 USB: serial: console: fix use-after-free after failed setup
Make sure to reset the USB-console port pointer when console setup fails
in order to avoid having the struct usb_serial be prematurely freed by
the console code when the device is later disconnected.

Fixes: 73e487fdb7 ("[PATCH] USB console: fix disconnection issues")
Cc: stable <stable@vger.kernel.org>	# 2.6.18
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
2017-10-09 12:33:31 +02:00
..
aircable.c USB: serial: aircable: use calc_num_endpoints to verify endpoints 2017-03-28 11:00:08 +02:00
ark3116.c USB: serial: ark3116: simplify endpoint sanity check 2017-03-16 10:33:42 +01:00
belkin_sa.c
belkin_sa.h
bus.c
ch341.c USB: serial: ch341: change initial line-control settings 2017-01-16 12:32:21 +01:00
console.c USB: serial: console: fix use-after-free after failed setup 2017-10-09 12:33:31 +02:00
cp210x.c USB: serial: cp210x: add support for ELV TFD500 2017-09-19 09:42:28 +02:00
cyberjack.c USB: serial: cyberjack: simplify endpoint check 2017-03-16 10:33:42 +01:00
cypress_m8.c USB: serial: cypress_m8: remove unused variable 2017-01-16 12:26:58 +01:00
cypress_m8.h
digi_acceleport.c USB: serial: digi_acceleport: simplify endpoint check 2017-03-16 10:33:42 +01:00
empeg.c
ezusb_convert.pl
f81232.c
f81534.c USB: serial: f81534: clean up port bulk-out setup 2017-03-28 11:14:13 +02:00
ftdi_sio.c USB: serial: ftdi_sio: add id for Cypress WICED dev board 2017-09-18 10:32:51 +02:00
ftdi_sio.h
ftdi_sio_ids.h USB: serial: ftdi_sio: add id for Cypress WICED dev board 2017-09-18 10:32:51 +02:00
garmin_gps.c USB: serial: garmin_gps: fix memory leak on failed URB submit 2017-01-04 10:37:15 +01:00
generic.c USB: serial: relax generic driver bulk-endpoint requirement 2017-03-28 10:54:39 +02:00
io_16654.h
io_edgeport.c USB: serial: constify static arrays 2017-04-19 09:45:43 +02:00
io_edgeport.h
io_ionsp.h
io_ti.c USB: serial: io_ti: fix div-by-zero in set_termios 2017-05-15 11:52:04 +02:00
io_ti.h
io_usbvend.h
ipaq.c USB: serial: ipaq: always register a single port 2017-03-28 11:00:09 +02:00
ipw.c
ir-usb.c USB: serial: ir-usb: fix big-endian baud-rate debug printk 2017-05-15 11:50:34 +02:00
iuu_phoenix.c USB: serial: iuu_phoenix: drop excessive sanity checks 2017-04-10 09:42:00 +02:00
iuu_phoenix.h
Kconfig USB: serial: add uPD78F0730 USB to Serial Adaptor Driver 2017-01-26 10:18:17 +01:00
keyspan.c USB: serial: keyspan: drop header file 2017-02-15 17:42:28 +01:00
keyspan_pda.c USB: serial: keyspan_pda: simplify endpoint check 2017-03-16 10:33:44 +01:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c USB: serial: kl5kusb105: remove unused termios structure 2017-01-16 13:00:22 +01:00
kl5kusb105.h
kobil_sct.c USB: serial: kobil_sct: simplify endpoint check 2017-03-16 10:33:44 +01:00
kobil_sct.h
Makefile USB: serial: add uPD78F0730 USB to Serial Adaptor Driver 2017-01-26 10:18:17 +01:00
Makefile-keyspan_pda_fw
mct_u232.c USB: serial: mct_u232: fix big-endian baud-rate handling 2017-05-15 11:51:15 +02:00
mct_u232.h
metro-usb.c USB: serial: metro-usb: drop redundant URB reinitialisation 2017-02-08 19:28:02 +01:00
mos7720.c USB: serial: constify static arrays 2017-04-19 09:45:43 +02:00
mos7840.c USB: serial: drop termios-flag debugging 2017-03-29 16:14:35 +02:00
mxuport.c USB: serial: mxuport: clean up port bulk-out setup 2017-03-28 11:14:13 +02:00
navman.c
omninet.c USB: serial: omninet: use generic write implementation 2017-03-28 11:13:55 +02:00
opticon.c USB: serial: opticon: simplify endpoint check 2017-03-16 10:33:45 +01:00
option.c USB: serial: option: add support for TP-Link LTE module 2017-09-18 10:41:02 +02:00
oti6858.c USB: serial: oti6858: simplify endpoint check 2017-03-16 10:33:46 +01:00
oti6858.h
pl2303.c USB: serial: pl2303: add new ATEN device id 2017-08-10 11:55:00 -07:00
pl2303.h USB: serial: pl2303: add new ATEN device id 2017-08-10 11:55:00 -07:00
qcaux.c
qcserial.c USB: serial: qcserial: add Dell DW5818, DW5819 2017-10-03 15:33:50 +02:00
quatech2.c USB: serial: quatech2: drop redundant tty_buffer_request_room 2017-04-10 09:42:00 +02:00
safe_serial.c USB: serial: safe_serial: move __inline__ before return type 2017-07-12 16:26:04 -07:00
sierra.c USB: serial: allow subdrivers to modify port-endpoint mapping 2017-03-28 10:54:39 +02:00
spcp8x5.c USB: serial: spcp8x5: simplify endpoint check 2017-03-16 10:33:46 +01:00
ssu100.c USB: serial: drop unused ASYNC flags 2017-01-26 09:49:13 +01:00
symbolserial.c USB: serial: symbolserial: simplify endpoint check 2017-03-16 10:33:47 +01:00
ti_usb_3410_5052.c USB: serial: drop termios-flag debugging 2017-03-29 16:14:35 +02:00
upd78f0730.c USB: serial: upd78f0730: make constants static 2017-06-01 11:07:50 +02:00
usb-serial-simple.c USB: serial: simple: add support for another Infineon flashloader 2016-09-12 10:19:41 +02:00
usb-serial.c USB: serial: propagate late probe errors 2017-06-21 09:40:07 +02:00
usb-wwan.h
usb_debug.c USB patches for 4.12-rc1 2017-05-04 18:03:51 -07:00
usb_wwan.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
visor.c USB: serial: visor: clean up treo endpoint hack 2017-03-28 11:14:11 +02:00
visor.h
whiteheat.c USB: serial: whiteheat: simplify endpoint check 2017-03-16 10:33:47 +01:00
whiteheat.h
wishbone-serial.c
xsens_mt.c