watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.0:5664] Modules linked in: irq event stamp: 4570781 hardirqs last enabled at (4570780): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (4570781): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (4522376): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (4522379): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 5664 Comm: syz-executor.0 Not tainted 5.10.223 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:unwind_next_frame+0xdfc/0x1a90 arch/x86/kernel/unwind_orc.c:614 Code: 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 41 08 00 00 41 3b 5d 00 0f 84 16 05 00 00 b8 01 00 00 00 65 ff 0d 54 ef f1 7e b8 f6 ff ff 80 3d d8 95 54 04 00 0f 85 49 f6 ff ff e9 4a f7 c7 RSP: 0018:ffff88806ce09878 EFLAGS: 00000207 RAX: 0000000000000001 RBX: ffff88806ce09d38 RCX: 1ffff1100d9c1301 RDX: ffff88806ce09d40 RSI: ffff88806ce09d08 RDI: ffff88806ce09960 RBP: ffff88806ce02000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000032042 R11: 1ffff1100d9c1317 R12: ffff88806ce09d38 R13: ffff88806ce09950 R14: 1ffff1100d9c1317 R15: ffffffff85bf2e92 FS: 00007f0e7b054700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f83b4400d58 CR3: 0000000049d62000 CR4: 0000000000350ef0 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] kmem_cache_alloc_node+0x169/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: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:lock_is_held_type+0x6/0x110 kernel/locking/lockdep.c:5599 Code: 20 a5 46 84 89 44 24 04 e8 0b df f2 ff 0f 0b 8b 44 24 04 eb b5 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 8b 0d 76 9b 81 01 <41> b8 01 00 00 00 85 c9 0f 84 d4 00 00 00 65 8b 05 c5 b2 1c 7c 85 RSP: 0018:ffff8880495b7a30 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000001 RDX: 1ffff1100d9c7795 RSI: 00000000ffffffff RDI: ffffffff84ff8c20 RBP: ffff8880495b7b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88806ce3b2c0 R13: ffff88801a99cec0 R14: 000000000003b2c0 R15: 0000000000092cc0 lock_is_held include/linux/lockdep.h:282 [inline] rcu_preempt_sleep_check include/linux/rcupdate.h:374 [inline] schedule_debug kernel/sched/core.c:4318 [inline] __schedule+0xf3b/0x1ea0 kernel/sched/core.c:4443 preempt_schedule_common kernel/sched/core.c:4707 [inline] _cond_resched+0x49/0x80 kernel/sched/core.c:6130 slab_pre_alloc_hook mm/slab.h:513 [inline] slab_alloc_node mm/slub.c:2821 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x29c/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] kmem_cache_alloc_bulk+0x168/0x320 mm/slub.c:3343 io_alloc_req io_uring/io_uring.c:1977 [inline] io_submit_sqes+0x6fe6/0x8610 io_uring/io_uring.c:7380 __do_sys_io_uring_enter+0x6b5/0x18c0 io_uring/io_uring.c:9920 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f0e7dadeb19 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:00007f0e7b054188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f0e7dbf1f60 RCX: 00007f0e7dadeb19 RDX: 0000000000000000 RSI: 00000000000058ab RDI: 0000000000000005 RBP: 00007f0e7db38f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd0ce6927f R14: 00007f0e7b054300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5662 Comm: syz-executor.3 Not tainted 5.10.223 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 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 dc cd c1 7e a9 00 01 ff 00 74 RSP: 0018:ffff88806cf09570 EFLAGS: 00000002 RAX: 0000000000000000 RBX: ffff88801ab8b000 RCX: ffffffff814ec4f9 RDX: 0000000000000001 RSI: ffffffff814ec6c2 RDI: 0000000000000005 RBP: ffff88801ab8b440 R08: 0000000000000000 R09: ffff88801ab8b443 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000041 R14: ffff88806cf09988 R15: 0000000000000000 FS: 00007f67182e9700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556dc2c58 CR3: 0000000015b9e000 CR4: 0000000000350ee0 Call Trace: __perf_event_account_interrupt kernel/events/core.c:9021 [inline] __perf_event_overflow+0x522/0x5e0 kernel/events/core.c:9067 perf_swevent_hrtimer+0x37e/0x3f0 kernel/events/core.c:10485 __run_hrtimer kernel/time/hrtimer.c:1584 [inline] __hrtimer_run_queues+0x1ca/0xb40 kernel/time/hrtimer.c:1648 hrtimer_interrupt+0x2fd/0x9b0 kernel/time/hrtimer.c:1710 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline] __sysvec_apic_timer_interrupt+0xfb/0x310 arch/x86/kernel/apic/apic.c:1100 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline] sysvec_apic_timer_interrupt+0x3e/0xa0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 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 f0 a5 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: ffffffff87a04180 RCX: ffffffff81279957 RDX: fffffbfff0f40831 RSI: 0000000000000004 RDI: ffffffff87a04180 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a04183 R10: fffffbfff0f40830 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f40830 R14: 0000000000000001 R15: 1ffff1100d9e1348 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:zap_pte_range mm/memory.c:1250 [inline] RIP: 0010:zap_pmd_range mm/memory.c:1404 [inline] RIP: 0010:zap_pud_range mm/memory.c:1433 [inline] RIP: 0010:zap_p4d_range mm/memory.c:1454 [inline] RIP: 0010:unmap_page_range+0x9c9/0x1fe0 mm/memory.c:1475 Code: 00 00 4c 39 fb 0f 84 99 0b 00 00 49 89 c7 49 8d 87 00 f0 ff ff 48 89 04 24 e8 03 c3 e0 ff 4c 89 e8 48 c1 e8 03 42 80 3c 30 00 <0f> 85 ca 11 00 00 4d 8b 65 00 31 ff 4c 89 e3 48 83 e3 9f 48 89 de RSP: 0018:ffff8880490cf6f8 EFLAGS: 00000246 RAX: 1ffff11002b74778 RBX: ffff888000000bc0 RCX: ffffc90001c19000 RDX: 0000000000040000 RSI: ffffffff815fde4d RDI: 0000000000000001 RBP: 0000000015ba3000 R08: 0000000000000001 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000001 R12: 000ffffffffff000 R13: ffff888015ba3bc0 R14: dffffc0000000000 R15: 00007f83b6379000 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 register_for_each_vma+0x573/0xc00 kernel/events/uprobes.c:1081 uprobe_apply+0xfc/0x150 kernel/events/uprobes.c:1231 uprobe_perf_open kernel/trace/trace_uprobe.c:1317 [inline] trace_uprobe_register+0x3ba/0x730 kernel/trace/trace_uprobe.c:1470 perf_trace_event_open kernel/trace/trace_event_perf.c:186 [inline] perf_trace_event_init kernel/trace/trace_event_perf.c:208 [inline] perf_trace_event_init+0x185/0x9c0 kernel/trace/trace_event_perf.c:195 perf_uprobe_init+0x173/0x210 kernel/trace/trace_event_perf.c:336 perf_uprobe_event_init+0xff/0x1d0 kernel/events/core.c:9817 perf_try_init_event+0x130/0x570 kernel/events/core.c:11152 perf_init_event kernel/events/core.c:11204 [inline] perf_event_alloc.part.0+0xd96/0x2b70 kernel/events/core.c:11482 perf_event_alloc kernel/events/core.c:11878 [inline] __do_sys_perf_event_open+0x579/0x2e60 kernel/events/core.c:11976 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f671ad73b19 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:00007f67182e9188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f671ae86f60 RCX: 00007f671ad73b19 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000020000040 RBP: 00007f671adcdf6d R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffef9142b4f R14: 00007f67182e9300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax 8: 84 c0 test %al,%al a: 74 08 je 0x14 c: 3c 03 cmp $0x3,%al e: 0f 8e 41 08 00 00 jle 0x855 14: 41 3b 5d 00 cmp 0x0(%r13),%ebx 18: 0f 84 16 05 00 00 je 0x534 1e: b8 01 00 00 00 mov $0x1,%eax 23: 65 ff 0d 54 ef f1 7e decl %gs:0x7ef1ef54(%rip) # 0x7ef1ef7e * 2a: e9 b8 f6 ff ff jmpq 0xfffff6e7 <-- trapping instruction 2f: 80 3d d8 95 54 04 00 cmpb $0x0,0x45495d8(%rip) # 0x454960e 36: 0f 85 49 f6 ff ff jne 0xfffff685 3c: e9 .byte 0xe9 3d: 4a rex.WX 3e: f7 .byte 0xf7 3f: c7 .byte 0xc7