watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.2:9635] Modules linked in: irq event stamp: 3690873 hardirqs last enabled at (3690872): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (3690873): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1095 softirqs last enabled at (3594538): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (3594541): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 9635 Comm: syz-executor.2 Not tainted 5.10.153 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__sanitizer_cov_trace_const_cmp1+0xc/0x20 kernel/kcov.c:270 Code: 0c 24 48 89 f2 48 89 fe bf 06 00 00 00 e9 0c ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 48 8b 0c 24 40 0f b6 d6 40 0f b6 f7 01 00 00 00 e9 ea fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 48 8b RSP: 0018:ffff88806ce09b88 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88800c81b1c0 RCX: ffffffff82c4a103 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888016ea9640 R13: ffff888045e433f0 R14: ffff888045e431c0 R15: 0000000000000000 FS: 00007f8e44718700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005651b4a17c98 CR3: 000000004b4f4000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: mac80211_hwsim_tx_frame_no_nl.isra.0+0x7e3/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1456 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1711 mac80211_hwsim_beacon_tx+0x494/0x8f0 drivers/net/wireless/mac80211_hwsim.c:1765 __iterate_interfaces+0x1f0/0x530 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x72/0x180 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1788 __run_hrtimer kernel/time/hrtimer.c:1583 [inline] __hrtimer_run_queues+0x5e8/0xb50 kernel/time/hrtimer.c:1647 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1664 __do_softirq+0x1b8/0x86b kernel/softirq.c:298 asm_call_irq_on_stack+0x12/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:hlist_empty include/linux/list.h:830 [inline] RIP: 0010:perf_trace_lock+0x315/0x490 include/trace/events/lock.h:39 Code: 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 a0 47 fa 02 48 ba 00 00 00 00 00 fc ff df 4c 89 ee 48 c1 ee 03 80 3c 16 00 <0f> 85 51 01 00 00 49 8b 55 00 48 85 d2 0f 85 f4 fd ff ff eb 95 4c RSP: 0018:ffff88804b397270 EFLAGS: 00000246 RAX: 000000000000000d RBX: 1ffff11009672e54 RCX: 0000000000000005 RDX: dffffc0000000000 RSI: 1ffffd1ffff835ae RDI: ffffffff84efe380 RBP: ffff88804b397348 R08: 0000000000000000 R09: ffffffff85670d4f R10: fffffbfff0ace1a9 R11: 0000000000000001 R12: ffffffff84ff80a0 R13: ffffe8ffffc1ad70 R14: ffffffff84efe300 R15: ffff88804b397320 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x470/0x6b0 kernel/locking/lockdep.c:5576 rcu_lock_release include/linux/rcupdate.h:263 [inline] rcu_read_unlock include/linux/rcupdate.h:705 [inline] __is_insn_slot_addr+0x14d/0x260 kernel/kprobes.c:307 is_kprobe_optinsn_slot include/linux/kprobes.h:336 [inline] kernel_text_address kernel/extable.c:149 [inline] kernel_text_address+0xdf/0x120 kernel/extable.c:120 __kernel_text_address+0x9/0x40 kernel/extable.c:105 unwind_get_return_address arch/x86/kernel/unwind_orc.c:323 [inline] unwind_get_return_address+0x55/0xa0 arch/x86/kernel/unwind_orc.c:318 arch_stack_walk+0x99/0xf0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track+0x1c/0x30 mm/kasan/common.c:56 kasan_set_free_info+0x1b/0x30 mm/kasan/generic.c:355 __kasan_slab_free+0x110/0x160 mm/kasan/common.c:422 slab_free_hook mm/slub.c:1542 [inline] slab_free_freelist_hook+0xa9/0x180 mm/slub.c:1576 slab_free mm/slub.c:3149 [inline] kmem_cache_free+0xa7/0x310 mm/slub.c:3165 mb_cache_entry_create+0x3ee/0x890 fs/mbcache.c:104 ext4_xattr_block_cache_insert fs/ext4/xattr.c:2980 [inline] ext4_xattr_block_get fs/ext4/xattr.c:539 [inline] ext4_xattr_get+0x563/0xa00 fs/ext4/xattr.c:654 __vfs_getxattr+0xe3/0x150 fs/xattr.c:375 cap_inode_need_killpriv+0x3c/0x60 security/commoncap.c:300 security_inode_need_killpriv+0x46/0xa0 security/security.c:1368 dentry_needs_remove_privs fs/inode.c:1901 [inline] dentry_needs_remove_privs fs/inode.c:1891 [inline] file_remove_privs+0x30f/0x540 fs/inode.c:1941 file_modified+0x14/0xa0 fs/inode.c:2010 ext4_dio_write_checks fs/ext4/file.c:459 [inline] ext4_dio_write_iter fs/ext4/file.c:523 [inline] ext4_file_write_iter+0x906/0x18e0 fs/ext4/file.c:685 call_write_iter include/linux/fs.h:1904 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x747/0xa30 fs/read_write.c:605 ksys_write+0x12d/0x260 fs/read_write.c:658 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f8e471a2b19 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:00007f8e44718188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8e472b5f60 RCX: 00007f8e471a2b19 RDX: 000000000000fdef RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00007f8e471fcf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffab46222f R14: 00007f8e44718300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.10.153 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:19 [inline] RIP: 0010:virt_spin_lock arch/x86/include/asm/qspinlock.h:100 [inline] RIP: 0010:queued_spin_lock_slowpath+0x122/0x8c0 kernel/locking/qspinlock.c:326 Code: 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 09 07 00 00 48 81 c4 88 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 60 e2 f8 02 f3 90 73 ff ff ff 44 8b 74 24 48 41 81 fe 00 01 00 00 0f 84 e1 00 00 RSP: 0018:ffff88806cf09a38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffffff87934ca0 RCX: ffffffff81275d27 RDX: fffffbfff0f26995 RSI: 0000000000000004 RDI: ffffffff87934ca0 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87934ca3 R10: fffffbfff0f26994 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f26994 R14: 0000000000000001 R15: 1ffff1100d9e1348 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005651b4a17c98 CR3: 000000001b3e0000 CR4: 0000000000350ee0 Call Trace: queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x1dc/0x260 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x695/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1445 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1711 mac80211_hwsim_beacon_tx+0x494/0x8f0 drivers/net/wireless/mac80211_hwsim.c:1765 __iterate_interfaces+0x1f0/0x530 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x72/0x180 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1788 __run_hrtimer kernel/time/hrtimer.c:1583 [inline] __hrtimer_run_queues+0x5e8/0xb50 kernel/time/hrtimer.c:1647 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1664 __do_softirq+0x1b8/0x86b kernel/softirq.c:298 asm_call_irq_on_stack+0x12/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:default_idle+0xe/0x20 arch/x86/kernel/process.c:690 Code: 89 fd e9 4b ff ff ff 4c 89 e7 e8 ed f4 89 fd eb 8f 66 66 2e 0f 1f 84 00 00 00 00 00 e9 07 00 00 00 0f 00 2d 34 69 60 00 fb f4 ed 67 3e 00 cc cc cc cc cc cc cc cc cc cc cc cc cc 41 55 41 54 RSP: 0018:ffff88800856fe78 EFLAGS: 00000202 RAX: ffffffff83e1d800 RBX: ffff88800852b300 RCX: ffffffff83e0554c RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e1dbc3 RBP: ffffed10010a5660 R08: 0000000000000001 R09: ffff88806cf3c12b R10: ffffed100d9e7825 R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff85670d48 R14: 0000000000000000 R15: dffffc0000000000 default_idle_call+0x8b/0xd0 kernel/sched/idle.c:112 cpuidle_idle_call kernel/sched/idle.c:194 [inline] do_idle+0x3ad/0x520 kernel/sched/idle.c:300 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:396 secondary_startup_64_no_verify+0xc2/0xcb ---------------- Code disassembly (best guess): 0: 0c 24 or $0x24,%al 2: 48 89 f2 mov %rsi,%rdx 5: 48 89 fe mov %rdi,%rsi 8: bf 06 00 00 00 mov $0x6,%edi d: e9 0c ff ff ff jmpq 0xffffff1e 12: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 19: 00 00 00 00 1d: 90 nop 1e: 48 8b 0c 24 mov (%rsp),%rcx 22: 40 0f b6 d6 movzbl %sil,%edx 26: 40 0f b6 f7 movzbl %dil,%esi * 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2f: e9 ea fe ff ff jmpq 0xffffff1e 34: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 3b: 00 00 00 3e: 48 rex.W 3f: 8b .byte 0x8b