1
0
Fork 0
alistair23-linux/drivers/usb/class
Tobias Herzog 1bb9914e17 cdc-acm: fix possible invalid access when processing notification
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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-01 11:05:03 +02:00
..
Kconfig USB: regroup all depends on USB within an if USB block 2013-04-09 16:49:07 -07:00
Makefile USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
cdc-acm.c cdc-acm: fix possible invalid access when processing notification 2017-04-01 11:05:03 +02:00
cdc-acm.h cdc-acm: handle read pipe errors 2016-11-21 11:36:16 +01:00
cdc-wdm.c usb: cdc-wdm: remove logically dead code 2017-02-15 10:35:15 -08:00
usblp.c USB: usblp: refactor endpoint retrieval 2017-03-23 13:54:08 +01:00
usbtmc.c USB: usbtmc: refactor endpoint retrieval 2017-03-29 11:53:15 +02:00