watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor.1:4951] Modules linked in: irq event stamp: 7213921 hardirqs last enabled at (7213920): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (7213921): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (7123126): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (7123129): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 4951 Comm: syz-executor.1 Not tainted 5.10.226 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:30 [inline] RIP: 0010:__orc_find+0x63/0xf0 arch/x86/kernel/unwind_orc.c:52 Code: eb 0c 48 8d 6b 04 49 89 de 49 39 ec 72 4d 4c 89 e0 48 29 e8 48 89 c2 48 c1 e8 3f 48 c1 fa 02 48 01 d0 48 d1 f8 48 8d 5c 85 00 <48> 89 d8 48 c1 e8 03 42 0f b6 14 38 48 89 d8 83 e0 07 83 c0 03 38 RSP: 0018:ffff88806cf09718 EFLAGS: 00000216 RAX: 0000000000000003 RBX: ffffffff859427fc RCX: ffffffff84000d01 RDX: 0000000000000006 RSI: ffffffff85d42380 RDI: ffffffff859427f0 RBP: ffffffff859427f0 R08: ffffffff85d42380 R09: ffffffff85d42446 R10: 0000000000032042 R11: 1ffff1100d9e12f4 R12: ffffffff85942808 R13: ffffffff859427f0 R14: ffffffff859427f0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d436000 CR3: 00000000174a4000 CR4: 0000000000350ee0 Call Trace: orc_find arch/x86/kernel/unwind_orc.c:178 [inline] unwind_next_frame+0x2b3/0x1a90 arch/x86/kernel/unwind_orc.c:448 arch_stack_walk+0x83/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track+0x1c/0x30 mm/kasan/common.c:56 kasan_set_free_info+0x1b/0x30 mm/kasan/generic.c:355 __kasan_slab_free+0x110/0x160 mm/kasan/common.c:422 slab_free_hook mm/slub.c:1542 [inline] slab_free_freelist_hook+0xa9/0x180 mm/slub.c:1576 slab_free mm/slub.c:3149 [inline] kfree+0xd7/0x340 mm/slub.c:4125 skb_free_head net/core/skbuff.c:605 [inline] skb_release_data+0x604/0x820 net/core/skbuff.c:625 skb_release_all net/core/skbuff.c:679 [inline] __kfree_skb net/core/skbuff.c:693 [inline] consume_skb net/core/skbuff.c:849 [inline] consume_skb+0x110/0x2b0 net/core/skbuff.c:843 mac80211_hwsim_tx_frame+0x15a/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1717 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:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:__sanitizer_cov_trace_pc+0x30/0x60 kernel/kcov.c:197 Code: 8b 14 25 80 6f 02 00 65 8b 05 ec cf c1 7e a9 00 01 ff 00 74 0f f6 c4 01 74 35 8b 82 fc 13 00 00 85 c0 74 2b 8b 82 d8 13 00 00 <83> f8 02 75 20 48 8b 8a e0 13 00 00 8b 92 dc 13 00 00 48 8b 01 48 RSP: 0018:ffff8880479e7628 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00000000000001fe RCX: ffffffff8156d3e0 RDX: ffff888047974ec0 RSI: ffffffff8156d3ed RDI: 0000000000000004 RBP: 0000000000000156 R08: 0000000000000001 R09: ffffea0000d811b7 R10: 00000000000001fe R11: 0000000000000001 R12: ffffea0000d81100 R13: dffffc0000000000 R14: ffff8880200adac0 R15: ffffea0000d81180 release_pages+0x74d/0xc20 mm/swap.c:880 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu+0xe9/0x6e0 mm/mmu_gather.c:247 zap_pte_range mm/memory.c:1355 [inline] zap_pmd_range mm/memory.c:1404 [inline] zap_pud_range mm/memory.c:1433 [inline] zap_p4d_range mm/memory.c:1454 [inline] unmap_page_range+0x17d9/0x1fe0 mm/memory.c:1475 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 exit_mm kernel/exit.c:536 [inline] do_exit+0xa96/0x2600 kernel/exit.c:847 do_group_exit+0x125/0x310 kernel/exit.c:982 get_signal+0x4bc/0x2350 kernel/signal.c:2759 arch_do_signal_or_restart+0x2b7/0x1990 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x10f/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:0x7fce97098b19 Code: Unable to access opcode bytes at RIP 0x7fce97098aef. RSP: 002b:00007fce9460e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: 000000000000000a RBX: 00007fce971abf60 RCX: 00007fce97098b19 RDX: 0000000000105142 RSI: 0000000020000100 RDI: ffffffffffffff9c RBP: 00007fce970f2f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff4809b0ff R14: 00007fce9460e300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4965 Comm: syz-executor.0 Not tainted 5.10.226 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:hlock_class kernel/locking/lockdep.c:196 [inline] RIP: 0010:mark_lock+0xfd/0x2df0 kernel/locking/lockdep.c:4511 Code: 41 81 e5 ff 1f 45 0f b7 ed be 08 00 00 00 4c 89 e8 48 c1 f8 06 48 8d 3c c5 e0 86 86 86 e8 7b d1 45 00 4c 0f a3 2d b3 ec 5f 05 <0f> 83 18 01 00 00 4f 8d 6c 6d 00 49 c1 e5 06 49 81 c5 00 8b 86 86 RSP: 0018:ffff88806ce08de0 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 1ffff1100d9c11c3 RCX: ffffffff81269a25 RDX: fffffbfff0d0d0dd RSI: 0000000000000008 RDI: ffffffff868686e0 RBP: 0000000000000009 R08: 0000000000000000 R09: ffffffff868686e7 R10: fffffbfff0d0d0dc R11: 0000000000000001 R12: ffff888017cb2400 R13: 0000000000000014 R14: ffff888017cb2420 R15: 0000000000000200 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556839f33678 CR3: 00000000174a4000 CR4: 0000000000350ef0 Call Trace: mark_usage kernel/locking/lockdep.c:4454 [inline] __lock_acquire+0x890/0x5b00 kernel/locking/lockdep.c:4909 lock_acquire kernel/locking/lockdep.c:5566 [inline] lock_acquire+0x197/0x470 kernel/locking/lockdep.c:5531 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:717 [inline] __perf_output_begin kernel/events/ring_buffer.c:163 [inline] perf_output_begin_forward+0xb2/0xb60 kernel/events/ring_buffer.c:271 __perf_event_output kernel/events/core.c:7416 [inline] perf_event_output_forward+0xf3/0x2c0 kernel/events/core.c:7434 __perf_event_overflow+0x213/0x5e0 kernel/events/core.c:9090 perf_swevent_hrtimer+0x37e/0x3f0 kernel/events/core.c:10493 __run_hrtimer kernel/time/hrtimer.c:1586 [inline] __hrtimer_run_queues+0x1ca/0xb40 kernel/time/hrtimer.c:1650 hrtimer_interrupt+0x2fd/0x9b0 kernel/time/hrtimer.c:1712 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:stack_trace_consume_entry+0xa/0x160 kernel/stacktrace.c:82 Code: e8 6b 95 10 00 48 c7 c1 e0 45 48 84 31 d2 be 80 01 00 00 48 c7 c7 e0 43 48 84 e9 91 a4 5e 00 cc 48 b8 00 00 00 00 00 fc ff df <55> 53 48 89 fb 48 83 c7 10 48 89 fa 48 c1 ea 03 48 83 ec 08 0f b6 RSP: 0018:ffff88806ce09888 EFLAGS: 00000282 RAX: dffffc0000000000 RBX: ffffffff813009f0 RCX: 1ffff1100d9c1301 RDX: 1ffff1100d9c131b RSI: ffffffff8400011f RDI: ffff88806ce09948 RBP: ffff88806ce09918 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000032042 R11: 1ffff1100d9c12ff R12: ffff88806ce09948 R13: 0000000000000000 R14: ffff888017cb1a40 R15: ffff88800e74cc80 arch_stack_walk+0x73/0xf0 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track+0x1c/0x30 mm/kasan/common.c:56 kasan_set_free_info+0x1b/0x30 mm/kasan/generic.c:355 __kasan_slab_free+0x110/0x160 mm/kasan/common.c:422 slab_free_hook mm/slub.c:1542 [inline] slab_free_freelist_hook+0xa9/0x180 mm/slub.c:1576 slab_free mm/slub.c:3149 [inline] kmem_cache_free+0xa7/0x2d0 mm/slub.c:3165 kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:637 __kfree_skb net/core/skbuff.c:694 [inline] consume_skb net/core/skbuff.c:849 [inline] consume_skb+0x11d/0x2b0 net/core/skbuff.c:843 mac80211_hwsim_tx_frame+0x15a/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1717 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:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:__tlb_adjust_range include/asm-generic/tlb.h:313 [inline] RIP: 0010:tlb_flush_pte_range include/asm-generic/tlb.h:525 [inline] RIP: 0010:zap_pte_range mm/memory.c:1273 [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+0xe4f/0x1fe0 mm/memory.c:1475 Code: 8b 45 00 49 c7 45 00 00 00 00 00 48 89 44 24 28 e8 96 bd e0 ff 48 8b 44 24 08 48 8d 78 10 48 89 f8 48 c1 e8 03 42 80 3c 30 00 <0f> 85 4d 0e 00 00 48 8b 4c 24 08 48 8b 04 24 48 39 41 10 48 0f 46 RSP: 0018:ffff8880463f7760 EFLAGS: 00000246 RAX: 1ffff11008c7ef4a RBX: 0000000000000001 RCX: ffffffff815fe175 RDX: ffff888017cb1a40 RSI: ffffffff815fe1aa RDI: ffff8880463f7a50 RBP: ffffea000074ac00 R08: 0000000000000000 R09: ffff888017cb1a47 R10: 0000000000000000 R11: 0000000000000001 R12: ffff8880463f7a60 R13: ffff888045619da8 R14: dffffc0000000000 R15: 00007fe8105b6000 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 exit_mm kernel/exit.c:536 [inline] do_exit+0xa96/0x2600 kernel/exit.c:847 do_group_exit+0x125/0x310 kernel/exit.c:982 get_signal+0x4bc/0x2350 kernel/signal.c:2759 arch_do_signal_or_restart+0x2b7/0x1990 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x10f/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:0x7fe810960b19 Code: Unable to access opcode bytes at RIP 0x7fe810960aef. RSP: 002b:00007fe80ded6188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: 0000000000000005 RBX: 00007fe810a73f60 RCX: 00007fe810960b19 RDX: 0000000000000000 RSI: 000000000 Lost 3 message(s)! ---------------- Code disassembly (best guess): 0: eb 0c jmp 0xe 2: 48 8d 6b 04 lea 0x4(%rbx),%rbp 6: 49 89 de mov %rbx,%r14 9: 49 39 ec cmp %rbp,%r12 c: 72 4d jb 0x5b e: 4c 89 e0 mov %r12,%rax 11: 48 29 e8 sub %rbp,%rax 14: 48 89 c2 mov %rax,%rdx 17: 48 c1 e8 3f shr $0x3f,%rax 1b: 48 c1 fa 02 sar $0x2,%rdx 1f: 48 01 d0 add %rdx,%rax 22: 48 d1 f8 sar %rax 25: 48 8d 5c 85 00 lea 0x0(%rbp,%rax,4),%rbx * 2a: 48 89 d8 mov %rbx,%rax <-- trapping instruction 2d: 48 c1 e8 03 shr $0x3,%rax 31: 42 0f b6 14 38 movzbl (%rax,%r15,1),%edx 36: 48 89 d8 mov %rbx,%rax 39: 83 e0 07 and $0x7,%eax 3c: 83 c0 03 add $0x3,%eax 3f: 38 .byte 0x38