From: James Forshaw Date: Sat, 23 Aug 2014 21:39:48 +0000 (-0700) Subject: USB: whiteheat: Added bounds checking for bulk command response X-Git-Tag: omap-fixes-against-v3.17-rc3~24^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6817ae225cd650fb1c3295d769298c38b1eba818;p=pandora-kernel.git 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 Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed