watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.0:4756] Modules linked in: irq event stamp: 4808203 hardirqs last enabled at (4808202): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (4808203): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (4801738): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (4801741): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 4756 Comm: syz-executor.0 Not tainted 5.10.230 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__kernel_text_address+0x2e/0x40 kernel/extable.c:118 Code: e8 d7 fe ff ff 85 c0 75 1b 48 81 fb 00 30 e7 85 72 0c 31 c0 48 81 fb a5 4f f5 85 0f 92 c0 5b e9 48 67 04 03 b8 01 00 00 00 5b 3d 67 04 03 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 48 89 fd RSP: 0018:ffff88806ce09818 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff88806ce09838 RCX: 1ffff1100d9c1301 RDX: 1ffff1100d9c1310 RSI: ffff88806ce09df0 RDI: ffffffff82c93a11 RBP: ffff88806ce09880 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000032042 R11: 1ffff1100d9c12f4 R12: ffff88806ce098f0 R13: 0000000000000000 R14: ffff88804629b480 R15: ffff888019fb4800 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5822a70718 CR3: 00000000423da000 CR4: 0000000000350ef0 Call Trace: 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+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:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:91 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:108 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:134 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:165 [inline] RIP: 0010:check_memory_region_inline mm/kasan/generic.c:183 [inline] RIP: 0010:check_memory_region+0x198/0x1f0 mm/kasan/generic.c:192 Code: 7d 85 41 bb 01 00 00 00 5b 5d 44 89 d8 41 5c e9 5e 8d b3 02 48 85 d2 74 e9 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 db 80 38 00 <74> f2 e9 28 ff ff ff 48 29 c3 48 89 da 49 89 d3 49 c1 fb 3f 49 c1 RSP: 0018:ffff88800e957610 EFLAGS: 00000246 RAX: fffff940001ecb16 RBX: fffff940001ecb17 RCX: ffffffff8156eecd RDX: fffff940001ecb17 RSI: 0000000000000004 RDI: ffffea0000f658b4 RBP: fffff940001ecb16 R08: 0000000000000001 R09: ffffea0000f658b7 R10: fffff940001ecb16 R11: 0000000000000001 R12: ffffea0000f658b4 R13: dffffc0000000000 R14: ffff88801716a6a8 R15: ffffea0000f65880 instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic_dec_and_test include/asm-generic/atomic-instrumented.h:748 [inline] page_ref_dec_and_test include/linux/page_ref.h:148 [inline] put_page_testzero include/linux/mm.h:708 [inline] release_pages+0x15d/0xc20 mm/swap.c:914 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:2762 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:0x7f58255e1b19 Code: Unable to access opcode bytes at RIP 0x7f58255e1aef. RSP: 002b:00007f5822ad3188 EFLAGS: 00000246 ORIG_RAX: 00000000000000f0 RAX: 0000000000000004 RBX: 00007f58256f5260 RCX: 00007f58255e1b19 RDX: 0000000000000000 RSI: 0000000000000042 RDI: 0000000020005c00 RBP: 00007f582563bf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff08908b6f R14: 00007f5822ad3300 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.230 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:193 Code: ff ff b9 ff 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 ac b0 c1 7e a9 00 RSP: 0018:ffff888008987d18 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 000000000009bd78 RCX: ffffffff8131c92a RDX: 000000000009bd78 RSI: ffff888008978000 RDI: 0000000000000004 RBP: 00000000005b9a3c R08: 0000000000000000 R09: 0000000000000000 R10: 000000000009bd78 R11: 0000000000000001 R12: 0000000003614acc R13: 000000000009bd78 R14: 0039c19d6e1bb100 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559694eb98fc CR3: 000000000e8fc000 CR4: 0000000000350ee0 Call Trace: ktime_get+0x158/0x1f0 kernel/time/timekeeping.c:839 tick_nohz_irq_enter kernel/time/tick-sched.c:1338 [inline] tick_irq_enter+0x7c/0x400 kernel/time/tick-sched.c:1359 irq_enter_rcu+0xbb/0xe0 kernel/softirq.c:359 sysvec_apic_timer_interrupt+0x13/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 70 eb 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 74 75 5a 00 fb f4 ad 76 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: ffffffff83e7c900 RBX: 0000000000000001 RCX: ffffffff83e644dc RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e7cf08 RBP: ffffed100112f000 R08: 0000000000000001 R09: ffff88806cf3c12b R10: ffffed100d9e7825 R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff85677788 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): 0: e8 d7 fe ff ff callq 0xfffffedc 5: 85 c0 test %eax,%eax 7: 75 1b jne 0x24 9: 48 81 fb 00 30 e7 85 cmp $0xffffffff85e73000,%rbx 10: 72 0c jb 0x1e 12: 31 c0 xor %eax,%eax 14: 48 81 fb a5 4f f5 85 cmp $0xffffffff85f54fa5,%rbx 1b: 0f 92 c0 setb %al 1e: 5b pop %rbx 1f: e9 48 67 04 03 jmpq 0x304676c 24: b8 01 00 00 00 mov $0x1,%eax 29: 5b pop %rbx * 2a: e9 3d 67 04 03 jmpq 0x304676c <-- trapping instruction 2f: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 36: 00 00 00 00 3a: 66 90 xchg %ax,%ax 3c: 55 push %rbp 3d: 48 89 fd mov %rdi,%rbp