watchdog: BUG: soft lockup - CPU#0 stuck for 21s! [syz-executor.2:8774] Modules linked in: irq event stamp: 10276103 hardirqs last enabled at (10276102): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (10276103): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1095 softirqs last enabled at (10250214): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (10250217): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 8774 Comm: syz-executor.2 Not tainted 5.10.161 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:kernel_text_address+0x1/0x120 kernel/extable.c:121 Code: 85 e8 93 28 50 00 eb c6 90 31 c0 48 81 ff 00 00 e0 84 72 0c 31 c0 48 81 ff 80 9e 67 85 0f 92 c0 e9 e4 8e 04 03 0f 1f 40 00 55 <48> 89 fd 48 83 ec 08 48 81 ff 00 00 00 81 72 09 48 81 ff 08 40 20 RSP: 0018:ffff88806ce09670 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffffffff82c4c59d RCX: 1ffff1100d9c1201 RDX: 1ffff1100d9c12de RSI: ffff88806ce09b68 RDI: ffffffff82c4c59d RBP: ffff88806ce096f0 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000032042 R11: 1ffff1100d9c12c2 R12: ffff88806ce09760 R13: 0000000000000000 R14: ffff8880495b9980 R15: 0000000000000170 FS: 00007f6342650700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bddd641110 CR3: 000000003f95c000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: __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 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] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x13b/0x360 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/0x3f0 mm/slub.c:4496 __kmalloc_reserve net/core/skbuff.c:142 [inline] __alloc_skb+0xb1/0x620 net/core/skbuff.c:210 skb_copy+0x137/0x2f0 net/core/skbuff.c:1522 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/0x8f0 drivers/net/wireless/mac80211_hwsim.c:1770 __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:1793 __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:qlist_free_all+0x5c/0xe0 mm/kasan/quarantine.c:165 Code: df eb 2c 48 63 87 c0 00 00 00 4c 8b 3e 48 c7 c2 e5 dc 6b 81 48 29 c6 48 89 f0 48 c1 e8 03 c6 04 28 fb e8 47 c6 ff ff 4d 85 ff <74> 44 4c 89 fe 48 89 df 48 85 db 75 cc 48 89 f0 4c 01 e8 72 5a 4c RSP: 0018:ffff88801ac4f260 EFLAGS: 00000286 RAX: 000000000000000d RBX: 0000000000000000 RCX: 0000000000000000 RDX: 000000000003ebb0 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: 0000000000000011 R09: ffffffff816bdc01 R10: ffff88800fc42360 R11: 0000000000000001 R12: ffff88801ac4f298 R13: 0000000080000000 R14: ffffffff80000000 R15: ffff88800fc43950 quarantine_reduce+0x184/0x210 mm/kasan/quarantine.c:267 __kasan_kmalloc.constprop.0+0xa2/0xd0 mm/kasan/common.c:442 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/0x360 mm/slub.c:2909 kmem_cache_zalloc include/linux/slab.h:654 [inline] __kernfs_new_node+0xd4/0x850 fs/kernfs/dir.c:635 kernfs_new_node+0x93/0x120 fs/kernfs/dir.c:697 __kernfs_create_file+0x51/0x350 fs/kernfs/file.c:985 sysfs_add_file_mode_ns+0x221/0x560 fs/sysfs/file.c:306 create_files fs/sysfs/group.c:64 [inline] internal_create_group+0x324/0xb30 fs/sysfs/group.c:149 internal_create_groups.part.0+0x90/0x140 fs/sysfs/group.c:189 internal_create_groups fs/sysfs/group.c:185 [inline] sysfs_create_groups+0x25/0x50 fs/sysfs/group.c:215 device_add_groups drivers/base/core.c:2058 [inline] device_add_attrs drivers/base/core.c:2206 [inline] device_add+0x7a9/0x1bc0 drivers/base/core.c:2916 netdev_register_kobject+0x17a/0x3b0 net/core/net-sysfs.c:1997 register_netdevice+0xd6e/0x1480 net/core/dev.c:10014 register_netdev+0x2d/0x50 net/core/dev.c:10138 loopback_net_init+0x76/0x170 drivers/net/loopback.c:216 ops_init+0xbb/0x680 net/core/net_namespace.c:153 setup_net+0x2d8/0x810 net/core/net_namespace.c:351 copy_net_ns+0x2ca/0x5e0 net/core/net_namespace.c:492 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x39e/0x480 kernel/nsproxy.c:179 copy_process+0x2463/0x66f0 kernel/fork.c:2109 kernel_clone+0xe7/0xa20 kernel/fork.c:2467 __do_sys_clone3+0x1e5/0x320 kernel/fork.c:2742 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f63450dab19 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:00007f6342650188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f63451edf60 RCX: 00007f63450dab19 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 0000000020000200 RBP: 00007f6345134f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd3718863f R14: 00007f6342650300 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.161 #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 d0 de 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: ffffffff87930da0 RCX: ffffffff812760b7 RDX: fffffbfff0f261b5 RSI: 0000000000000004 RDI: ffffffff87930da0 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87930da3 R10: fffffbfff0f261b4 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f261b4 R14: 0000000000000001 R15: 1ffff1100d9e1348 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bddd644678 CR3: 000000000ece8000 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/0x8f0 drivers/net/wireless/mac80211_hwsim.c:1770 __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:1793 __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 bd bf 89 fd eb 8f 66 66 2e 0f 1f 84 00 00 00 00 00 e9 07 00 00 00 0f 00 2d 84 27 60 00 fb f4 fd 25 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: ffffffff83e219f0 RBX: ffff88800852b300 RCX: ffffffff83e0973c RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e21db3 RBP: ffffed10010a5660 R08: 0000000000000001 R09: ffff88806cf3c12b R10: ffffed100d9e7825 R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff85670b08 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: 85 e8 test %ebp,%eax 2: 93 xchg %eax,%ebx 3: 28 50 00 sub %dl,0x0(%rax) 6: eb c6 jmp 0xffffffce 8: 90 nop 9: 31 c0 xor %eax,%eax b: 48 81 ff 00 00 e0 84 cmp $0xffffffff84e00000,%rdi 12: 72 0c jb 0x20 14: 31 c0 xor %eax,%eax 16: 48 81 ff 80 9e 67 85 cmp $0xffffffff85679e80,%rdi 1d: 0f 92 c0 setb %al 20: e9 e4 8e 04 03 jmpq 0x3048f09 25: 0f 1f 40 00 nopl 0x0(%rax) 29: 55 push %rbp * 2a: 48 89 fd mov %rdi,%rbp <-- trapping instruction 2d: 48 83 ec 08 sub $0x8,%rsp 31: 48 81 ff 00 00 00 81 cmp $0xffffffff81000000,%rdi 38: 72 09 jb 0x43 3a: 48 rex.W 3b: 81 .byte 0x81 3c: ff 08 decl (%rax) 3e: 40 rex 3f: 20 .byte 0x20