aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2015-09-23 11:41:42 -0700
committerMoyster <oysterized@gmail.com>2016-08-26 20:44:40 +0200
commit91029185dd8336afaa32ddde70cd588f1e9fc346 (patch)
tree50c23f0d30200f698c381bdc6c5cfcf608d76816 /scripts
parent5b87578fe4c21b53b90560eccf0fa263c479c0cd (diff)
USB: whiteheat: fix potential null-deref at probe
commit cbb4be652d374f64661137756b8f357a1827d6a4 upstream. Fix potential null-pointer dereference at probe by making sure that the required endpoints are present. The whiteheat driver assumes there are at least five pairs of bulk endpoints, of which the final pair is used for the "command port". An attempt to bind to an interface with fewer bulk endpoints would currently lead to an oops. Fixes CVE-2015-5257. Reported-by: Moein Ghasemzadeh <moein@istuary.com> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions