]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: mct_u232: add sanity checking in probe
authorOliver Neukum <oneukum@suse.com>
Thu, 31 Mar 2016 16:04:24 +0000 (12:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 16:08:41 +0000 (09:08 -0700)
commit9deac9454b7a5643a09829f4731276cea6697b72
treebe2b1b79394ce2f6674b64818d64141eb0a2b21f
parentb6c6426252e2653407811f46c883661955b9f5fa
USB: mct_u232: add sanity checking in probe

commit 4e9a0b05257f29cf4b75f3209243ed71614d062e upstream.

An attack using the lack of sanity checking in probe is known. This
patch checks for the existence of a second port.

CVE-2016-3136

Signed-off-by: Oliver Neukum <ONeukum@suse.com>
[johan: add error message ]
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mct_u232.c