Re: [syzbot] KASAN: slab-out-of-bounds Read in thrustmaster_probe

From: Pavel Skripkin
Date: Mon Feb 21 2022 - 03:12:19 EST


Hi Jiri,

On 2/21/22 11:01, Jiri Kosina wrote:
Looks like missing check for malicious device. Need to check number of
endpoints before accessing endpoints array


#syz test
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

Thanks Pavel. Could you please send the patch with proper changelog and
SOB my way?


I've already posted the patch :) You can find it here [1] (you are in CC of course)



[1] https://lore.kernel.org/all/20220220160114.26882-1-paskripkin@xxxxxxxxx/




With regards,
Pavel Skripkin