linux_old1/drivers/usb/serial
Luiz Fernando Capitulino 704936a25b [PATCH] usbserial: Fixes use-after-free in serial_open().
If the device is disconnected while serial_open() is executing and
either try_module_get() or the device specific open function fails, the
kref_put() call in the 'bailout_kref_put' label will free the memory
pointed out by 'port'.

The subsequent dereferences in the 'bailout_kref_put' label will be
invalid.

The fix is just to assure kref_put() is called after any 'port' usage.

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-05-12 11:58:09 -07:00
..
ChangeLog.history [PATCH] USB Serial: rename ChangeLog.old 2005-11-17 11:29:52 -08:00
Kconfig [PATCH] USB: add driver for funsoft usb serial device 2006-04-14 11:12:27 -07:00
Makefile [PATCH] USB: add driver for funsoft usb serial device 2006-04-14 11:12:27 -07:00
Makefile-keyspan_pda_fw Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
airprime.c [PATCH] USB: Add Sieraa Wireless 580 evdo card to airprime.c 2006-05-12 11:58:08 -07:00
anydata.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
belkin_sa.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
belkin_sa.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bus.c [PATCH] Add usb_serial_bus_type probe and remove methods 2006-01-13 11:26:09 -08:00
console.c [PATCH] USB: remove __init from usb_console_setup 2006-04-14 11:12:27 -07:00
cp2101.c [PATCH] USB: cp2101: add new device IDs 2006-03-20 14:50:02 -08:00
cyberjack.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
cypress_m8.c [PATCH] USB: cypress_m8: add support for the Nokia ca42-version 2 cable 2006-03-20 14:50:00 -08:00
cypress_m8.h [PATCH] USB: cypress_m8: add support for the Nokia ca42-version 2 cable 2006-03-20 14:50:00 -08:00
digi_acceleport.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
empeg.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
ezusb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ezusb_convert.pl Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ftdi_sio.c [PATCH] USB: ftdi_sio: add device id for ACT Solutions HomePro ZWave interface 2006-05-08 23:43:56 -07:00
ftdi_sio.h [PATCH] USB: ftdi_sio: add device id for ACT Solutions HomePro ZWave interface 2006-05-08 23:43:56 -07:00
funsoft.c [PATCH] USB: add driver for funsoft usb serial device 2006-04-14 11:12:27 -07:00
garmin_gps.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
generic.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
hp4x.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
io_16654.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_edgeport.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
io_edgeport.h [PATCH] USB: Use ARRAY_SIZE macro 2006-01-04 13:51:43 -08:00
io_fw_boot.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_fw_boot2.h [PATCH] USB: mark various usb tables const 2006-01-04 13:51:40 -08:00
io_fw_down.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_fw_down2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_fw_down3.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_ionsp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_tables.h [PATCH] USB Serial: move name to driver structure 2005-10-28 16:47:48 -07:00
io_ti.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
io_ti.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_usbvend.h [PATCH] USB: Spelling fixes for drivers/usb. 2005-05-03 23:31:52 -07:00
ipaq.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
ipaq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipw.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
ir-usb.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
keyspan.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
keyspan.h [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
keyspan_mpr_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_pda.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_pda.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
keyspan_pda_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa18x_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa19_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa19qi_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa19qw_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa19w_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa26msg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa28_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa28msg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa28x_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa28xa_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa28xb_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa49msg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa49w_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa49wlc_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa90msg.h [PATCH] USB: Spelling fixes for drivers/usb. 2005-05-03 23:31:52 -07:00
kl5kusb105.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
kl5kusb105.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kobil_sct.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
kobil_sct.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mct_u232.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
mct_u232.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
navman.c [PATCH] USB serial: add navman driver 2006-03-20 14:50:03 -08:00
omninet.c [PATCH] USB: omninet: fix up debugging comments 2006-03-20 14:50:03 -08:00
option.c [PATCH] Overrun in option-card USB driver 2006-04-11 06:24:15 -07:00
pl2303.c [PATCH] USB: add new iTegno usb CDMA 1x card support for pl2303 2006-04-27 10:28:57 -07:00
pl2303.h [PATCH] USB: add new iTegno usb CDMA 1x card support for pl2303 2006-04-27 10:28:57 -07:00
safe_serial.c [PATCH] USB: Use ARRAY_SIZE macro 2006-01-04 13:51:43 -08:00
ti_fw_3410.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ti_fw_5052.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ti_usb_3410_5052.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
ti_usb_3410_5052.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usb-serial.c [PATCH] usbserial: Fixes use-after-free in serial_open(). 2006-05-12 11:58:09 -07:00
usb-serial.h [PATCH] USB serial: Converts port semaphore to mutexes. 2006-04-14 11:12:20 -07:00
visor.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
visor.h [PATCH] USB: visor.c id for gspda smartphone 2006-02-28 12:42:07 -08:00
whiteheat.c [PATCH] USB: Resource leak fix for whiteheat driver 2006-04-27 10:28:57 -07:00
whiteheat.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
whiteheat_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xircom_pgs.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xircom_pgs_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00