]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: digi_acceleport: do sanity checking for the number of ports
authorOliver Neukum <oneukum@suse.com>
Thu, 31 Mar 2016 16:04:26 +0000 (12:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Mar 2016 16:28:46 +0000 (09:28 -0700)
commit5a07975ad0a36708c6b0a5b9fea1ff811d0b0c1f
tree9d97f46b47846dc9a1aa483e503d9e99db13856a
parentc55aee1bf0e6b6feec8b2927b43f7a09a6d5f754
USB: digi_acceleport: do sanity checking for the number of ports

The driver can be crashed with devices that expose crafted descriptors
with too few endpoints.

See: http://seclists.org/bugtraq/2016/Mar/61

Signed-off-by: Oliver Neukum <ONeukum@suse.com>
[johan: fix OOB endpoint check and add error messages ]
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/digi_acceleport.c