Re: KASAN: slab-out-of-bounds Read in vhci_hub_control
From: Shuah Khan
Date: Tue Oct 02 2018 - 12:05:12 EST
On 09/04/2018 12:52 PM, syzbot wrote:
> Hello,
>
> syzbot found the following crash on:
>
> HEAD commit:ÂÂÂ 420f51f4ab6b Merge tag 'arm64-fixes' of git://git.kernel.o..
> git tree:ÂÂÂÂÂÂ upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=126a6f0e400000
> kernel config:Â https://syzkaller.appspot.com/x/.config?x=531a917630d2a492
> dashboard link: https://syzkaller.appspot.com/bug?extid=bccc1fe10b70fadc78d0
> compiler:ÂÂÂÂÂÂ gcc (GCC) 8.0.1 20180413 (experimental)
> syz repro:ÂÂÂÂÂ https://syzkaller.appspot.com/x/repro.syz?x=121caa46400000
> C reproducer:ÂÂ https://syzkaller.appspot.com/x/repro.c?x=14ed8ab6400000
C producer doesn't reproduce the problem on 4.19-rc5. Does this C producer
depend on state of the machine? i.e what is the status of vhci_hcd - are
there any devices attached?
I can see the problem looking at the code and fix is easy. However, I would
like be able to reproduce it and verify the fix works. Also this would be a
good regression for the driver I could consider adding to selftests.
thanks,
-- Shuah