watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.3:5336] Modules linked in: irq event stamp: 4463701 hardirqs last enabled at (4463700): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (4463701): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (4435016): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (4435019): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 5336 Comm: syz-executor.3 Not tainted 5.10.228 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:strlen+0x61/0xa0 lib/string.c:571 Code: 00 00 fc ff df 48 89 e8 48 83 c0 01 48 89 c2 48 89 c1 48 c1 ea 03 83 e1 07 0f b6 14 1a 38 ca 7f 04 84 d2 75 27 80 38 00 75 de <48> 83 c4 08 48 29 e8 5b 5d e9 11 10 20 02 48 83 c4 08 31 c0 5b 5d RSP: 0018:ffff88806ce09508 EFLAGS: 00000246 RAX: ffffffff8447d72d RBX: dffffc0000000000 RCX: 0000000000000005 RDX: 0000000000000006 RSI: ffffffff84ff9960 RDI: ffffffff8447d720 RBP: ffffffff8447d720 R08: 0000000000000000 R09: ffffffff8567770f R10: fffffbfff0aceee1 R11: 0000000000000001 R12: ffffffff84ff9960 R13: dffffc0000000000 R14: ffffffff84effe20 R15: ffff88806ce095d8 FS: 00007f5dd1d4d700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff4f293c58 CR3: 00000000473b8000 CR4: 0000000000350ef0 Call Trace: strlen include/linux/string.h:314 [inline] trace_event_get_offsets_lock include/trace/events/lock.h:39 [inline] perf_trace_lock+0xac/0x490 include/trace/events/lock.h:39 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x470/0x680 kernel/locking/lockdep.c:5577 rcu_lock_release include/linux/rcupdate.h:308 [inline] rcu_read_unlock include/linux/rcupdate.h:771 [inline] __is_insn_slot_addr+0x14c/0x290 kernel/kprobes.c:307 is_kprobe_optinsn_slot include/linux/kprobes.h:336 [inline] kernel_text_address kernel/extable.c:149 [inline] kernel_text_address+0xdf/0x120 kernel/extable.c:120 __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] kmem_cache_alloc_node+0x14b/0x330 mm/slub.c:2932 __alloc_skb+0x6d/0x5b0 net/core/skbuff.c:199 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: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 45 17 5c 03 48 01 d0 48 c1 e8 0c 48 c1 e0 06 48 03 05 23 17 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:ffff888017ed7548 EFLAGS: 00000286 RAX: ffffea0000359b00 RBX: 0000000000000000 RCX: ffffea000035df00 RDX: 0000000000000000 RSI: ffff88800d66c360 RDI: 0000000000000000 RBP: dffffc0000000000 R08: 0000000000000011 R09: ffffffff816cb601 R10: ffff88800de495f0 R11: 0000000000000001 R12: ffff888017ed7580 R13: 0000000080000000 R14: ffffffff80000000 R15: ffff88800d66c360 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] __proc_create+0x2b3/0x8b0 fs/proc/generic.c:431 proc_create_reg+0xb2/0x180 fs/proc/generic.c:558 proc_create_net_single+0x84/0x170 fs/proc/proc_net.c:203 ip_proc_init_net+0x50/0x1c0 net/ipv4/proc.c:497 ops_init+0xbb/0x6b0 net/core/net_namespace.c:156 setup_net+0x2d8/0x810 net/core/net_namespace.c:354 copy_net_ns+0x2c0/0x5d0 net/core/net_namespace.c:495 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x3fb/0x4f0 kernel/nsproxy.c:179 copy_process+0x385b/0x7800 kernel/fork.c:2129 kernel_clone+0xe7/0x980 kernel/fork.c:2506 __do_sys_clone3+0x1e5/0x320 kernel/fork.c:2781 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f5dd47d7b19 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:00007f5dd1d4d188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f5dd48eaf60 RCX: 00007f5dd47d7b19 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 0000000020000200 RBP: 00007f5dd4831f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe0256a40f R14: 00007f5dd1d4d300 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.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:ffff88806cf09a38 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: 1ffff1100d9e1348 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007eff0c7b9000 CR3: 000000000e1ea000 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/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 20 fa 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 64 85 5a 00 fb f4 9d 86 38 00 cc cc cc cc cc cc cc cc cc cc cc cc cc 41 55 41 54 RSP: 0018:ffff888008987e70 EFLAGS: 00000202 RAX: ffffffff83e7b910 RBX: 0000000000000001 RCX: ffffffff83e634ec RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e7bf18 RBP: ffffed100112f000 R08: 0000000000000001 R09: ffff88806cf3c12b R10: ffffed100d9e7825 R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff85677708 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 secondary_startup_64_no_verify+0xbe/0xcb ---------------- Code disassembly (best guess), 4 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: e8 48 83 c0 01 callq 0x1c08350 8: 48 89 c2 mov %rax,%rdx b: 48 89 c1 mov %rax,%rcx e: 48 c1 ea 03 shr $0x3,%rdx 12: 83 e1 07 and $0x7,%ecx 15: 0f b6 14 1a movzbl (%rdx,%rbx,1),%edx 19: 38 ca cmp %cl,%dl 1b: 7f 04 jg 0x21 1d: 84 d2 test %dl,%dl 1f: 75 27 jne 0x48 21: 80 38 00 cmpb $0x0,(%rax) 24: 75 de jne 0x4 * 26: 48 83 c4 08 add $0x8,%rsp <-- trapping instruction 2a: 48 29 e8 sub %rbp,%rax 2d: 5b pop %rbx 2e: 5d pop %rbp 2f: e9 11 10 20 02 jmpq 0x2201045 34: 48 83 c4 08 add $0x8,%rsp 38: 31 c0 xor %eax,%eax 3a: 5b pop %rbx 3b: 5d pop %rbp