]> git.baikalelectronics.ru Git - kernel.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>
Thu, 31 Mar 2016 16:28:46 +0000 (09:28 -0700)
commit3312eee9bdec3eaa210f85ae641bcfeb04c4aace
tree610a3a8189a95e2f2c54e1fb1fd6bd7ec3bf96da
parentb926ee809c1bc4dff86cf0751667df48ce2855f3
USB: mct_u232: add sanity checking in probe

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>
CC: stable@vger.kernel.org
[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