diff options
author | Dongliang Mu <[email protected]> | 2022-05-06 15:24:25 +0800 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2022-05-06 10:46:36 +0200 |
commit | fc4ef9d5724973193bfa5ebed181dba6de3a56db (patch) | |
tree | d72e367f8d76596c65a45e7e6acb537b7f3bab51 /scripts/gdb/vmlinux-gdb.py | |
parent | 1af20714fedad238362571620be0bd690ded05b6 (diff) |
HID: bigben: fix slab-out-of-bounds Write in bigben_probe
There is a slab-out-of-bounds Write bug in hid-bigbenff 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.
Reported-by: syzkaller <[email protected]>
Signed-off-by: Dongliang Mu <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions