watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.5:9739] Modules linked in: irq event stamp: 64220974 hardirqs last enabled at (64220973): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (64220973): [] _raw_spin_unlock_irqrestore+0x34/0x40 kernel/locking/spinlock.c:191 hardirqs last disabled at (64220974): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1095 softirqs last enabled at (212526): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (212445): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 9739 Comm: syz-executor.5 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:ffff888040977d00 EFLAGS: 00000202 RAX: 0000000003d3ef2d RBX: 0000000000000202 RCX: 1ffffffff0a8e199 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83debc84 RBP: ffff888044f9c450 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888044f9c450 R13: 1ffff1100812efa5 R14: 0000000000000202 R15: ffff888040977ea8 FS: 00007fc7c0080700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555eae098 CR3: 000000003662e000 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:0x7fc7c2b2bb19 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:00007fc7c0080188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007fc7c2c3f020 RCX: 00007fc7c2b2bb19 RDX: 00000000fffffffb RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fc7c2b85f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffce837b33f R14: 00007fc7c0080300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9732 Comm: syz-executor.5 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:instrument_atomic_read include/linux/instrumented.h:71 [inline] RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:198 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3638 [inline] RIP: 0010:validate_chain kernel/locking/lockdep.c:3694 [inline] RIP: 0010:__lock_acquire+0x164e/0x5b00 kernel/locking/lockdep.c:4952 Code: ff ff ff ff e9 ce f3 ff ff 41 0f b7 5d 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 f8 06 48 8d 3c c5 60 56 55 86 7d 8b 44 00 48 0f a3 1d c5 fe 2e 05 48 bb eb 83 b5 80 46 86 c8 RSP: 0018:ffff88803de57ab0 EFLAGS: 00000017 RAX: 000000000000001d RBX: 0000000000000771 RCX: 00000000fe23f2a6 RDX: 1ffff110019dc76a RSI: 0000000000000008 RDI: ffffffff86555748 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8655574f R10: fffffbfff0caaae9 R11: 0000000000000001 R12: ffff88800cee3280 R13: ffff88800cee3b30 R14: 0000000000000000 R15: 0000000000000001 FS: 00007fc7c00a1700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f684efa0019 CR3: 000000003662e000 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:0x7fc7c2b2bb19 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:00007fc7c00a1188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007fc7c2c3ef60 RCX: 00007fc7c2b2bb19 RDX: 00000000fffffffb RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fc7c2b85f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffce837b33f R14: 00007fc7c00a1300 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