watchdog: BUG: soft lockup - CPU#1 stuck for 21s! [syz-executor.3:5094] Modules linked in: irq event stamp: 6322463 hardirqs last enabled at (6322462): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (6322463): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (6289848): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (6289851): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 5094 Comm: syz-executor.3 Not tainted 5.10.229 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:unwind_next_frame+0x30b/0x1a90 arch/x86/kernel/unwind_orc.c:461 Code: 85 49 12 00 00 41 c6 45 34 01 48 c7 c1 60 8d eb 84 48 b8 00 00 00 00 00 fc ff df 4c 8d 79 04 4c 89 fa 48 c1 ea 03 0f b6 04 02 <4c> 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 b9 07 00 00 0f b6 41 04 RSP: 0018:ffff88806cf09870 EFLAGS: 00000212 RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffff85a14c2e RDX: 1ffffffff0b42986 RSI: ffffffff85a14c22 RDI: ffffffff8572480c RBP: ffff88806cf0997d R08: ffffffff85a14c22 R09: ffffffff85a14c52 R10: 0000000000032042 R11: 1ffff1100d9e1316 R12: ffff88806cf09990 R13: ffff88806cf09948 R14: 1ffff1100d9e1316 R15: ffffffff85a14c32 FS: 00007f7ef010b700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 000000004725c000 CR4: 0000000000350ee0 Call Trace: arch_stack_walk+0x83/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 __save_stack_trace mm/kmemleak.c:563 [inline] create_object.isra.0+0x372/0xa20 mm/kmemleak.c:618 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:534 [inline] slab_alloc_node mm/slub.c:2896 [inline] __kmalloc_node_track_caller+0x1a6/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: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:kasan_set_track mm/kasan/common.c:57 [inline] RIP: 0010:__kasan_kmalloc.constprop.0+0xcc/0xd0 mm/kasan/common.c:461 Code: e9 7a ff ff ff 49 63 9e bc 00 00 00 89 ef 65 48 8b 04 25 80 6f 02 00 8b 80 98 04 00 00 4c 01 e3 89 03 e8 f7 fc ff ff 89 43 04 b9 66 90 e9 2b ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 48 b9 RSP: 0018:ffff8880480578f0 EFLAGS: 00000282 RAX: 000000008000019e RBX: ffff888036341e20 RCX: 0000000000000000 RDX: 00000000c3d9ea0c RSI: ffffffff8400011f RDI: 0000000000000000 RBP: 0000000000092cc0 R08: 000000008115519e R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888036341cb0 R13: 0000000000000000 R14: ffff88800804d640 R15: 0000000000000170 slab_post_alloc_hook mm/slab.h:532 [inline] slab_alloc_node mm/slub.c:2896 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x13b/0x310 mm/slub.c:2909 mem_pool_alloc mm/kmemleak.c:423 [inline] create_object.isra.0+0x3a/0xa20 mm/kmemleak.c:578 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:534 [inline] slab_alloc_node mm/slub.c:2896 [inline] __kmalloc_node_track_caller+0x1a6/0x3b0 mm/slub.c:4496 __kmalloc_reserve net/core/skbuff.c:143 [inline] __alloc_skb+0xb1/0x5b0 net/core/skbuff.c:211 alloc_skb include/linux/skbuff.h:1099 [inline] alloc_uevent_skb+0x7b/0x210 lib/kobject_uevent.c:290 uevent_net_broadcast_tagged lib/kobject_uevent.c:351 [inline] kobject_uevent_net_broadcast lib/kobject_uevent.c:412 [inline] kobject_uevent_env+0xcdc/0xfd0 lib/kobject_uevent.c:608 __kobject_del+0x27c/0x320 lib/kobject.c:625 kobject_cleanup lib/kobject.c:704 [inline] kobject_release lib/kobject.c:744 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x215/0x270 lib/kobject.c:761 net_rx_queue_update_kobjects+0x370/0x470 net/core/net-sysfs.c:1083 remove_queue_kobjects net/core/net-sysfs.c:1805 [inline] netdev_unregister_kobject+0x152/0x280 net/core/net-sysfs.c:1959 unregister_netdevice_many+0xbb7/0x1490 net/core/dev.c:10778 unregister_netdevice_queue+0x201/0x2c0 net/core/dev.c:10685 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 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x186/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:0x7f7ef2b95b19 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:00007f7ef010b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000124 RAX: 0000000000000004 RBX: 00007f7ef2ca8f60 RCX: 00007f7ef2b95b19 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000005 RBP: 00007f7ef2beff6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffef44c6f4f R14: 00007f7ef010b300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.10.229 #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: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f94934db000 CR3: 000000001ae18000 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:default_idle+0xe/0x20 arch/x86/kernel/process.c:707 Code: 4e ff ff ff 4c 89 e7 e8 70 eb 84 fd eb 8f 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 e9 07 00 00 00 0f 00 2d 74 75 5a 00 fb f4 ad 76 38 00 cc cc cc cc cc cc cc cc cc cc cc cc cc 41 55 41 54 RSP: 0018:ffffffff84e07e38 EFLAGS: 00000202 RAX: ffffffff83e7c900 RBX: 0000000000000000 RCX: ffffffff83e644dc RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e7cf08 RBP: fffffbfff09c6450 R08: 0000000000000001 R09: ffff88806ce3c12b R10: ffffed100d9c7825 R11: 0000000000000001 R12: 0000000000000000 R13: ffffffff85677748 R14: 0000000000000000 R15: dffffc0000000000 default_idle_call+0xbf/0x2c0 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 start_kernel+0x464/0x489 init/main.c:1046 secondary_startup_64_no_verify+0xbe/0xcb ---------------- Code disassembly (best guess): 0: 85 49 12 test %ecx,0x12(%rcx) 3: 00 00 add %al,(%rax) 5: 41 c6 45 34 01 movb $0x1,0x34(%r13) a: 48 c7 c1 60 8d eb 84 mov $0xffffffff84eb8d60,%rcx 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 4c 8d 79 04 lea 0x4(%rcx),%r15 1f: 4c 89 fa mov %r15,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax * 2a: 4c 89 fa mov %r15,%rdx <-- trapping instruction 2d: 83 e2 07 and $0x7,%edx 30: 38 d0 cmp %dl,%al 32: 7f 08 jg 0x3c 34: 84 c0 test %al,%al 36: 0f 85 b9 07 00 00 jne 0x7f5 3c: 0f b6 41 04 movzbl 0x4(%rcx),%eax