Re: [syzbot] general protection fault in binder_alloc_new_buf_locked

From: Carlos Llamas
Date: Fri Sep 02 2022 - 11:59:38 EST


On Fri, Sep 02, 2022 at 07:42:36AM -0700, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: b90cb1053190 Linux 6.0-rc3
> git tree: upstream
> console+strace: https://syzkaller.appspot.com/x/log.txt?x=1719e383080000
> kernel config: https://syzkaller.appspot.com/x/.config?x=9c5c41fc03fda66f
> dashboard link: https://syzkaller.appspot.com/bug?extid=ff47834028a51cf6f857
> compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11794975080000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1445c063080000
>
> The issue was bisected to:
>
> commit 44e602b4e52f70f04620bbbf4fe46ecb40170bde
> Author: Liam Howlett <liam.howlett@xxxxxxxxxx>
> Date: Wed Aug 10 16:02:25 2022 +0000
>
> binder_alloc: add missing mmap_lock calls when using the VMA
>

Duplicate report, this time bisection worked though.

#syz dup: general protection fault in binder_alloc_new_buf