Re: [syzbot] BUG: sleeping function called from invalid context in __vmalloc_node_range

From: Aleksandr Nogikh
Date: Mon Jun 20 2022 - 07:24:38 EST


Hi Sebastian,

Syzbot has noted the new fixing commit -- "mm/page_alloc: protect PCP
lists with a spinlock", but it's not really happy with two commands in
one email.

Let's try it one more time in this separate email:

#syz dup: BUG: sleeping function called from invalid context in relay_open_buf

--
Best Regards,
Aleksandr

On Mon, Jun 20, 2022 at 12:19 PM Sebastian Andrzej Siewior
<bigeasy@xxxxxxxxxxxxx> wrote:
>
> #syz fix: mm/page_alloc: protect PCP lists with a spinlock
> #syz dup: BUG: sleeping function called from invalid context in relay_open_buf
>
> The version of the patch above in next-20220614 is buggy leading to the
> report below. The version in next-20220620 is fine. Not sure how to tell
> syz bot this…
>
> On 2022-06-18 15:15:20 [-0700], syzbot wrote:
> > Hello,
> >
> > syzbot found the following issue on:
> >
> > HEAD commit: 35d872b9ea5b Add linux-next specific files for 20220614
> > git tree: linux-next
> > console output: https://syzkaller.appspot.com/x/log.txt?x=155b0d10080000
> > kernel config: https://syzkaller.appspot.com/x/.config?x=d7bf2236c6bb2403
> > dashboard link: https://syzkaller.appspot.com/bug?extid=b577bc624afda52c78de
> > compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
> >
> > Unfortunately, I don't have any reproducer for this issue yet.
> >
> > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > Reported-by: syzbot+b577bc624afda52c78de@xxxxxxxxxxxxxxxxxxxxxxxxx
> >
> > BUG: sleeping function called from invalid context at mm/vmalloc.c:2980
>
> > Preemption disabled at:
> > [<ffffffff81bc76f5>] rmqueue_pcplist mm/page_alloc.c:3813 [inline]
> > [<ffffffff81bc76f5>] rmqueue mm/page_alloc.c:3858 [inline]
> > [<ffffffff81bc76f5>] get_page_from_freelist+0x455/0x3a20 mm/page_alloc.c:4293
>
> Sebastian
>
> --
> 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/YrBJxrbq8Yvrpshj%40linutronix.de.