aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorF.A.Sulaiman <asha.16@itfac.mrt.ac.lk>2021-08-24 20:37:30 +0530
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-09-30 10:08:02 +0200
commit689e453a9b9c9158522b508876a1ff02ab0c3aa8 (patch)
tree608735fa78ef32d6c994fd8e6728188938eb400f /tools/perf/scripts/python/bin
parentmedia: dvb-frontends/cxd2099: Remove repeated verbose license text (diff)
downloadlinux-689e453a9b9c9158522b508876a1ff02ab0c3aa8.tar.gz
linux-689e453a9b9c9158522b508876a1ff02ab0c3aa8.zip
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: syzbot+07efed3bc5a1407bd742@syzkaller.appspotmail.com Signed-off-by: F.A. SULAIMAN <asha.16@itfac.mrt.ac.lk> Reviewed-by: Pavel Skripkin <paskripkin@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions