Re: KASAN: slab-out-of-bounds Read in vcs_scr_readw

From: syzbot
Date: Fri Jan 03 2020 - 04:48:04 EST


syzbot suspects this bug was fixed by commit:

commit 0c9acb1af77a3cb8707e43f45b72c95266903cee
Author: Nicolas Pitre <nico@xxxxxxxxxxx>
Date: Tue Nov 5 09:33:16 2019 +0000

vcs: prevent write access to vcsu devices

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=11602fb6e00000
start commit: 76bb8b05 Merge tag 'kbuild-v5.5' of git://git.kernel.org/p..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=dd226651cb0f364b
dashboard link: https://syzkaller.appspot.com/bug?extid=7d027845265d531ba506
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17c0459ce00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11d4477ae00000

If the result looks correct, please mark the bug fixed by replying with:

#syz fix: vcs: prevent write access to vcsu devices

For information about bisection process see: https://goo.gl/tpsmEJ#bisection