summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorF.A.Sulaiman <asha.16@itfac.mrt.ac.lk>2021-08-24 20:37:30 +0530
committerJiri Kosina <jkosina@suse.cz>2021-09-15 16:31:21 +0200
commit1e4ce418b1cb1a810256b5fb3fd33d22d1325993 (patch)
tree3e7e93b21eb520c9a0263b892516a2a90614ac9b /security
parent83ec91697412ae64d25dcca74597ed03029aa00d (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: 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 'security')
0 files changed, 0 insertions, 0 deletions