Re: [syzbot] general protection fault in vma_is_shmem
From: Aleksandr Nogikh
Date: Wed Aug 31 2022 - 05:41:16 EST
Let's tell syzbot about the fix
#syz fix: mm/gup.c: Fix return value for __gup_longterm_locked()
On Mon, Aug 22, 2022 at 2:10 AM 'John Hubbard' via syzkaller-bugs
<syzkaller-bugs@xxxxxxxxxxxxxxxx> wrote:
>
> On 8/21/22 16:31, Andrew Morton wrote:
> > On Sun, 21 Aug 2022 16:18:48 -0700 John Hubbard <jhubbard@xxxxxxxxxx> wrote:
> >
> >>> vmas[] array. We haven't messed with gup.c much this time around -
> >>> just one patch from Alistair ("mm/gup.c: simplify and fix
> >>> check_and_migrate_movable_pages() return codes"). It does touch this
> >>> area, but I can't immediately see how it could newly cause this.
> >>>
> >>
> >> Neither can I, even after looking at both of these recent commits to
> >> gup.c in this branch:
> >>
> >> commit 4d1225cd5560 ("mm/gup.c: simplify and fix
> >> check_and_migrate_movable_pages() return codes")
> >>
> >> commit 0e5d6dac6b65 ("mm/gup: fix FOLL_FORCE COW security issue and
> >> remove FOLL_COW")
> >>
> >> As you say, a bisection would really help here.
> >
> > Might
> > https://lkml.kernel.org/r/20220821183547.950370-1-syoshida@xxxxxxxxxx
> > save us?
> >
> >
>
> aha yes, that looks right.
>
>
> thanks,
> --
> John Hubbard
> NVIDIA
>
> --
> 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@xxxxxxxxxxxxxxxx.
> To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/761793f4-cd16-fcc1-8777-f7e032604e1e%40nvidia.com.