============================= [ BUG: Invalid wait context ] 6.12.0-next-20241122 #1 Not tainted ----------------------------- syz-executor.7/35925 is trying to lock: ffff88807ffdcf78 (&zone->lock){..-.}-{3:3}, at: __rmqueue_pcplist+0x4cd/0xe60 other info that might help us debug this: context-{2:2} 4 locks held by syz-executor.7/35925: #0: ffff888048834de0 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0xfd/0xac0 #1: ffffffff85c16140 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x31/0x370 #2: ffff88804360e078 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: __pte_offset_map_lock+0x121/0x330 #3: ffff88806cf41518 (&pcp->lock){+.+.}-{3:3}, at: get_page_from_freelist+0x4a5/0x2130 stack backtrace: CPU: 1 UID: 0 PID: 35925 Comm: syz-executor.7 Not tainted 6.12.0-next-20241122 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xca/0x120 __lock_acquire+0x1535/0x4430 lock_acquire.part.0+0xeb/0x320 _raw_spin_lock_irqsave+0x3a/0x60 __rmqueue_pcplist+0x4cd/0xe60 get_page_from_freelist+0x500/0x2130 __alloc_pages_noprof+0x213/0x1f90 alloc_pages_mpol_noprof+0xf2/0x330 stack_depot_save_flags+0x575/0x900 kasan_save_stack+0x34/0x50 __kasan_record_aux_stack+0x8c/0xa0 task_work_add+0xb8/0x390 run_posix_cpu_timers+0x65e/0x760 tick_nohz_handler+0x414/0x6d0 __hrtimer_run_queues+0x57c/0xa70 hrtimer_interrupt+0x369/0x830 __sysvec_apic_timer_interrupt+0xc2/0x330 sysvec_apic_timer_interrupt+0x6b/0x80 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:unmap_page_range+0xaca/0x3590 Code: d8 ff 4d 85 ed 0f 85 de 07 00 00 e8 70 3a d8 ff 0f 1f 44 00 00 e8 66 3a d8 ff 4c 8b 6c 24 20 e8 5c 3a d8 ff 48 83 7c 24 28 00 <0f> 84 db 06 00 00 e8 4b 3a d8 ff 48 8b 44 24 28 48 b9 00 00 00 00 RSP: 0018:ffff8880420ff688 EFLAGS: 00000286 RAX: 0000000000000000 RBX: ffff888047d51c30 RCX: ffffffff8179c7a2 RDX: ffff888040f45280 RSI: ffffffff8179c7c4 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000000 R09: fffff940001bbc36 R10: 0000000000000000 R11: 00000000000007e0 R12: 8000000037787007 R13: ffffea0000dde1c0 R14: 00007fb9e6d86000 R15: ffff8880420ffad0 unmap_single_vma+0x19a/0x2b0 unmap_vmas+0x1f1/0x450 exit_mmap+0x187/0xac0 mmput+0xd5/0x350 do_exit+0x9ae/0x2a30 do_group_exit+0xd3/0x2a0 get_signal+0x2240/0x2320 arch_do_signal_or_restart+0x81/0x780 syscall_exit_to_user_mode+0x123/0x1e0 do_syscall_64+0xcc/0x1d0 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb9e8fe4b19 Code: Unable to access opcode bytes at 0x7fb9e8fe4aef. RSP: 002b:00007fb9e655a218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fb9e90f7f68 RCX: 00007fb9e8fe4b19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fb9e90f7f68 RBP: 00007fb9e90f7f60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb9e90f7f6c R13: 00007fff900c0d1f R14: 00007fb9e655a300 R15: 0000000000022000 9pnet_virtio: no channels available for device syz 9pnet_virtio: no channels available for device syz 9pnet_virtio: no channels available for device syz 9pnet_virtio: no channels available for device syz 9pnet_virtio: no channels available for device syz 9pnet_virtio: no channels available for device syz 9pnet_virtio: no channels available for device syz 9pnet_virtio: no channels available for device syz 9pnet_virtio: no channels available for device syz ---------------- Code disassembly (best guess): 0: d8 ff fdivr %st(7),%st 2: 4d 85 ed test %r13,%r13 5: 0f 85 de 07 00 00 jne 0x7e9 b: e8 70 3a d8 ff callq 0xffd83a80 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: e8 66 3a d8 ff callq 0xffd83a80 1a: 4c 8b 6c 24 20 mov 0x20(%rsp),%r13 1f: e8 5c 3a d8 ff callq 0xffd83a80 24: 48 83 7c 24 28 00 cmpq $0x0,0x28(%rsp) * 2a: 0f 84 db 06 00 00 je 0x70b <-- trapping instruction 30: e8 4b 3a d8 ff callq 0xffd83a80 35: 48 8b 44 24 28 mov 0x28(%rsp),%rax 3a: 48 rex.W 3b: b9 00 00 00 00 mov $0x0,%ecx