diff options
author | Kees Cook <[email protected]> | 2013-09-11 21:56:54 +0200 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2013-09-13 15:12:39 +0200 |
commit | 0fb6bd06e06792469acc15bbe427361b56ada528 (patch) | |
tree | 9c389f833e25a00ca172274e359aefe77fa713dc /tools/perf/util/trace-event-scripting.c | |
parent | 41df7f6d43723deb7364340b44bc5d94bf717456 (diff) |
HID: LG: validate HID output report details
A HID device could send a malicious output report that would cause the
lg, lg3, and lg4 HID drivers to write beyond the output report allocation
during an event, causing a heap overflow:
[ 325.245240] usb 1-1: New USB device found, idVendor=046d, idProduct=c287
...
[ 414.518960] BUG kmalloc-4096 (Not tainted): Redzone overwritten
Additionally, while lg2 did correctly validate the report details, it was
cleaned up and shortened.
CVE-2013-2893
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