USB: cypress_m8: add endpoint sanity check 38/76538/2
authorOliver Neukum <oneukum@suse.com>
Thu, 31 Mar 2016 16:04:25 +0000 (12:04 -0400)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 3 Aug 2016 02:35:09 +0000 (19:35 -0700)
commit8c41b079b562476cf698b0e7e24fac2770297ddb
tree2134400f664a33291baa3743842447cd52d90bda
parent1631069bebe3a645755716e80579fe6072a65f87
USB: cypress_m8: add endpoint sanity check

commit c55aee1bf0e6b6feec8b2927b43f7a09a6d5f754 upstream.

An attack using missing endpoints exists.

CVE-2016-3137

Change-Id: I58a2e1025bf8f3f0ba3ce9e949c1fa80f78636ce
Signed-off-by: Oliver Neukum <ONeukum@suse.com>
CC: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
drivers/usb/serial/cypress_m8.c