linux/drivers/usb/class
Sven Schnelle 52340b63f6 USB: CDC ACM: Fix NULL pointer dereference
commit 99f347caa4 upstream.

If a device specifies zero endpoints in its interface descriptor,
the kernel oopses in acm_probe(). Even though that's clearly an
invalid descriptor, we should test wether we have all endpoints.
This is especially bad as this oops can be triggered by just
plugging a USB device in.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-14 10:00:43 -07:00
..
cdc-acm.c USB: CDC ACM: Fix NULL pointer dereference 2012-09-14 10:00:43 -07:00
cdc-acm.h USB: cdc_acm: Fix oops when Droids MuIn LCD is connected 2011-05-11 15:14:28 -07:00
cdc-wdm.c USB: cdc-wdm: fix lockup on error in wdm_read 2012-07-16 08:47:50 -07:00
Kconfig
Makefile
usblp.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
usbtmc.c USB: assign instead of equal in usbtmc.c 2011-08-17 10:55:51 -07:00