linux-imx/drivers/usb/class
Tobias Herzog 16f2c3dd6a cdc-acm: fix possible invalid access when processing notification
commit 1bb9914e17 upstream.

Notifications may only be 8 bytes long. Accessing the 9th and
10th byte of unimplemented/unknown notifications may be insecure.
Also check the length of known notifications before accessing anything
behind the 8th byte.

Signed-off-by: Tobias Herzog <t-herzog@gmx.de>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2017-08-26 02:13:58 +01:00
..
cdc-acm.c cdc-acm: fix possible invalid access when processing notification 2017-08-26 02:13:58 +01:00
cdc-acm.h cdc-acm: fix wrong pipe type on rx interrupt xfers 2016-11-20 01:01:33 +00:00
cdc-wdm.c cdc-wdm: fix endianness bug in debug statements 2015-08-07 00:32:00 +01:00
Kconfig USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
Makefile USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
usblp.c usblp: do not set TASK_INTERRUPTIBLE before lock 2015-12-30 02:25:56 +00:00
usbtmc.c USB: usbtmc: add missing endpoint sanity check 2017-07-18 18:38:35 +01:00