linux-stable/drivers/usb/serial
Pavel Skripkin cfdc67acc7 USB: serial: io_edgeport: fix memory leak in edge_startup
sysbot found memory leak in edge_startup().
The problem was that when an error was received from the usb_submit_urb(),
nothing was cleaned up.

Reported-by: syzbot+59f777bdcbdd7eea5305@syzkaller.appspotmail.com
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Fixes: 6e8cf7751f ("USB: add EPIC support to the io_edgeport driver")
Cc: stable@vger.kernel.org	# 2.6.21: c5c0c55598
Signed-off-by: Johan Hovold <johan@kernel.org>
2021-03-09 09:05:37 +01:00
..
aircable.c USB: serial: drop redundant transfer-buffer casts 2020-07-09 09:20:17 +02:00
ark3116.c usb: Replace lkml.org links with lore 2021-02-11 13:50:46 +01:00
belkin_sa.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
belkin_sa.h USB: serial: Use the correct style for SPDX License Identifier 2020-04-22 09:26:47 +02:00
bus.c USB: serial: drop bogus to_usb_serial_port() checks 2021-02-09 13:14:30 +01:00
ch341.c USB: serial: ch341: add new Product ID 2021-03-09 09:05:36 +01:00
console.c USB: serial: console: add support for flow control 2020-07-02 10:38:45 +02:00
cp210x.c USB: serial: cp210x: add some more GE USB IDs 2021-03-09 09:05:36 +01:00
cyberjack.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
cypress_m8.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
cypress_m8.h USB: serial: cypress_m8: enable Simply Automated UPB PIM 2020-06-23 09:56:17 +02:00
digi_acceleport.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
empeg.c docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
ezusb_convert.pl
f81232.c USB: serial: f81232: drop short control-transfer checks 2021-01-18 14:26:46 +01:00
f81534.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
ftdi_sio.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
ftdi_sio.h USB: Fix up terminology 2020-07-01 14:04:04 +02:00
ftdi_sio_ids.h USB: serial: ftdi_sio: add support for FreeCalypso JTAG+UART adapters 2020-09-29 09:40:11 +02:00
garmin_gps.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
generic.c USB: serial: drop redundant transfer-buffer casts 2020-07-09 09:20:17 +02:00
io_16654.h USB: serial: Use the correct style for SPDX License Identifier 2020-04-22 09:26:47 +02:00
io_edgeport.c USB: serial: io_edgeport: fix memory leak in edge_startup 2021-03-09 09:05:37 +01:00
io_edgeport.h USB: serial: Use the correct style for SPDX License Identifier 2020-04-22 09:26:47 +02:00
io_ionsp.h USB: serial: Use the correct style for SPDX License Identifier 2020-04-22 09:26:47 +02:00
io_ti.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
io_ti.h USB: serial: Use the correct style for SPDX License Identifier 2020-04-22 09:26:47 +02:00
io_usbvend.h USB: serial: Use the correct style for SPDX License Identifier 2020-04-22 09:26:47 +02:00
ipaq.c
ipw.c
ir-usb.c USB: serial: ir-usb: Silence harmless uninitialized variable warning 2020-02-10 10:06:51 +01:00
iuu_phoenix.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
iuu_phoenix.h USB: serial: Use the correct style for SPDX License Identifier 2020-04-22 09:26:47 +02:00
Kconfig USB: serial: add MaxLinear/Exar USB to Serial driver 2021-01-21 10:49:37 +01:00
keyspan.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
keyspan_pda.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
kl5kusb105.h
kobil_sct.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
kobil_sct.h
Makefile USB: serial: add MaxLinear/Exar USB to Serial driver 2021-01-21 10:49:37 +01:00
Makefile-keyspan_pda_fw
mct_u232.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
mct_u232.h USB: serial: Use the correct style for SPDX License Identifier 2020-04-22 09:26:47 +02:00
metro-usb.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
mos7720.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
mos7840.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
mxuport.c USB: serial: mxuport: drop short control-transfer check 2021-01-18 14:26:14 +01:00
navman.c
omninet.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
opticon.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
option.c USB-serial updates for 5.12-rc1 2021-02-10 15:58:04 +01:00
oti6858.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
oti6858.h USB: serial: Use the correct style for SPDX License Identifier 2020-04-22 09:26:47 +02:00
pl2303.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
pl2303.h USB: serial: pl2303: add device-id for HP GC device 2020-09-29 12:50:34 +02:00
qcaux.c
qcserial.c USB: serial: qcserial: fix altsetting probing 2020-10-01 09:37:30 +02:00
quatech2.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
safe_serial.c
sierra.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
spcp8x5.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
ssu100.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
symbolserial.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
ti_usb_3410_5052.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
upd78f0730.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
usb-serial-simple.c USB: serial: simple: Add Motorola Solutions TETRA MTP3xxx and MTP85xx 2020-01-13 15:04:35 +01:00
usb-serial.c USB: serial: fix tty cleanup-op kernel-doc 2020-03-11 09:39:01 +01:00
usb-wwan.h USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
usb_debug.c
usb_wwan.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
visor.c docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
visor.h USB: serial: Use the correct style for SPDX License Identifier 2020-04-22 09:26:47 +02:00
whiteheat.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
whiteheat.h USB: serial: Use the correct style for SPDX License Identifier 2020-04-22 09:26:47 +02:00
wishbone-serial.c
xr_serial.c USB: serial: xr: fix NULL-deref on disconnect 2021-03-09 09:05:36 +01:00
xsens_mt.c