kernel_optimize_test/drivers/usb/serial
Greg Kroah-Hartman 4842ed5bfc USB: serial: visor: handle potential invalid device configuration
If we get an invalid device configuration from a palm 3 type device, we
might incorrectly parse things, and we have the potential to crash in
"interesting" ways.

Fix this up by verifying the size of the configuration passed to us by
the device, and only if it is correct, will we handle it.

Note that this also fixes an information leak of slab data.

Reported-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[ johan: add comment about the info leak ]
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
2018-05-02 09:37:19 +02:00
..
aircable.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
ark3116.c USB: serial: ark3116: move TIOCGSERIAL ioctl case to function 2018-01-09 12:53:27 +01:00
belkin_sa.c
belkin_sa.h
bus.c
ch341.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
console.c
cp210x.c USB: serial: cp210x: add ID for NI USB serial console 2018-04-16 11:19:11 +02:00
cyberjack.c
cypress_m8.c
cypress_m8.h
digi_acceleport.c
empeg.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
ezusb_convert.pl
f81232.c
f81534.c USB: serial: f81534: fix tx error on some baud rate 2018-01-11 11:00:25 +01:00
ftdi_sio_ids.h Revert "USB: serial: ftdi_sio: add Id for Physik Instrumente E-870" 2018-03-29 18:37:28 +02:00
ftdi_sio.c USB: serial: ftdi_sio: use jtag quirk for Arrow USB Blaster 2018-04-16 11:19:21 +02:00
ftdi_sio.h
garmin_gps.c
generic.c
io_16654.h
io_edgeport.c USB: serial: io_edgeport: fix possible sleep-in-atomic 2017-12-14 10:32:29 +01:00
io_edgeport.h
io_ionsp.h
io_ti.c
io_ti.h
io_usbvend.h
ipaq.c
ipw.c
ir-usb.c
iuu_phoenix.c USB: serial: iuu_phoenix: remove redundant assignment of DIV to itself 2017-11-27 13:51:07 +01:00
iuu_phoenix.h
Kconfig USB: serial: simple: add libtransistor console 2018-04-16 09:19:53 +02:00
keyspan_pda.c
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c
kl5kusb105.c
kl5kusb105.h
kobil_sct.c
kobil_sct.h
Makefile
Makefile-keyspan_pda_fw USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00
mct_u232.c
mct_u232.h
metro-usb.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
mos7720.c USB: serial: remove redundant initializations of 'mos_parport' 2018-01-22 15:34:37 +01:00
mos7840.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
mxuport.c
navman.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
omninet.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
opticon.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
option.c USB: serial: option: adding support for ublox R410M 2018-05-02 09:15:22 +02:00
oti6858.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
oti6858.h
pl2303.c USB: serial: pl2303: new device id for Chilitag 2018-01-25 10:39:59 +01:00
pl2303.h USB: serial: pl2303: new device id for Chilitag 2018-01-25 10:39:59 +01:00
qcaux.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
qcserial.c USB: serial: qcserial: add Sierra Wireless EM7565 2017-12-15 09:41:46 +01:00
quatech2.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
safe_serial.c
sierra.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
spcp8x5.c
ssu100.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
symbolserial.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
ti_usb_3410_5052.c
upd78f0730.c
usb_debug.c USB: serial: usb_debug: add new USB device id 2017-11-28 09:54:11 +01:00
usb_wwan.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
usb-serial-simple.c USB: serial: simple: add libtransistor console 2018-04-16 09:19:53 +02:00
usb-serial.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
usb-wwan.h
visor.c USB: serial: visor: handle potential invalid device configuration 2018-05-02 09:37:19 +02:00
visor.h
whiteheat.c
whiteheat.h
wishbone-serial.c
xsens_mt.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00