From: Oliver Neukum Date: Thu, 26 Apr 2012 19:59:10 +0000 (+0200) Subject: USB: cdc-wdm: fix race leading leading to memory corruption X-Git-Tag: v3.2.17~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=670515c56290b7b7435f066e9bc0999fa1fc29b7;p=pandora-kernel.git USB: cdc-wdm: fix race leading leading to memory corruption commit 5c22837adca7c30b66121cf18ad3e160134268d4 upstream. This patch fixes a race whereby a pointer to a buffer would be overwritten while the buffer was in use leading to a double free and a memory leak. This causes crashes. This bug was introduced in 2.6.34 Signed-off-by: Oliver Neukum Tested-by: Bjørn Mork Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed