summaryrefslogtreecommitdiffstats
path: root/tools/usb
diff options
context:
space:
mode:
authorJames Forshaw <forshaw@google.com>2014-08-23 14:39:48 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-24 14:15:08 -0500
commit6817ae225cd650fb1c3295d769298c38b1eba818 (patch)
treed69bd853fbfce025a5f5b52af6085f61ae8e8808 /tools/usb
parentc3d3af52904b789cecd5a3915f0593bdbdc8dc58 (diff)
downloadlinux-6817ae225cd650fb1c3295d769298c38b1eba818.tar.bz2
USB: whiteheat: Added bounds checking for bulk command response
This patch fixes a potential security issue in the whiteheat USB driver which might allow a local attacker to cause kernel memory corrpution. This is due to an unchecked memcpy into a fixed size buffer (of 64 bytes). On EHCI and XHCI busses it's possible to craft responses greater than 64 bytes leading a buffer overflow. Signed-off-by: James Forshaw <forshaw@google.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions