watchdog: BUG: soft lockup - CPU#0 stuck for 127s! [syz.0.680:3633] Modules linked in: CPU: 0 PID: 3633 Comm: syz.0.680 Not tainted 6.1.90-syzkaller-00130-g1bb38f786569 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:update_stack_state+0xed/0x460 Code: 89 d8 48 c1 e8 03 42 0f b6 04 30 84 c0 0f 85 6f 03 00 00 c6 03 01 b9 a8 00 00 00 48 8b 45 88 eb 05 b9 10 00 00 00 4d 8d 67 08 <49> 8d 57 10 48 89 45 a8 48 01 c1 48 89 4d 80 49 8d 47 18 48 89 85 RSP: 0018:ffffc90000007070 EFLAGS: 00000246 RAX: ffffc90000007588 RBX: ffffc900000071f8 RCX: 0000000000000010 RDX: 0000000000000000 RSI: ffffc90000007588 RDI: ffffc90000007218 RBP: ffffc90000007128 R08: ffffc900000072a8 R09: 0000000000000001 R10: ffffc900000072b0 R11: dffffc0000000001 R12: ffffc900000071c8 R13: ffffc90000007210 R14: dffffc0000000000 R15: ffffc900000071c0 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f00aac2e9ee CR3: 000000011df2e000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:315 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:379 [inline] __kasan_kmalloc+0x9c/0xb0 mm/kasan/common.c:388 kasan_kmalloc include/linux/kasan.h:212 [inline] __do_kmalloc_node mm/slab_common.c:957 [inline] __kmalloc+0xb4/0x1e0 mm/slab_common.c:970 kmalloc include/linux/slab.h:561 [inline] kzalloc include/linux/slab.h:692 [inline] neigh_alloc net/core/neighbour.c:494 [inline] ___neigh_create+0x6af/0x1db0 net/core/neighbour.c:648 __neigh_create+0x32/0x40 net/core/neighbour.c:737 ip6_finish_output2+0x9d0/0x1840 net/ipv6/ip6_output.c:125 __ip6_finish_output net/ipv6/ip6_output.c:201 [inline] ip6_finish_output+0x50f/0xa60 net/ipv6/ip6_output.c:212 NF_HOOK_COND include/linux/netfilter.h:294 [inline] ip6_output+0x1f7/0x4d0 net/ipv6/ip6_output.c:233 dst_output include/net/dst.h:444 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] ndisc_send_skb+0x7cf/0xdc0 net/ipv6/ndisc.c:509 ndisc_send_rs+0x47d/0x5f0 net/ipv6/ndisc.c:719 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3984 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1510 expire_timers kernel/time/timer.c:1555 [inline] __run_timers+0x72a/0xa10 kernel/time/timer.c:1826 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1839 __do_softirq+0x1d8/0x661 kernel/softirq.c:617 invoke_softirq kernel/softirq.c:472 [inline] __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:700 irq_exit_rcu+0x9/0x10 kernel/softirq.c:712 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__schedule+0xcb4/0x1550 kernel/sched/core.c:6752 Code: b6 04 28 84 c0 0f 85 83 02 00 00 41 80 24 24 fc 4c 89 f7 48 8b 74 24 20 e8 a9 c4 e2 fb 48 89 c7 e8 81 d7 32 fc 48 8b 44 24 70 <48> c7 84 24 80 00 00 00 0e 36 e0 45 49 c7 44 05 00 00 00 00 00 65 RSP: 0018:ffffc900085f6ee0 EFLAGS: 00000282 RAX: 1ffff920010bedec RBX: ffff88810eed19a8 RCX: 0000000000000002 RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc900085f6ff0 R08: ffffffff819b54a0 R09: fffffbfff0ee5117 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f7038748 R13: dffffc0000000000 R14: ffff88810eed1440 R15: 1ffff11021dda335 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:7056 raw_irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:396 irqentry_exit+0x30/0x40 kernel/entry/common.c:439 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:unwind_next_frame+0x3bc/0x700 arch/x86/kernel/unwind_frame.c:315 Code: 98 74 0b 48 8b 7d d0 e8 62 03 00 00 eb 1c 48 8b 5d d0 48 89 d8 48 c1 e8 03 80 3c 10 00 74 08 48 89 df e8 47 ec 84 00 48 8b 03 <4c> 89 f7 48 89 45 d0 48 89 c6 e8 45 03 00 00 89 c1 b0 01 84 c9 0f RSP: 0018:ffffc900085f7198 EFLAGS: 00000246 RAX: ffffc900085f7890 RBX: ffffc900085f7878 RCX: ffffffff877a1000 RDX: dffffc0000000000 RSI: ffffffff81c63fd5 RDI: ffffc900085f7f48 RBP: ffffc900085f7210 R08: ffffc900085f7308 R09: 0000000000000007 R10: ffffc900085f7310 R11: dffffc0000000001 R12: 0000000000000000 R13: ffffc900085f7270 R14: ffffc900085f7220 R15: 1ffff920010bee44 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:147 __reset_page_owner+0x54/0x190 mm/page_owner.c:168 reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1498 [inline] free_pcp_prepare mm/page_alloc.c:1572 [inline] free_unref_page_prepare+0x83d/0x850 mm/page_alloc.c:3498 free_unref_page+0xb2/0x5c0 mm/page_alloc.c:3594 free_the_page mm/page_alloc.c:798 [inline] __free_pages+0x61/0xf0 mm/page_alloc.c:5803 __vunmap+0x9f3/0xb60 mm/vmalloc.c:2728 __vfree mm/vmalloc.c:2776 [inline] vfree+0x5c/0x80 mm/vmalloc.c:2807 kcov_put kernel/kcov.c:428 [inline] kcov_close+0x2b/0x50 kernel/kcov.c:524 __fput+0x3ab/0x870 fs/file_table.c:320 ____fput+0x15/0x20 fs/file_table.c:348 task_work_run+0x24d/0x2e0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xbd5/0x2b80 kernel/exit.c:875 do_group_exit+0x21a/0x2d0 kernel/exit.c:1025 get_signal+0x169d/0x1820 kernel/signal.c:2880 arch_do_signal_or_restart+0xb0/0x16f0 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x74/0xa0 kernel/entry/common.c:174 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x26/0x130 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f8c2d3779f9 Code: Unable to access opcode bytes at 0x7f8c2d3779cf. RSP: 002b:00007f8c2e212038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: 0000000000000117 RBX: 00007f8c2d505f80 RCX: 00007f8c2d3779f9 RDX: 0000000004040001 RSI: 0000000020000240 RDI: 0000000000000006 RBP: 00007f8c2d3e58ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8c2d505f80 R15: 00007ffe38282268 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 6.1.90-syzkaller-00130-g1bb38f786569 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:453 [inline] RIP: 0010:smp_call_function_many_cond+0x851/0x930 kernel/smp.c:998 Code: 3e 44 89 fe 83 e6 01 31 ff e8 4b 9f 09 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 0a e8 86 9b 09 00 e9 2f ff ff ff f3 90 <42> 0f b6 04 3b 84 c0 75 14 41 f7 06 01 00 00 00 0f 84 12 ff ff ff RSP: 0018:ffffc90000087840 EFLAGS: 00000293 RAX: ffffffff816c074c RBX: 1ffff1103ee07a99 RCX: ffff888100398000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000087958 R08: ffffffff816c0715 R09: ffffed103ee271fb R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000800000000 R14: ffff8881f703d4c8 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8131635000 CR3: 0000000006e0f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1334 [inline] text_poke_bp_batch+0x1e9/0x730 arch/x86/kernel/alternative.c:1534 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1732 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146 __jump_label_update+0x36a/0x380 kernel/jump_label.c:455 jump_label_update+0x3af/0x450 kernel/jump_label.c:801 static_key_enable_cpuslocked+0x12f/0x250 kernel/jump_label.c:177 static_key_enable+0x1a/0x30 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x450 mm/kfence/core.c:804 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446 kthread+0x26d/0x300 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308