diff options
author | Ma Ke <make_ruc2021@163.com> | 2023-09-18 05:40:59 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2023-09-18 18:13:01 +0300 |
commit | ffe3b7837a2bb421df84d0177481db9f52c93a71 (patch) | |
tree | fb997d77650d9caab0b302004d92035024f26bbb /tools/perf/scripts/python/stackcollapse.py | |
parent | 058574879853260a22bbec1f94221dfc5149d85c (diff) | |
download | linux-ffe3b7837a2bb421df84d0177481db9f52c93a71.tar.xz |
HID: holtek: fix slab-out-of-bounds Write in holtek_kbd_input_event
There is a slab-out-of-bounds Write bug in hid-holtek-kbd driver.
The problem is the driver assumes the device must have an input
but some malicious devices violate this assumption.
Fix this by checking hid_device's input is non-empty before its usage.
Signed-off-by: Ma Ke <make_ruc2021@163.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions