]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 20 Apr 2016 05:03:42 +0000 (01:03 -0400)
commit4b8d00f5056e278b053ca183e15f4a8e48d79336
treef8f2fe9b469f69514606d8a24b3926e138bd56e6
parent6b659bbd154edee7a34aedebc925dc611922e472
USB: mct_u232: add sanity checking in probe

[ Upstream commit 4e9a0b05257f29cf4b75f3209243ed71614d062e ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/usb/serial/mct_u232.c