aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2013-09-11 21:56:51 +0200
committerJiri Kosina <[email protected]>2013-09-13 15:11:34 +0200
commit78214e81a1bf43740ce89bb5efda78eac2f8ef83 (patch)
tree82d36fa7693f2c6aea5a55d4eb64e57542fcae93 /tools/perf/util/trace-event-scripting.c
parent331415ff16a12147d57d5c953f3a961b7ede348b (diff)
HID: zeroplus: validate output report details
The zeroplus HID driver was not checking the size of allocated values in fields it used. A HID device could send a malicious output report that would cause the driver to write beyond the output report allocation during initialization, causing a heap overflow: [ 1442.728680] usb 1-1: New USB device found, idVendor=0c12, idProduct=0005 ... [ 1466.243173] BUG kmalloc-192 (Tainted: G W ): Redzone overwritten CVE-2013-2889 Signed-off-by: Kees Cook <[email protected]> Cc: [email protected] Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions