diff options
| author | F.A.Sulaiman <[email protected]> | 2021-08-24 20:37:30 +0530 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-09-30 10:08:02 +0200 |
| commit | 689e453a9b9c9158522b508876a1ff02ab0c3aa8 (patch) | |
| tree | 608735fa78ef32d6c994fd8e6728188938eb400f /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 2990cd10e1ddba92b72872a6646df1a37096c025 (diff) | |
HID: betop: fix slab-out-of-bounds Write in betop_probe
Syzbot reported slab-out-of-bounds Write bug in hid-betopff driver.
The problem is the driver assumes the device must have an input report but
some malicious devices violate this assumption.
So this patch checks hid_device's input is non empty before it's been used.
Reported-by: [email protected]
Signed-off-by: F.A. SULAIMAN <[email protected]>
Reviewed-by: Pavel Skripkin <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions