lkml.org 
[lkml]   [2019]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: kernel BUG at arch/x86/mm/physaddr.c:LINE! (2)
On Thu, Apr 4, 2019 at 4:51 PM Hans Verkuil <hverkuil@xs4all.nl> wrote:
>
> On 4/4/19 4:47 PM, Alexander Potapenko wrote:
> > On Wed, Mar 20, 2019 at 9:35 PM syzbot
> > <syzbot+6c0effb5877f6b0344e2@syzkaller.appspotmail.com> wrote:
> >>
> >> syzbot has bisected this bug to:
> >>
> >> commit 6d469a202ee73196d0df76025af80bd6a379e658
> >> Author: Mauro Carvalho Chehab <mchehab@s-opensource.com>
> >> Date: Sun May 14 17:07:21 2017 +0000
> >>
> >> Merge tag 'v4.12-rc1' into patchwork
> >>
> >> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=12639fd7200000
> >> start commit: 6d469a20 Merge tag 'v4.12-rc1' into patchwork
> >> git tree: upstream
> >> final crash: https://syzkaller.appspot.com/x/report.txt?x=15639fd7200000
> >> console output: https://syzkaller.appspot.com/x/log.txt?x=11639fd7200000
> >> kernel config: https://syzkaller.appspot.com/x/.config?x=d86f24333880b605
> >> dashboard link: https://syzkaller.appspot.com/bug?extid=6c0effb5877f6b0344e2
> >> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1312062b400000
> >> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=131bd093400000
> >>
> >> Reported-by: syzbot+6c0effb5877f6b0344e2@syzkaller.appspotmail.com
> >> Fixes: 6d469a20 ("Merge tag 'v4.12-rc1' into patchwork")
> >>
> >> --
> >> You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@googlegroups.com.
> >> To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/000000000000462a4105848c8e12%40google.com.
> >> For more options, visit https://groups.google.com/d/optout.
> >
> > I believe this bug is caused by vivid_vid_cap_s_selection() calling
> > kfree(dev->bitmap_cap).
> > This makes little sense, as dev->bitmap_cap seems to be allocated
> > using vzalloc().
> >
>
> Yup, that should be vfree. There was a similar problem with bitmap_out that
> I fixed, but it looks I missed this one. Can you make a patch?
Yes, I've almost hit the send button :)
> Thanks,
>
> Hans



--
Alexander Potapenko
Software Engineer

Google Germany GmbH
Erika-Mann-Straße, 33
80636 München

Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg

\
 
 \ /
  Last update: 2019-04-04 16:55    [W:0.033 / U:5.460 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site