watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.1:12751] Modules linked in: irq event stamp: 107549892 hardirqs last enabled at (107549891): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (107549891): [] _raw_spin_unlock_irqrestore+0x34/0x40 kernel/locking/spinlock.c:191 hardirqs last disabled at (107549892): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1095 softirqs last enabled at (522256): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (522157): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 12751 Comm: syz-executor.1 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:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:write_comp_data+0x18/0x80 kernel/kcov.c:218 Code: 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 f2 65 8b 05 f6 c7 c2 7e 65 48 8b 34 25 80 6f 02 00 a9 00 01 ff 00 <74> 0f f6 c4 01 74 59 8b 86 64 13 00 00 85 c0 74 4f 8b 86 40 13 00 RSP: 0018:ffff88804b28fd98 EFLAGS: 00000246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff8186d053 RDX: 0000000000000000 RSI: ffff88803d943280 RDI: 0000000000000005 RBP: ffff88800e1bd680 R08: 0000000000000000 R09: ffff88803d943287 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88804782a000 R14: ffff88804782a450 R15: ffff88804782a000 FS: 00007f643c9ee700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d523000 CR3: 0000000051ea6000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: io_cqring_wait fs/io_uring.c:7068 [inline] __do_sys_io_uring_enter+0x833/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:0x7f643f478b19 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:00007f643c9ee188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f643f58bf60 RCX: 00007f643f478b19 RDX: 00000000fffffffb RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f643f4d2f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdc49951df R14: 00007f643c9ee300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12766 Comm: syz-executor.1 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:3620 [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+0x16dd/0x5b00 kernel/locking/lockdep.c:4952 Code: 49 be 00 00 00 00 00 fc ff df 48 89 d9 48 8b 5c 24 08 eb 06 48 83 ea 08 74 42 48 8d 7a 18 48 89 f8 48 c1 e8 03 42 80 3c 30 00 <0f> 85 7c 2d 00 00 48 8b 42 18 48 39 c3 0f 84 a2 f5 ff ff 48 8d 7a RSP: 0018:ffff88803f9d7ab0 EFLAGS: 00000046 RAX: 1ffffffff0bf7c4b RBX: 1cd72f986acf77a7 RCX: 00000000000000f1 RDX: ffffffff85fbe240 RSI: 0000000000000008 RDI: ffffffff85fbe258 RBP: ffffffff86509d48 R08: 0000000000000000 R09: ffffffff86555757 R10: fffffbfff0caaaea R11: 0000000000000001 R12: ffff88804f31e500 R13: ffff88804f31edb0 R14: dffffc0000000000 R15: 0000000000000001 FS: 00007f643c9cd700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555563e4098 CR3: 0000000051ea6000 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:0x7f643f478b19 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:00007f643c9cd188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f643f58c020 RCX: 00007f643f478b19 RDX: 00000000fffffffb RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f643f4d2f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdc49951df R14: 00007f643c9cd300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: c3 retq 3: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) a: 00 00 00 00 e: 0f 1f 40 00 nopl 0x0(%rax) 12: 49 89 f2 mov %rsi,%r10 15: 65 8b 05 f6 c7 c2 7e mov %gs:0x7ec2c7f6(%rip),%eax # 0x7ec2c812 1c: 65 48 8b 34 25 80 6f mov %gs:0x26f80,%rsi 23: 02 00 25: a9 00 01 ff 00 test $0xff0100,%eax * 2a: 74 0f je 0x3b <-- trapping instruction 2c: f6 c4 01 test $0x1,%ah 2f: 74 59 je 0x8a 31: 8b 86 64 13 00 00 mov 0x1364(%rsi),%eax 37: 85 c0 test %eax,%eax 39: 74 4f je 0x8a 3b: 8b .byte 0x8b 3c: 86 40 13 xchg %al,0x13(%rax)