linux/drivers/usb/serial
Alan Stern db5c8b5244 USB: fix port probing and removal in garmin_gps
This patch (as1615) fixes a bug in the Garmin USB serial driver.  It
uses attach, disconnect, and release routines to carry out actions
that should be handled by port_probe and port_remove routines, because
they access port-specific data.

The bug causes an oops when the device in unplugged, because the
private data for each port structure now gets erased when the port is
unbound from the driver, resulting in a null-pointer dereference.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported--by: Markus Schauler <mschauler@gmail.com>
Tested-by: Markus Schauler <mschauler@gmail.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-16 10:25:55 -07:00
..
aircable.c
ark3116.c USB: ark3116: fix NULL-pointer dereference 2012-10-16 10:25:54 -07:00
belkin_sa.c USB: belkin_sa: fix port-data memory leak 2012-10-16 10:25:54 -07:00
belkin_sa.h
bus.c
ch341.c USB: Serial: ch341.c: remove debug module parameter 2012-09-18 10:15:17 +01:00
console.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
cp210x.c USB: cp210x: fix port-data memory leak 2012-10-16 10:25:54 -07:00
cyberjack.c USB: cyberjack: fix port-data memory leak 2012-10-16 10:25:54 -07:00
cypress_m8.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
cypress_m8.h
digi_acceleport.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
empeg.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
ezusb_convert.pl
f81232.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
ftdi_sio_ids.h USB: ftdi_sio: add TIAO USB Multi-Protocol Adapter (TUMPA) support 2012-09-24 13:42:42 -07:00
ftdi_sio.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
ftdi_sio.h
funsoft.c
garmin_gps.c USB: fix port probing and removal in garmin_gps 2012-10-16 10:25:55 -07:00
generic.c USB: Serial: usb-serial: remove debug module parameter 2012-09-18 16:05:17 +01:00
hp4x.c
io_16654.h
io_edgeport.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
io_edgeport.h
io_ionsp.h
io_tables.h
io_ti.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
io_ti.h
io_usbvend.h
ipaq.c
ipw.c
ir-usb.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
iuu_phoenix.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
iuu_phoenix.h
Kconfig USB: ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc 2012-09-26 14:20:28 -07:00
keyspan_pda.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
keyspan.h
kl5kusb105.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
kl5kusb105.h
kobil_sct.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
kobil_sct.h
Makefile USB: ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc 2012-09-26 14:20:28 -07:00
Makefile-keyspan_pda_fw
mct_u232.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
mct_u232.h
metro-usb.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
mos7720.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
mos7840.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
moto_modem.c
navman.c USB: Serial: navman.c: remove debug module parameter 2012-09-18 10:16:01 +01:00
omninet.c USB: Serial: omninet: Fix compiler warning. 2012-09-18 15:27:50 +01:00
opticon.c USB: Serial: opticon.c: remove debug module parameter 2012-09-18 10:16:08 +01:00
option.c USB: option: blacklist QMI interface on ZTE MF683 2012-09-21 09:42:02 -07:00
oti6858.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
oti6858.h
pl2303.c USB: pl2303: fix port-data memory leak 2012-10-16 10:25:54 -07:00
pl2303.h
qcaux.c USB: qcaux: add Pantech vendor class match 2012-09-21 09:42:02 -07:00
qcserial.c
quatech2.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
safe_serial.c USB: serial: safe-serial: fix up printk() usage 2012-09-18 17:07:24 +01:00
siemens_mpi.c
sierra.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
spcp8x5.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
ssu100.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
symbolserial.c USB: Serial: symbolserial.c: remove debug module parameter 2012-09-18 10:16:20 +01:00
ti_usb_3410_5052.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
ti_usb_3410_5052.h
usb_debug.c
usb_wwan.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
usb-serial.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
usb-wwan.h
visor.c USB: Serial: visor.c: remove debug module parameter 2012-09-18 10:16:28 +01:00
visor.h
vivopay-serial.c
whiteheat.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
whiteheat.h
zio.c
zte_ev.c