diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2016-05-08 23:20:59 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2016-08-22 22:38:12 +0100 |
commit | f2fd7720aacd702811dd6f863e801a76e97a8722 (patch) | |
tree | abcccf86db616f6fadce9395346ab09027386459 /drivers/hid | |
parent | af361f444281aeddd08e24fc93e5849306b13c56 (diff) | |
download | linux-stable-f2fd7720aacd702811dd6f863e801a76e97a8722.tar.gz linux-stable-f2fd7720aacd702811dd6f863e801a76e97a8722.tar.bz2 linux-stable-f2fd7720aacd702811dd6f863e801a76e97a8722.zip |
usb: gadget: avoid exposing kernel stack
commit ffeee83aa0461992e8a99a59db2df31933e60362 upstream.
Function in_rq_cur copies random bytes from the stack.
Zero the memory instead.
Fixes: 132fcb460839 ("usb: gadget: Add Audio Class 2.0 Driver")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
[bwh: Backported to 3.16: adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions