watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.7:4522] Modules linked in: irq event stamp: 7067221 hardirqs last enabled at (7067220): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (7067221): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (7035034): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (7035037): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 4522 Comm: syz-executor.7 Not tainted 5.10.238 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:mac80211_hwsim_tx_frame_no_nl.isra.0+0x7b4/0x1410 drivers/net/wireless/mac80211_hwsim.c:1461 Code: c6 84 24 a8 00 00 00 00 49 39 de 74 bb e8 84 48 77 fe 48 8d bb 8c 26 00 00 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 0f b6 04 28 <38> d0 7f 08 84 c0 0f 85 7b 09 00 00 44 0f b6 bb 8c 26 00 00 31 ff RSP: 0018:ffff88806ce09b90 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff88800d8eb1c0 RCX: ffffffff82c98782 RDX: 0000000000000004 RSI: ffffffff82c9874c RDI: ffff88800d8ed84c RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800fefa280 R13: ffff88804843b3f0 R14: ffff88804843b1c0 R15: 0000000000000000 FS: 00007faac5c87700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa15e08d7e0 CR3: 000000001c844000 CR4: 0000000000350ef0 Call Trace: 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:1588 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1652 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1669 __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:compound_head include/linux/page-flags.h:188 [inline] RIP: 0010:virt_to_head_page include/linux/mm.h:862 [inline] RIP: 0010:qlink_to_cache mm/kasan/quarantine.c:130 [inline] RIP: 0010:qlist_free_all+0x91/0xe0 mm/kasan/quarantine.c:167 Code: 75 cc 48 89 f0 4c 01 e8 72 5a 4c 89 f2 48 2b 15 d5 21 5c 03 48 01 d0 48 c1 e8 0c 48 c1 e0 06 48 03 05 b3 21 5c 03 48 8b 50 08 <48> 8d 4a ff 83 e2 01 48 0f 45 c1 48 8b 78 18 eb 93 49 c7 44 24 08 RSP: 0018:ffff88801ccdf1b8 EFLAGS: 00000286 RAX: ffffea00006cfac0 RBX: 0000000000000000 RCX: ffffea00006cf300 RDX: ffffea00006cfa01 RSI: ffff88801b3eb400 RDI: 0000000000000000 RBP: dffffc0000000000 R08: 0000000000000011 R09: ffffffff816cd901 R10: ffff8880468f8510 R11: 0000000000000001 R12: ffff88801ccdf1f0 R13: 0000000080000000 R14: ffffffff80000000 R15: ffff88801b3eb400 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/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] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x159/0x310 mm/slub.c:2909 kmem_cache_zalloc include/linux/slab.h:654 [inline] __kernfs_new_node+0xd4/0x860 fs/kernfs/dir.c:635 kernfs_new_node+0x18d/0x250 fs/kernfs/dir.c:711 __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 netdev_queue_add_kobject net/core/net-sysfs.c:1655 [inline] netdev_queue_update_kobjects+0x2ed/0x3e0 net/core/net-sysfs.c:1694 register_queue_kobjects net/core/net-sysfs.c:1755 [inline] netdev_register_kobject+0x2ee/0x3b0 net/core/net-sysfs.c:2001 register_netdevice+0xd73/0x1480 net/core/dev.c:10049 register_netdev+0x2d/0x50 net/core/dev.c:10173 loopback_net_init+0x76/0x170 drivers/net/loopback.c:216 ops_init+0xbb/0x6b0 net/core/net_namespace.c:156 setup_net+0x2f4/0x900 net/core/net_namespace.c:348 copy_net_ns+0x2c0/0x5d0 net/core/net_namespace.c:518 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x3fb/0x4f0 kernel/nsproxy.c:179 copy_process+0x393a/0x78b0 kernel/fork.c:2214 kernel_clone+0xe7/0x980 kernel/fork.c:2582 __do_sys_clone3+0x1e5/0x320 kernel/fork.c:2857 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7faac8711b19 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:00007faac5c87188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007faac8824f60 RCX: 00007faac8711b19 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00000000200001c0 RBP: 00007faac876bf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffa0ba9cef R14: 00007faac5c87300 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.238 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:instrument_atomic_read include/linux/instrumented.h:71 [inline] RIP: 0010:atomic_read include/asm-generic/atomic-instrumented.h:27 [inline] RIP: 0010:virt_spin_lock arch/x86/include/asm/qspinlock.h:99 [inline] RIP: 0010:queued_spin_lock_slowpath+0x9a/0x8c0 kernel/locking/qspinlock.c:326 Code: 0f 1f 44 00 00 49 89 fd 49 89 fc 41 be 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 49 c1 ed 03 41 83 e4 07 49 01 c5 41 83 c4 03 04 00 00 00 48 89 df e8 a9 f1 44 00 41 0f b6 45 00 41 38 c4 7c RSP: 0018:ffff88806cf09a38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffffff87a0a080 RCX: ffffffff8127be57 RDX: fffffbfff0f41411 RSI: 0000000000000004 RDI: ffffffff87a0a080 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a0a083 R10: fffffbfff0f41410 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f41410 R14: 0000000000000001 R15: 1ffff1100d9e1348 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056517ee51678 CR3: 000000000df6e000 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+0x6c8/0x1410 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:1588 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1652 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1669 __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:712 Code: 4e ff ff ff 4c 89 e7 e8 90 a2 83 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 24 0c 59 00 fb f4 1d 0c 37 00 cc cc cc cc cc cc cc cc cc cc cc cc cc 41 55 41 54 RSP: 0018:ffff888008987e70 EFLAGS: 00000206 RAX: ffffffff83e93390 RBX: 0000000000000001 RCX: ffffffff83e7af2c RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e93998 RBP: 0000000000000001 R08: 0000000000000001 R09: ffff88806cf3c12b R10: ffffed100d9e7825 R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff85678908 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+0x3b3/0x520 kernel/sched/idle.c:306 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:402 secondary_startup_64_no_verify+0xbe/0xcb ---------------- Code disassembly (best guess): 0: c6 84 24 a8 00 00 00 movb $0x0,0xa8(%rsp) 7: 00 8: 49 39 de cmp %rbx,%r14 b: 74 bb je 0xffffffc8 d: e8 84 48 77 fe callq 0xfe774896 12: 48 8d bb 8c 26 00 00 lea 0x268c(%rbx),%rdi 19: 48 89 f8 mov %rdi,%rax 1c: 48 89 fa mov %rdi,%rdx 1f: 48 c1 e8 03 shr $0x3,%rax 23: 83 e2 07 and $0x7,%edx 26: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax * 2a: 38 d0 cmp %dl,%al <-- trapping instruction 2c: 7f 08 jg 0x36 2e: 84 c0 test %al,%al 30: 0f 85 7b 09 00 00 jne 0x9b1 36: 44 0f b6 bb 8c 26 00 movzbl 0x268c(%rbx),%r15d 3d: 00 3e: 31 ff xor %edi,%edi