watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.6:4308] Modules linked in: irq event stamp: 4188513 hardirqs last enabled at (4188512): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (4188513): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (4135786): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (4135789): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 4308 Comm: syz-executor.6 Not tainted 5.10.228 #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 40 8a 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:ffff88806ce09a38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffffff87a06080 RCX: ffffffff8127b507 RDX: fffffbfff0f40c11 RSI: 0000000000000004 RDI: ffffffff87a06080 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a06083 R10: fffffbfff0f40c10 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f40c10 R14: 0000000000000001 R15: 1ffff1100d9c1348 FS: 00007f13e4b40700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f13e761fce0 CR3: 0000000047e8e000 CR4: 0000000000350ef0 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:1586 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1650 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1667 __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:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:__read_once_word_nocheck+0x3/0x10 include/asm-generic/rwonce.h:68 Code: 0a fe ff ff e8 0e 48 5c 00 e9 bf fd ff ff e8 04 48 5c 00 e9 8c fd ff ff e8 fa 47 5c 00 e9 44 fd ff ff cc cc cc cc cc 48 8b 07 88 d4 0f 03 0f 1f 84 00 00 00 00 00 41 57 89 d0 41 56 41 55 41 RSP: 0018:ffff888045907518 EFLAGS: 00000283 RAX: ffffffff83110883 RBX: ffff888045907670 RCX: ffff888045907670 RDX: dffffc0000000000 RSI: ffff888045907c48 RDI: ffff888045907c48 RBP: ffff888045907c48 R08: ffffffff85c5b8a7 R09: ffff888045907c50 R10: 0000000000032042 R11: 1ffff11008b20eb2 R12: ffff888045907628 R13: ffff888045900000 R14: 1ffff11008b20eb2 R15: ffffffff85c5b8a6 deref_stack_reg+0xf2/0x160 arch/x86/kernel/unwind_orc.c:360 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 alloc_skb include/linux/skbuff.h:1099 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1194 [inline] netlink_sendmsg+0x998/0xdf0 net/netlink/af_netlink.c:1891 sock_sendmsg_nosec net/socket.c:651 [inline] __sock_sendmsg+0x154/0x190 net/socket.c:663 ____sys_sendmsg+0x70d/0x870 net/socket.c:2378 ___sys_sendmsg+0xf3/0x170 net/socket.c:2432 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2461 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f13e75cab19 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:00007f13e4b40188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f13e76ddf60 RCX: 00007f13e75cab19 RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000004 RBP: 00007f13e7624f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe75fdfccf R14: 00007f13e4b40300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4305 Comm: syz-executor.4 Not tainted 5.10.228 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline] RIP: 0010:atomic_read include/asm-generic/atomic-instrumented.h:28 [inline] RIP: 0010:queued_spin_is_locked include/asm-generic/qspinlock.h:28 [inline] RIP: 0010:debug_spin_unlock kernel/locking/spinlock_debug.c:98 [inline] RIP: 0010:do_raw_spin_unlock+0x4f/0x220 kernel/locking/spinlock_debug.c:138 Code: 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 b9 01 00 00 81 7b 04 ad 4e ad de 0f 85 53 01 00 00 be 04 00 00 00 48 89 df e8 a1 86 44 00 <48> 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 48 RSP: 0018:ffff88806cf098b8 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffff88806cf2ea40 RCX: ffffffff8128066f RDX: ffffed100d9e5d49 RSI: 0000000000000004 RDI: ffff88806cf2ea40 RBP: ffff88806cf2ea40 R08: 0000000000000000 R09: ffff88806cf2ea43 R10: ffffed100d9e5d48 R11: 0000000000000001 R12: ffff88806cf2ea40 R13: ffff88806cf2eac0 R14: ffff88806cf2ea40 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ce21000 CR3: 0000000004e26000 CR4: 0000000000350ee0 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:159 [inline] _raw_spin_unlock_irqrestore+0x1e/0x40 kernel/locking/spinlock.c:191 __run_hrtimer kernel/time/hrtimer.c:1582 [inline] __hrtimer_run_queues+0x56e/0xb40 kernel/time/hrtimer.c:1650 hrtimer_interrupt+0x2fd/0x9b0 kernel/time/hrtimer.c:1712 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0xfb/0x310 arch/x86/kernel/apic/apic.c:1112 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline] sysvec_apic_timer_interrupt+0x3e/0xa0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:hwsim_ps_rx_ok drivers/net/wireless/mac80211_hwsim.c:1077 [inline] RIP: 0010:mac80211_hwsim_tx_frame_no_nl.isra.0+0x83c/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1462 Code: ff e8 58 96 77 fe 48 8d bb 60 27 00 00 48 89 f8 48 c1 e8 03 0f b6 04 28 84 c0 74 08 3c 03 0f 8e d2 08 00 00 8b bb 60 27 00 00 <48> c7 c6 00 d7 7d 84 49 89 ff e8 b5 8f 77 fe 41 83 ff 01 0f 84 ca RSP: 0018:ffff88806cf09b90 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88800cacb1c0 RCX: ffffffff82c927f3 RDX: ffff8880463e1a40 RSI: ffffffff82c92828 RDI: 0000000000000000 RBP: dffffc0000000000 R08: 0000000000000001 R09: ffffffff8686a72f R10: 0000000000000000 R11: 0000000000000001 R12: ffff88804767a780 R13: ffff888017fab3f0 R14: ffff888017fab1c0 R15: 0000000000000000 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:1586 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1650 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1667 __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:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:207 [inline] RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline] RIP: 0010:PageCompound include/linux/page-flags.h:199 [inline] RIP: 0010:page_mapcount include/linux/mm.h:835 [inline] RIP: 0010:zap_pte_range mm/memory.c:1288 [inline] RIP: 0010:zap_pmd_range mm/memory.c:1404 [inline] RIP: 0010:zap_pud_range mm/memory.c:1433 [inline] RIP: 0010:zap_p4d_range mm/memory.c:1454 [inline] RIP: 0010:unmap_page_range+0x112e/0x1fe0 mm/memory.c:1475 Code: 9c 08 01 00 00 01 e8 21 36 04 00 be 08 00 00 00 48 89 ef e8 94 87 0c 00 48 89 e8 48 c1 e8 03 42 80 3c 30 00 0f 85 18 0b 00 00 <48> 8b 5d 00 31 ff 48 c1 eb 10 83 e3 01 89 de e8 ee b1 e0 ff 84 db RSP: 0018:ffff888018127770 EFLAGS: 00000246 RAX: 1ffffd4000211af8 RBX: 0000000000000000 RCX: ffffffff8160057c RDX: fffff94000211af9 RSI: 0000000000000008 RDI: ffffea000108d7c0 RBP: ffffea000108d7c0 R08: 0000000000000000 R09: ffffea000108d7c7 R10: fffff94000211af8 R11: 0000000000000001 R12: ffffea000108d7c8 R13: ffff88801b98e188 R14: dffffc0000000000 R15: 00007fd705832000 unmap_single_vma+0x198/0x300 mm/memory.c:1520 unmap_vmas+0x16d/0x300 mm/memory.c:1552 exit_mmap+0x27f/0x4f0 mm/mmap.c:3235 __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/0x2350 kernel/signal.c:2762 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 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:287 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0033:0x7fd7077807e2 Code: Unable to access opcode bytes at RIP 0x7fd7077807b8. RSP: 002b:00007fd704d59190 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 00007fd70783f374 RDX: 000000000001d47f RSI: ffffffffffffffff RDI: 00007fd70783df6d RBP: 00007fd70783df6d R08: 00000000000000d6 R09: 00007ffcfa097080 R10: 00007ffcfa097090 R11: 000000000005edac R12: 00007fd7078f6f60 R13: 00007ffcfa04ca0f R14: 00007fd704d59300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 65 48 add %ah,0x48(%rbp) 5: 2b 04 25 28 00 00 00 sub 0x28,%eax c: 0f 85 09 07 00 00 jne 0x71b 12: 48 81 c4 88 00 00 00 add $0x88,%rsp 19: 5b pop %rbx 1a: 5d pop %rbp 1b: 41 5c pop %r12 1d: 41 5d pop %r13 1f: 41 5e pop %r14 21: 41 5f pop %r15 23: e9 40 8a f8 02 jmpq 0x2f88a68 28: f3 90 pause * 2a: e9 73 ff ff ff jmpq 0xffffffa2 <-- trapping instruction 2f: 44 8b 74 24 48 mov 0x48(%rsp),%r14d 34: 41 81 fe 00 01 00 00 cmp $0x100,%r14d 3b: 0f .byte 0xf 3c: 84 e1 test %ah,%cl