=============================
[ BUG: Invalid wait context ]
6.12.0-next-20241127 #1 Not tainted
-----------------------------
syz-executor.1/14867 is trying to lock:
ffff88807ffdcf78 (&zone->lock){..-.}-{3:3}, at: __rmqueue_pcplist+0x4d7/0xd10
other info that might help us debug this:
context-{2:2}
4 locks held by syz-executor.1/14867:
#0: ffff888034db14e0 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0xfd/0xac0
#1: ffffffff85c16140 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x31/0x370
#2: ffff888038bcef78 (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: 14867 Comm: syz-executor.1 Not tainted 6.12.0-next-20241127 #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+0x4d7/0xd10
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/0xa80
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:__sanitizer_cov_trace_pc+0x8/0x80
Code: c0 e9 dc 39 35 03 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 34 24 <65> 48 8b 15 50 a7 b1 7e 65 8b 05 51 a7 b1 7e a9 00 01 ff 00 74 27
RSP: 0018:ffff88803b8f7648 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff817f2a24
RDX: ffff88801ac25280 RSI: ffffffff817f2a81 RDI: 0000000000000005
RBP: 0000000000000001 R08: 0000000000000001 R09: fffff9400019855e
R10: 0000000000000000 R11: 00000000000007e0 R12: ffffea0000cc2ac0
R13: 0000000000000000 R14: ffff8880370111c0 R15: 00000000ffffffff
folio_remove_rmap_ptes+0x101/0x290
unmap_page_range+0x1398/0x3590
unmap_single_vma+0x19a/0x2b0
unmap_vmas+0x1f1/0x450
exit_mmap+0x187/0xac0
mmput+0xd5/0x350
do_exit+0x9ae/0x2a40
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:0x7f9f52835b19
Code: Unable to access opcode bytes at 0x7f9f52835aef.
RSP: 002b:00007f9f4fdab218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000000 RBX: 00007f9f52948f68 RCX: 00007f9f52835b19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f9f52948f68
RBP: 00007f9f52948f60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9f52948f6c
R13: 00007ffce54db91f R14: 00007f9f4fdab300 R15: 0000000000022000
loop7: detected capacity change from 0 to 6
FAT-fs (loop7): Directory bread(block 6) failed
FAT-fs (loop7): Directory bread(block 7) failed
FAT-fs (loop7): Directory bread(block 8) failed
FAT-fs (loop7): Directory bread(block 9) failed
loop7: detected capacity change from 0 to 6
FAT-fs (loop7): Directory bread(block 6) failed
FAT-fs (loop7): Directory bread(block 7) failed
FAT-fs (loop7): Directory bread(block 8) failed
FAT-fs (loop7): Directory bread(block 9) failed
loop7: detected capacity change from 0 to 6
FAT-fs (loop7): Directory bread(block 6) failed
FAT-fs (loop7): Directory bread(block 7) failed
FAT-fs (loop7): Directory bread(block 8) failed
FAT-fs (loop7): Directory bread(block 9) failed
loop7: detected capacity change from 0 to 6
FAT-fs (loop7): Directory bread(block 6) failed
FAT-fs (loop7): Directory bread(block 7) failed
FAT-fs (loop7): Directory bread(block 8) failed
FAT-fs (loop7): Directory bread(block 9) failed
loop7: detected capacity change from 0 to 6
FAT-fs (loop7): Directory bread(block 6) failed
FAT-fs (loop7): Directory bread(block 7) failed
FAT-fs (loop7): Directory bread(block 8) failed
FAT-fs (loop7): Directory bread(block 9) failed
----------------
Code disassembly (best guess):
0: c0 e9 dc shr $0xdc,%cl
3: 39 35 03 66 66 2e cmp %esi,0x2e666603(%rip) # 0x2e66660c
9: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
10: 00
11: 90 nop
12: 90 nop
13: 90 nop
14: 90 nop
15: 90 nop
16: 90 nop
17: 90 nop
18: 90 nop
19: 90 nop
1a: 90 nop
1b: 90 nop
1c: 90 nop
1d: 90 nop
1e: 90 nop
1f: 90 nop
20: 90 nop
21: 90 nop
22: f3 0f 1e fa endbr64
26: 48 8b 34 24 mov (%rsp),%rsi
* 2a: 65 48 8b 15 50 a7 b1 mov %gs:0x7eb1a750(%rip),%rdx # 0x7eb1a782 <-- trapping instruction
31: 7e
32: 65 8b 05 51 a7 b1 7e mov %gs:0x7eb1a751(%rip),%eax # 0x7eb1a78a
39: a9 00 01 ff 00 test $0xff0100,%eax
3e: 74 27 je 0x67