watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.2:12504] Modules linked in: irq event stamp: 95673384 hardirqs last enabled at (95673383): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (95673383): [] _raw_spin_unlock_irqrestore+0x34/0x40 kernel/locking/spinlock.c:191 hardirqs last disabled at (95673384): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1095 softirqs last enabled at (95668970): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (95668965): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 12504 Comm: syz-executor.2 Not tainted 5.10.109 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:__preempt_count_sub arch/x86/include/asm/preempt.h:84 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x25/0x40 kernel/locking/spinlock.c:191 Code: 80 00 00 00 00 55 48 89 fd 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 7a eb 47 fd 48 89 ef e8 62 a2 48 fd f6 c7 02 75 0c 53 9d <65> ff 0d c4 b2 23 7c 5b 5d c3 e8 9c 32 67 fd eb ed 66 2e 0f 1f 84 RSP: 0018:ffff888049a6fd00 EFLAGS: 00000202 RAX: 0000000005b3dc27 RBX: 0000000000000202 RCX: 1ffffffff0a8e199 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83debc84 RBP: ffff88800911d450 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800911d450 R13: 1ffff1100934dfa5 R14: 0000000000000202 R15: ffff888049a6fea8 FS: 00007f994a6fd700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000740 CR3: 000000004a6be000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] prepare_to_wait_exclusive+0x129/0x2a0 kernel/sched/wait.c:273 io_cqring_wait fs/io_uring.c:7064 [inline] __do_sys_io_uring_enter+0x821/0x1900 fs/io_uring.c:9145 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f994d187b19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f994a6fd188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f994d29af60 RCX: 00007f994d187b19 RDX: 00000000fffffffb RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f994d1e1f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd4e2864cf R14: 00007f994a6fd300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12518 Comm: syz-executor.2 Not tainted 5.10.109 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3619 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3639 [inline] RIP: 0010:validate_chain kernel/locking/lockdep.c:3694 [inline] RIP: 0010:__lock_acquire+0x1697/0x5b00 kernel/locking/lockdep.c:4952 Code: 08 48 c1 eb 31 48 8d 2c dd c0 95 50 86 84 c0 0f 84 47 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c 02 00 <0f> 85 97 2d 00 00 48 8b 04 dd c0 95 50 86 48 85 c0 74 68 48 83 e8 RSP: 0018:ffff8880491a7ab0 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 0000000000005257 RCX: ffffffff81265793 RDX: 1ffffffff0ca650f RSI: 0000000000000008 RDI: ffffffff86555750 RBP: ffffffff86532878 R08: 0000000000000000 R09: ffffffff86555757 R10: fffffbfff0caaaea R11: 0000000000000001 R12: ffff88804a7b9940 R13: ffff88804a7ba1f0 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f994a6dc700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555f56098 CR3: 000000004a6be000 CR4: 0000000000350ee0 Call Trace: lock_acquire kernel/locking/lockdep.c:5562 [inline] lock_acquire+0x197/0x490 kernel/locking/lockdep.c:5527 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x36/0x50 kernel/locking/spinlock.c:159 prepare_to_wait_exclusive+0x7d/0x2a0 kernel/sched/wait.c:267 io_cqring_wait fs/io_uring.c:7064 [inline] __do_sys_io_uring_enter+0x821/0x1900 fs/io_uring.c:9145 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f994d187b19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f994a6dc188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f994d29b020 RCX: 00007f994d187b19 RDX: 00000000fffffffb RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f994d1e1f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd4e2864cf R14: 00007f994a6dc300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 80 00 00 addb $0x0,(%rax) 3: 00 00 add %al,(%rax) 5: 55 push %rbp 6: 48 89 fd mov %rdi,%rbp 9: 48 83 c7 18 add $0x18,%rdi d: 53 push %rbx e: 48 89 f3 mov %rsi,%rbx 11: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 16: e8 7a eb 47 fd callq 0xfd47eb95 1b: 48 89 ef mov %rbp,%rdi 1e: e8 62 a2 48 fd callq 0xfd48a285 23: f6 c7 02 test $0x2,%bh 26: 75 0c jne 0x34 28: 53 push %rbx 29: 9d popfq * 2a: 65 ff 0d c4 b2 23 7c decl %gs:0x7c23b2c4(%rip) # 0x7c23b2f5 <-- trapping instruction 31: 5b pop %rbx 32: 5d pop %rbp 33: c3 retq 34: e8 9c 32 67 fd callq 0xfd6732d5 39: eb ed jmp 0x28 3b: 66 data16 3c: 2e cs 3d: 0f .byte 0xf 3e: 1f (bad) 3f: 84 .byte 0x84