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
..
Kconfig
Makefile
Makefile-keyspan_pda_fw
aircable.c
ark3116.c
belkin_sa.c
belkin_sa.h
bus.c
ch341.c
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
cypress_m8.c
cypress_m8.h
digi_acceleport.c
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
generic.c
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
keyspan.c
keyspan_pda.c
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c
kl5kusb105.h
kobil_sct.c
kobil_sct.h
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
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
option.c USB: serial: option: add support for TP-Link LTE module 2017-09-18 10:41:02 +02:00
oti6858.c
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
spcp8x5.c
ssu100.c
symbolserial.c
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.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
visor.c USB: serial: visor: clean up treo endpoint hack 2017-03-28 11:14:11 +02:00
visor.h
whiteheat.c
whiteheat.h
wishbone-serial.c
xsens_mt.c