watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.3:6556] Modules linked in: irq event stamp: 93865478 hardirqs last enabled at (93865477): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (93865477): [] _raw_spin_unlock_irqrestore+0x34/0x40 kernel/locking/spinlock.c:191 hardirqs last disabled at (93865478): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1095 softirqs last enabled at (7540152): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (7540137): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 6556 Comm: syz-executor.3 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:ffff88804aeafd00 EFLAGS: 00000202 RAX: 0000000005984605 RBX: 0000000000000202 RCX: 1ffffffff0a8e199 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83debc84 RBP: ffff88804688c450 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88804688c450 R13: 1ffff110095d5fa5 R14: 0000000000000202 R15: ffff88804aeafea8 FS: 00007fb928fb8700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb928fb8718 CR3: 0000000045582000 CR4: 0000000000350ef0 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:0x7fb92ba84b19 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:00007fb928fb8188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007fb92bb980e0 RCX: 00007fb92ba84b19 RDX: 00000000fffffffb RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fb92badef6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe23057baf R14: 00007fb928fb8300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6511 Comm: syz-executor.3 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_memory_region+0x16f/0x1e0 mm/kasan/generic.c:193 Code: d2 75 0b 48 89 da 48 29 c2 e9 28 ff ff ff 48 89 d0 49 39 c2 75 96 49 0f be 02 41 83 e1 07 49 39 c1 7d 89 41 bb 01 00 00 00 5b <5d> 44 89 d8 41 5c c3 48 85 d2 74 ed 48 01 ea eb 09 48 83 c0 01 48 RSP: 0018:ffff88806cf09900 EFLAGS: 00000046 RAX: fffffbfff0caaacd RBX: 1ffff1100d9e132a RCX: ffffffff81260f85 RDX: fffffbfff0caaacd RSI: 0000000000000008 RDI: ffffffff86555660 RBP: fffffbfff0caaacc R08: 0000000000000000 R09: ffffffff86555667 R10: fffffbfff0caaacc R11: 0000000000000001 R12: ffff888034715498 R13: 0000000000000039 R14: ffff8880347154b8 R15: 0000000000000001 FS: 00007fb928ffa700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2de22000 CR3: 0000000045582000 CR4: 0000000000350ee0 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:198 [inline] mark_lock+0xf5/0x2df0 kernel/locking/lockdep.c:4508 mark_usage kernel/locking/lockdep.c:4422 [inline] __lock_acquire+0x1492/0x5b00 kernel/locking/lockdep.c:4906 lock_acquire kernel/locking/lockdep.c:5562 [inline] lock_acquire+0x197/0x490 kernel/locking/lockdep.c:5527 write_seqcount_t_begin_nested include/linux/seqlock.h:515 [inline] write_seqcount_t_begin include/linux/seqlock.h:541 [inline] timekeeping_advance+0x696/0xa30 kernel/time/timekeeping.c:2181 tick_do_update_jiffies64.part.0+0x1e6/0x350 kernel/time/tick-sched.c:101 tick_do_update_jiffies64 kernel/time/tick-sched.c:64 [inline] tick_sched_do_timer kernel/time/tick-sched.c:147 [inline] tick_sched_timer+0x22a/0x290 kernel/time/tick-sched.c:1314 __run_hrtimer kernel/time/hrtimer.c:1583 [inline] __hrtimer_run_queues+0x1ca/0xb50 kernel/time/hrtimer.c:1647 hrtimer_interrupt+0x2fd/0x9b0 kernel/time/hrtimer.c:1709 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1084 [inline] __sysvec_apic_timer_interrupt+0xfb/0x400 arch/x86/kernel/apic/apic.c:1101 asm_call_irq_on_stack+0x12/0x20 __run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline] run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline] sysvec_apic_timer_interrupt+0x7f/0xa0 arch/x86/kernel/apic/apic.c:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 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:ffff888049367d88 EFLAGS: 00000206 RAX: 0000000005ee3f77 RBX: 0000000000000206 RCX: 1ffffffff0a8e199 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83debc84 RBP: ffff888044282450 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 R13: ffff888044282000 R14: ffff888044282450 R15: ffff888044282000 io_cqring_wait fs/io_uring.c:7077 [inline] __do_sys_io_uring_enter+0xded/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:0x7fb92ba84b19 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:00007fb928ffa188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007fb92bb97f60 RCX: 00007fb92ba84b19 RDX: 00000000fffffffb RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fb92badef6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe23057baf R14: 00007fb928ffa300 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