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: [email protected]
BUG: sleeping function called from invalid context at mm/vmalloc.c:2980
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 30561, name: syz-executor.0
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
no locks held by syz-executor.0/30561.
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
CPU: 1 PID: 30561 Comm: syz-executor.0 Not tainted 5.19.0-rc2-next-20220614-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
__might_resched.cold+0x222/0x26b kernel/sched/core.c:9823
vm_area_alloc_pages mm/vmalloc.c:2980 [inline]
__vmalloc_area_node mm/vmalloc.c:3025 [inline]
__vmalloc_node_range+0x6a1/0x13b0 mm/vmalloc.c:3195
alloc_thread_stack_node kernel/fork.c:311 [inline]
dup_task_struct kernel/fork.c:971 [inline]
copy_process+0x1568/0x7080 kernel/fork.c:2065
kernel_clone+0xe7/0xab0 kernel/fork.c:2649
__do_sys_clone+0xba/0x100 kernel/fork.c:2783
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fe727a8a531
Code: 48 85 ff 74 3d 48 85 f6 74 38 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 7c 13 74 01 c3 31 ed 58 5f ff d0 48 89 c7 b8 3c 00 00 00
RSP: 002b:00007ffee47acde8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fe728cb3700 RCX: 00007fe727a8a531
RDX: 00007fe728cb39d0 RSI: 00007fe728cb32f0 RDI: 00000000003d0f00
RBP: 00007ffee47ad030 R08: 00007fe728cb3700 R09: 00007fe728cb3700
R10: 00007fe728cb39d0 R11: 0000000000000206 R12: 00007ffee47ace9e
R13: 00007ffee47ace9f R14: 00007fe728cb3300 R15: 0000000000022000
</TASK>
BUG: scheduling while atomic: syz-executor.0/30561/0x00000002
no locks held by syz-executor.0/30561.
Modules linked in:
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
---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at [email protected].
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
#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: [email protected]
>
> 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
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
<[email protected]> 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: [email protected]
> >
> > 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/YrBJxrbq8Yvrpshj%40linutronix.de.