summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2015-09-23 20:41:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-23 21:15:19 +0200
commitcbb4be652d374f64661137756b8f357a1827d6a4 (patch)
tree762454d9669951c2cd6b8f23cc1bd6192c8f42d3 /drivers/clk
parentxhci: init command timeout timer earlier to avoid deleting it uninitialized (diff)
downloadlinux-cbb4be652d374f64661137756b8f357a1827d6a4.tar.xz
linux-cbb4be652d374f64661137756b8f357a1827d6a4.zip
USB: whiteheat: fix potential null-deref at probe
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> Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions