linux-imx/drivers/usb/misc
Alan Stern f2a780301a usb: usbtest: fix NULL pointer dereference
commit 7c80f9e4a5 upstream.

If the usbtest driver encounters a device with an IN bulk endpoint but
no OUT bulk endpoint, it will try to dereference a NULL pointer
(out->desc.bEndpointAddress).  The problem can be solved by adding a
missing test.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: Andrey Konovalov <andreyknvl@google.com>
Tested-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2017-11-11 13:34:40 +00:00
..
sisusbvga USB: sisusb: add device id for Magic Control USB video 2014-09-13 23:41:47 +01:00
adutux.c USB: adutux: NULL dereferences on disconnect 2015-02-20 00:49:28 +00:00
appledisplay.c usb/misc/appledisplay: Add 24" LED Cinema display 2013-05-13 15:02:13 +01:00
cypress_cy7c63.c USB: misc: cypress_cy7c63: fix up some sysfs attribute permissions 2010-11-15 14:04:14 -08:00
cytherm.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
emi26.c USB misc: make USB device id constant 2010-03-02 14:54:17 -08:00
emi62.c USB: emi62: remove __devinit* from the struct usb_device_id table 2012-09-12 03:37:13 +01:00
ftdi-elan.c USB: use usb_endpoint_maxp() instead of le16_to_cpu() 2011-08-23 09:47:40 -07:00
idmouse.c USB: idmouse: fix NULL-deref at probe 2017-07-18 18:38:32 +01:00
iowarrior.c USB: iowarrior: fix info ioctl on big-endian hosts 2017-09-15 18:30:42 +01:00
isight_firmware.c USB: isight: fix kernel bug when loading firmware 2012-01-12 11:29:38 -08:00
Kconfig USB: add driver for Meywa-Denki & Kayac YUREX 2010-10-22 10:21:51 -07:00
ldusb.c USB: use usb_endpoint_maxp() instead of le16_to_cpu() 2011-08-23 09:47:40 -07:00
legousbtower.c usb: misc: legousbtower: Fix NULL pointer deference 2017-02-23 03:50:50 +00:00
Makefile usb: makefile cleanup 2010-10-22 10:22:07 -07:00
rio500_usb.h
rio500.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
trancevibrator.c USB: misc: trancevibrator: fix up a sysfs attribute permission 2010-11-15 14:04:15 -08:00
usb_u132.h
usblcd.c USB: use usb_endpoint_maxp() instead of le16_to_cpu() 2011-08-23 09:47:40 -07:00
usbled.c usb: misc: usbled: fixed coding style issues 2011-08-22 15:21:16 -07:00
usbsevseg.c USB: usbsevseg: fix max length 2012-02-03 09:22:10 -08:00
usbtest.c usb: usbtest: fix NULL pointer dereference 2017-11-11 13:34:40 +00:00
uss720.c USB: uss720: fix NULL-deref at probe 2017-07-18 18:38:32 +01:00
yurex.c USB: yurex: Fix missing URB_NO_TRANSFER_DMA_MAP flag in urb 2012-05-11 13:13:54 +01:00