]> www.infradead.org Git - users/jedix/linux-maple.git/commit
USB: cypress_m8: add endpoint sanity check
authorOliver Neukum <oneukum@suse.com>
Thu, 31 Mar 2016 16:04:25 +0000 (12:04 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 26 May 2016 22:46:44 +0000 (15:46 -0700)
commit91aca509929f05840d6a93550eea4c5f0630d9c0
treeb5dbafe84119a95788ad2835a635e8b3fb9f1780
parent1d8d5fb1ebe3fbb3494f09f5244b31294b5fa915
USB: cypress_m8: add endpoint sanity check

Orabug: 23331166

[ Upstream commit c55aee1bf0e6b6feec8b2927b43f7a09a6d5f754 ]

An attack using missing endpoints exists.

CVE-2016-3137

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: Sasha Levin <sasha.levin@oracle.com>
(cherry picked from commit 45f4b9ca0cf8e53df5adc20d11ffb4b2076dd2c5)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/usb/serial/cypress_m8.c