lkml.org 
[lkml]   [2022]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/7] binder: fix alloc->vma_vm_mm null-ptr dereference
    On Mon, 29 Aug 2022 20:12:48 +0000 Carlos Llamas <cmllamas@google.com> wrote:

    > Syzbot reported a couple issues introduced by commit 44e602b4e52f
    > ("binder_alloc: add missing mmap_lock calls when using the VMA"), in
    > which we attempt to acquire the mmap_lock when alloc->vma_vm_mm has not
    > been initialized yet.
    >
    > This can happen if a binder_proc receives a transaction without having
    > previously called mmap() to setup the binder_proc->alloc space in [1].
    > Also, a similar issue occurs via binder_alloc_print_pages() when we try
    > to dump the debugfs binder stats file in [2].

    Thanks. I assume you'll be merging all these into mainline?

    >
    > Fixes: 44e602b4e52f ("binder_alloc: add missing mmap_lock calls when using the VMA")
    > Reported-by: syzbot+f7dc54e5be28950ac459@syzkaller.appspotmail.com
    > Reported-by: syzbot+a75ebe0452711c9e56d9@syzkaller.appspotmail.com
    > Cc: <stable@vger.kernel.org> # v5.15+

    44e602b4e52f is only present in 6.0-rcX?


    \
     
     \ /
      Last update: 2022-08-29 22:35    [W:3.478 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site