Files
linux/drivers
F.A.Sulaiman dedfc35a2d HID: betop: fix slab-out-of-bounds Write in betop_probe
commit 1e4ce418b1 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-06 15:56:03 +02:00
..
2021-07-20 16:05:42 +02:00
2021-09-15 09:50:44 +02:00
2021-03-04 11:38:21 +01:00
2020-12-03 10:00:23 +01:00
2021-07-14 16:55:53 +02:00
2020-10-27 19:23:04 +01:00
2020-12-30 11:53:53 +01:00
2021-08-26 08:35:46 -04:00
2021-09-26 14:09:02 +02:00