From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Potapenko Subject: Re: kernel BUG at arch/x86/mm/physaddr.c:LINE! (2) Date: Thu, 4 Apr 2019 16:47:00 +0200 Message-ID: References: <0000000000001c2b95057ad0935b@google.com> <000000000000462a4105848c8e12@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <000000000000462a4105848c8e12@google.com> Sender: linux-kernel-owner@vger.kernel.org To: syzbot Cc: David Miller , hverkuil@xs4all.nl, linux-can@vger.kernel.org, LKML , linux-media@vger.kernel.org, mchehab@kernel.org, mchehab@s-opensource.com, mkl@pengutronix.de, Networking , socketcan@hartkopp.net, syzkaller-bugs List-Id: linux-can.vger.kernel.org On Wed, Mar 20, 2019 at 9:35 PM syzbot wrote: > > syzbot has bisected this bug to: > > commit 6d469a202ee73196d0df76025af80bd6a379e658 > Author: Mauro Carvalho Chehab > 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=3D12639fd720= 0000 > start commit: 6d469a20 Merge tag 'v4.12-rc1' into patchwork > git tree: upstream > final crash: https://syzkaller.appspot.com/x/report.txt?x=3D15639fd720= 0000 > console output: https://syzkaller.appspot.com/x/log.txt?x=3D11639fd720000= 0 > kernel config: https://syzkaller.appspot.com/x/.config?x=3Dd86f24333880b= 605 > dashboard link: https://syzkaller.appspot.com/bug?extid=3D6c0effb5877f6b0= 344e2 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=3D1312062b400= 000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=3D131bd09340000= 0 > > 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/msgi= d/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(). --=20 Alexander Potapenko Software Engineer Google Germany GmbH Erika-Mann-Stra=C3=9Fe, 33 80636 M=C3=BCnchen Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg