watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.2:5541] Modules linked in: irq event stamp: 7503213 hardirqs last enabled at (7503212): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (7503213): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (7463964): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (7463967): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 5541 Comm: syz-executor.2 Not tainted 5.10.223 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:348 [inline] RIP: 0010:deref_stack_reg+0xb2/0x160 arch/x86/kernel/unwind_orc.c:357 Code: ed 77 13 48 39 e8 76 0e 48 8d 55 08 48 39 d0 72 05 49 39 d5 72 3f 49 8d 7c 24 28 49 8d 4c 24 20 48 b8 00 00 00 00 00 fc ff df <48> 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 80 00 00 00 49 8b 74 24 28 RSP: 0018:ffff88806ce09640 EFLAGS: 00000212 RAX: dffffc0000000000 RBX: ffff88806ce09790 RCX: ffff88806ce09768 RDX: 1ffff1100d9c12eb RSI: ffff888048d5f658 RDI: ffff88806ce09770 RBP: ffff888048d5f658 R08: ffffffff85d41ac5 R09: ffff888048d5f660 R10: 0000000000032042 R11: 1ffff1100d9c12d6 R12: ffff88806ce09748 R13: ffff88806ce02000 R14: 1ffff1100d9c12d6 R15: ffffffff85d41ac4 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055886166f678 CR3: 0000000004e26000 CR4: 0000000000350ef0 Call Trace: unwind_next_frame+0xbf8/0x1a90 arch/x86/kernel/unwind_orc.c:536 arch_stack_walk+0x83/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xc9/0xd0 mm/kasan/common.c:461 slab_post_alloc_hook mm/slab.h:532 [inline] slab_alloc_node mm/slub.c:2896 [inline] kmem_cache_alloc_node+0x14b/0x330 mm/slub.c:2932 __alloc_skb+0x6d/0x5b0 net/core/skbuff.c:199 skb_copy+0x183/0x350 net/core/skbuff.c:1529 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb1d/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1499 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716 mac80211_hwsim_beacon_tx+0x494/0x940 drivers/net/wireless/mac80211_hwsim.c:1770 __iterate_interfaces+0x1f0/0x550 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x71/0x1c0 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1793 __run_hrtimer kernel/time/hrtimer.c:1584 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1648 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1665 __do_softirq+0x1b8/0x7c9 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:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:__kasan_check_read+0x4/0x10 mm/kasan/common.c:71 Code: 66 0f 1f 44 00 00 e9 1b d3 b3 02 66 66 2e 0f 1f 84 00 00 00 00 00 48 c7 c0 fb ff ff ff e9 04 d3 b3 02 cc cc cc cc 48 8b 0c 24 <89> f6 31 d2 e9 83 22 00 00 0f 1f 00 48 8b 0c 24 89 f6 ba 01 00 00 RSP: 0018:ffff888048d5f740 EFLAGS: 00000256 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff812734bf RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff85675808 RBP: 1ffff110091abeeb R08: 0000000000000000 R09: ffffffff868686e7 R10: 0000000000000246 R11: 0000000000000001 R12: ffffffff84ff8c20 R13: ffffea000122cd40 R14: dffffc0000000000 R15: ffff888048d5f840 instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] cpumask_test_cpu include/linux/cpumask.h:367 [inline] trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x41f/0x680 kernel/locking/lockdep.c:5577 uncharge_list mm/memcontrol.c:6950 [inline] mem_cgroup_uncharge_list+0xf6/0x180 mm/memcontrol.c:6992 release_pages+0x7fc/0xc20 mm/swap.c:951 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu mm/mmu_gather.c:247 [inline] tlb_finish_mmu+0x165/0x8f0 mm/mmu_gather.c:326 exit_mmap+0x29f/0x4f0 mm/mmap.c:3237 __mmput kernel/fork.c:1101 [inline] mmput+0xca/0x340 kernel/fork.c:1122 exit_mm kernel/exit.c:536 [inline] do_exit+0xa96/0x2600 kernel/exit.c:847 do_group_exit+0x125/0x310 kernel/exit.c:982 get_signal+0x4bc/0x22e0 kernel/signal.c:2751 arch_do_signal_or_restart+0x2b7/0x1990 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x10f/0x190 kernel/entry/common.c:199 syscall_exit_to_user_mode+0x38/0x1d0 kernel/entry/common.c:274 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7fc0e54dcb19 Code: Unable to access opcode bytes at RIP 0x7fc0e54dcaef. RSP: 002b:00007fc0e2a52218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fc0e55eff68 RCX: 00007fc0e54dcb19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fc0e55eff68 RBP: 00007fc0e55eff60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc0e55eff6c R13: 00007fff2d5c6ecf R14: 00007fc0e2a52300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5542 Comm: syz-executor.1 Not tainted 5.10.223 #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 f0 a5 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: ffffffff87a04180 RCX: ffffffff81279957 RDX: fffffbfff0f40831 RSI: 0000000000000004 RDI: ffffffff87a04180 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a04183 R10: fffffbfff0f40830 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f40830 R14: 0000000000000001 R15: 1ffff1100d9e1348 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055886166f678 CR3: 000000000f006000 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:1450 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716 mac80211_hwsim_beacon_tx+0x494/0x940 drivers/net/wireless/mac80211_hwsim.c:1770 __iterate_interfaces+0x1f0/0x550 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x71/0x1c0 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1793 __run_hrtimer kernel/time/hrtimer.c:1584 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1648 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1665 __do_softirq+0x1b8/0x7c9 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:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:tlb_remove_table+0x63/0xcb0 mm/mmu_gather.c:219 Code: 8b 6b 08 4d 85 ed 0f 84 74 03 00 00 e8 86 bd dd ff 49 8d 7d 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 <84> c0 74 08 3c 03 0f 8e 29 04 00 00 45 8b 75 10 4b 8d 7c f5 18 41 RSP: 0018:ffff88804a6a7868 EFLAGS: 00000212 RAX: 0000000000000000 RBX: ffff88804a6a7a40 RCX: 000000000003fb7f RDX: 1ffff11001a02602 RSI: ffffffff8162e3ca RDI: ffff88800d013010 RBP: ffff88804a6a7a48 R08: 000000000003fb28 R09: 0000000000000000 R10: 00000000f0000000 R11: 0000000000000001 R12: ffffea0000780e40 R13: ffff88800d013000 R14: 00007fb6afb57fff R15: 00007fb6afb58000 paravirt_tlb_remove_table arch/x86/include/asm/paravirt.h:79 [inline] ___pmd_free_tlb+0x115/0x1a0 arch/x86/mm/pgtable.c:73 __pmd_free_tlb arch/x86/include/asm/pgalloc.h:95 [inline] free_pmd_range mm/memory.c:254 [inline] free_pud_range mm/memory.c:272 [inline] free_p4d_range mm/memory.c:306 [inline] free_pgd_range+0xa30/0x1380 mm/memory.c:386 free_pgtables+0x230/0x2f0 mm/memory.c:418 exit_mmap+0x28e/0x4f0 mm/mmap.c:3236 __mmput kernel/fork.c:1101 [inline] mmput+0xca/0x340 kernel/fork.c:1122 exit_mm kernel/exit.c:536 [inline] do_exit+0xa96/0x2600 kernel/exit.c:847 do_group_exit+0x125/0x310 kernel/exit.c:982 get_signal+0x4bc/0x22e0 kernel/signal.c:2751 arch_do_signal_or_restart+0x2b7/0x1990 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x10f/0x190 kernel/entry/common.c:199 syscall_exit_to_user_mode+0x38/0x1d0 kernel/entry/common.c:274 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7fb6aeb04b19 Code: Unable to access opcode bytes at RIP 0x7fb6aeb04aef. RSP: 002b:00007fb6ac07a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000006 RBX: 00007fb6aec17f60 RCX: 00007fb6aeb04b19 RDX: 0000000000000006 RSI: 0000000000000003 RDI: 0000000000000010 RBP: 00007fb6aeb5ef6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff1e44472f R14: 00007fb6ac07a300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: ed in (%dx),%eax 1: 77 13 ja 0x16 3: 48 39 e8 cmp %rbp,%rax 6: 76 0e jbe 0x16 8: 48 8d 55 08 lea 0x8(%rbp),%rdx c: 48 39 d0 cmp %rdx,%rax f: 72 05 jb 0x16 11: 49 39 d5 cmp %rdx,%r13 14: 72 3f jb 0x55 16: 49 8d 7c 24 28 lea 0x28(%r12),%rdi 1b: 49 8d 4c 24 20 lea 0x20(%r12),%rcx 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 48 89 fa mov %rdi,%rdx <-- trapping instruction 2d: 48 c1 ea 03 shr $0x3,%rdx 31: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 35: 0f 85 80 00 00 00 jne 0xbb 3b: 49 8b 74 24 28 mov 0x28(%r12),%rsi