commit | 5c22837adca7c30b66121cf18ad3e160134268d4 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oliver@neukum.org> | Thu Apr 26 21:59:10 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 26 16:59:44 2012 -0700 |
tree | cc1c54f3354ea2768860c615c1b27100eda02145 | |
parent | 151b61284776be2d6f02d48c23c3625678960b97 [diff] |
USB: cdc-wdm: fix race leading leading to memory corruption 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 <oneukum@suse.de> Tested-by: Bjørn Mork <bjorn@mork.no> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>