[lkml]   [2018]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: KASAN: slab-out-of-bounds Read in vhci_hub_control
On 10/10/2018 01:42 PM, Dmitry Vyukov wrote:
> On Tue, Oct 2, 2018 at 6:04 PM, Shuah Khan <> wrote:
>> 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:
>>> kernel config:
>>> dashboard link:
>>> compiler: gcc (GCC) 8.0.1 20180413 (experimental)
>>> syz repro:
>>> C reproducer:
>> 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.
> Are you sure you used the provided config/commit?
> I've followed these instructions:
> and the C repro gave me this in a second:

I managed to reproduce and fix it. I did add reported by tag as well.

Here is fix:

Sudip verified the patch.

-- Shuah

 \ /
  Last update: 2018-10-10 22:28    [W:0.070 / U:1.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site