watchdog: BUG: soft lockup - CPU#1 stuck for 21s! [syz-executor.0:5353] Modules linked in: irq event stamp: 9623071 hardirqs last enabled at (9623070): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (9623071): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (9612174): [] spin_unlock_bh include/linux/spinlock.h:399 [inline] softirqs last enabled at (9612174): [] addrconf_ifdown.isra.0+0x50c/0x15f0 net/ipv6/addrconf.c:3809 softirqs last disabled at (9612175): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 5353 Comm: syz-executor.0 Not tainted 5.10.224 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:169 [inline] RIP: 0010:unwind_next_frame+0x227/0x1a90 arch/x86/kernel/unwind_orc.c:448 Code: c1 e8 03 45 0f b6 04 10 48 89 fa 83 e2 07 83 c2 03 44 38 c2 7c 09 45 84 c0 0f 85 67 12 00 00 44 8d 46 01 8b 0c 8d b8 9a d6 85 <48> ba 00 00 00 00 00 fc ff df 4a 8d 3c 85 b8 9a d6 85 49 89 f9 49 RSP: 0018:ffff88806cf09668 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 00000000000810f5 RDX: 0000000000000003 RSI: 0000000000021794 RDI: ffffffff85def908 RBP: ffff88806cf09775 R08: 0000000000021795 R09: 0000000000000001 R10: 0000000000032042 R11: 1ffff1100d9e12d5 R12: ffff88806cf09788 R13: ffff88806cf09740 R14: 1ffff1100d9e12d5 R15: ffffffff83179404 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe0843b9010 CR3: 000000000e526000 CR4: 0000000000350ee0 Call Trace: 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] __kmalloc_node_track_caller+0x189/0x3b0 mm/slub.c:4496 __kmalloc_reserve net/core/skbuff.c:143 [inline] __alloc_skb+0xb1/0x5b0 net/core/skbuff.c:211 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 do_softirq kernel/softirq.c:343 [inline] do_softirq+0x91/0xc0 kernel/softirq.c:330 __local_bh_enable_ip+0xd7/0x100 kernel/softirq.c:195 spin_unlock_bh include/linux/spinlock.h:399 [inline] addrconf_ifdown.isra.0+0x50c/0x15f0 net/ipv6/addrconf.c:3809 addrconf_notify+0x159/0x2410 net/ipv6/addrconf.c:3678 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xb3/0x110 kernel/notifier.c:410 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2047 call_netdevice_notifiers_extack net/core/dev.c:2059 [inline] call_netdevice_notifiers net/core/dev.c:2073 [inline] dev_close_many+0x25b/0x460 net/core/dev.c:1648 unregister_netdevice_many+0x349/0x1490 net/core/dev.c:10709 unregister_netdevice_queue+0x201/0x2c0 net/core/dev.c:10666 unregister_netdevice include/linux/netdevice.h:2891 [inline] __tun_detach+0xfc1/0x12b0 drivers/net/tun.c:697 tun_detach drivers/net/tun.c:713 [inline] tun_chr_close+0xc4/0x250 drivers/net/tun.c:3486 __fput+0x285/0x9f0 fs/file_table.c:281 task_work_run+0xe2/0x1a0 kernel/task_work.c:185 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0xb6f/0x2600 kernel/exit.c:860 do_group_exit+0x125/0x310 kernel/exit.c:982 get_signal+0x4bc/0x2350 kernel/signal.c:2759 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:0x7f6354180b19 Code: Unable to access opcode bytes at RIP 0x7f6354180aef. RSP: 002b:00007f63516f6188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: 0000000000000004 RBX: 00007f6354293f60 RCX: 00007f6354180b19 RDX: 0000000000000000 RSI: 00000000000001c8 RDI: 0000000020000000 RBP: 00007f63541daf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe6aa4173f R14: 00007f63516f6300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5348 Comm: syz-executor.7 Not tainted 5.10.224 #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 10 a4 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: ffffffff87a04180 RCX: ffffffff81279b37 RDX: fffffbfff0f40831 RSI: 0000000000000004 RDI: ffffffff87a04180 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a04183 R10: fffffbfff0f40830 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f40830 R14: 0000000000000001 R15: 1ffff1100d9c1348 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff198a4000 CR3: 000000000e526000 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: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:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x60 kernel/kcov.c:196 Code: ff ff ff b8 08 00 00 00 4d 8b 17 49 8b 16 48 0f bd c8 48 63 c9 e9 5e ff ff ff 4c 01 d2 49 89 17 e9 cd fd ff ff 90 48 8b 34 24 <65> 48 8b 14 25 80 6f 02 00 65 8b 05 cc c9 c1 7e a9 00 01 ff 00 74 RSP: 0018:ffff88801cd1f758 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000025 RCX: ffffffff815fe7e3 RDX: 0000000000000000 RSI: ffffffff815fe7f4 RDI: 0000000000000005 RBP: ffffea000076aec0 R08: 0000000000000000 R09: ffff8880183db487 R10: 0000000000000000 R11: 0000000000000001 R12: ffffea000076aec8 R13: ffff888046a926c8 R14: dffffc0000000000 R15: 00007f44574da000 pte_young arch/x86/include/asm/pgtable.h:160 [inline] zap_pte_range mm/memory.c:1282 [inline] zap_pmd_range mm/memory.c:1404 [inline] zap_pud_range mm/memory.c:1433 [inline] zap_p4d_range mm/memory.c:1454 [inline] unmap_page_range+0xf74/0x1fe0 mm/memory.c:1475 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:2759 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:0x7f44574ccb19 Code: Unable to access opcode bytes at RIP 0x7f44574ccaef. RSP: 002b:00007f4454a42188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: 0000000000000005 RBX: 00007f44575dff60 RCX: 00007f44574ccb19 RDX: 0000000000000000 RSI: 00000000000001c8 RDI: 0000000020000000 RBP: 00007f4457526f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7f04c60f R14: 00007f4454a42300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: c1 e8 03 shr $0x3,%eax 3: 45 0f b6 04 10 movzbl (%r8,%rdx,1),%r8d 8: 48 89 fa mov %rdi,%rdx b: 83 e2 07 and $0x7,%edx e: 83 c2 03 add $0x3,%edx 11: 44 38 c2 cmp %r8b,%dl 14: 7c 09 jl 0x1f 16: 45 84 c0 test %r8b,%r8b 19: 0f 85 67 12 00 00 jne 0x1286 1f: 44 8d 46 01 lea 0x1(%rsi),%r8d 23: 8b 0c 8d b8 9a d6 85 mov -0x7a296548(,%rcx,4),%ecx * 2a: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx <-- trapping instruction 31: fc ff df 34: 4a 8d 3c 85 b8 9a d6 lea -0x7a296548(,%r8,4),%rdi 3b: 85 3c: 49 89 f9 mov %rdi,%r9 3f: 49 rex.WB