kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 watchdog: BUG: soft lockup - CPU#1 stuck for 246s! [kworker/u4:2:43] Modules linked in: CPU: 1 PID: 43 Comm: kworker/u4:2 Not tainted 6.1.134-syzkaller-00012-g646380b087a5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:453 [inline] RIP: 0010:smp_call_function_many_cond+0x872/0x960 kernel/smp.c:998 Code: 41 8b 1f 89 de 83 e6 01 31 ff e8 39 66 09 00 83 e3 01 48 bb 00 00 00 00 00 fc ff df 75 0a e8 05 62 09 00 e9 38 ff ff ff f3 90 <41> 0f b6 44 1d 00 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 1a ff ff RSP: 0000:ffffc900002cf840 EFLAGS: 00000293 RAX: ffffffff816684ee RBX: dffffc0000000000 RCX: ffff888100262880 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900002cf978 R08: dffffc0000000000 R09: ffffed103ee271fb R10: 0000000000000000 R11: ffffffff81341390 R12: 1ffff1103ee271f8 R13: 1ffff1103ee07a99 R14: 0000000000000000 R15: ffff8881f703d4c8 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d91bff8 CR3: 0000000006e0f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: on_each_cpu_cond_mask+0x43/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+0x1cc/0x580 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+0x37c/0x3a0 kernel/jump_label.c:451 jump_label_update+0x39b/0x450 kernel/jump_label.c:797 static_key_enable_cpuslocked+0x126/0x240 kernel/jump_label.c:173 static_key_enable+0x1a/0x30 kernel/jump_label.c:186 toggle_allocation_gate+0xb4/0x400 mm/kfence/core.c:805 process_one_work+0x71f/0xc40 kernel/workqueue.c:2299 worker_thread+0xa29/0x11f0 kernel/workqueue.c:2446 kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6142 Comm: syz.2.1952 Not tainted 6.1.134-syzkaller-00012-g646380b087a5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:native_halt arch/x86/include/asm/irqflags.h:57 [inline] RIP: 0010:halt arch/x86/include/asm/irqflags.h:98 [inline] RIP: 0010:kvm_wait+0xcc/0x140 arch/x86/kernel/kvm.c:1058 Code: 20 f6 44 24 21 02 75 24 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 48 0f b6 07 40 38 f0 75 a6 66 90 0f 00 2d 15 b7 13 04 f4 9a fa 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 3f 0f b6 07 RSP: 0018:ffffc90000ad6ec0 EFLAGS: 00000046 RAX: 0000000000000003 RBX: ffff8881f70279c0 RCX: ffffffff84efb682 RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881f70279c0 RBP: ffffc90000ad6f50 R08: dffffc0000000000 R09: ffffed103ee04f39 R10: ffffed103ee04f39 R11: 1ffff1103ee04f38 R12: 1ffff1103ee00001 R13: ffff8881f7038bd4 R14: dffffc0000000000 R15: 1ffff9200015add8 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555946504a8 CR3: 000000012f7d7000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:603 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x690/0xc40 kernel/locking/qspinlock.c:511 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath+0x47/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock include/linux/spinlock.h:187 [inline] __raw_spin_lock include/linux/spinlock_api_smp.h:134 [inline] _raw_spin_lock+0xd8/0xe0 kernel/locking/spinlock.c:154 krc_this_cpu_lock kernel/rcu/tree.c:3035 [inline] add_ptr_to_bulk_krc_lock kernel/rcu/tree.c:3355 [inline] kvfree_call_rcu+0x100/0x7a0 kernel/rcu/tree.c:3446 trie_delete_elem+0x572/0x720 kernel/bpf/lpm_trie.c:545 bpf_prog_5186c38a4019a4cb+0x42/0x46 bpf_dispatcher_nop_func include/linux/bpf.h:987 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2282 [inline] bpf_trace_run3+0x113/0x270 kernel/trace/bpf_trace.c:2322 __bpf_trace_timer_start+0x2b/0x40 include/trace/events/timer.h:53 trace_timer_start include/trace/events/timer.h:53 [inline] enqueue_timer+0x337/0x480 kernel/time/timer.c:615 __mod_timer+0x79f/0xb30 kernel/time/timer.c:-1 add_timer+0x68/0x80 kernel/time/timer.c:1218 __queue_delayed_work+0x173/0x200 kernel/workqueue.c:1686 mod_delayed_work_on+0x74/0xe0 kernel/workqueue.c:1749 mod_delayed_work include/linux/workqueue.h:540 [inline] schedule_delayed_monitor_work kernel/rcu/tree.c:3213 [inline] kvfree_call_rcu+0x560/0x7a0 kernel/rcu/tree.c:3472 drop_sysctl_table+0x2ef/0x410 fs/proc/proc_sysctl.c:1727 unregister_sysctl_table+0x75/0x120 fs/proc/proc_sysctl.c:1765 unregister_net_sysctl_table+0x15/0x20 net/sysctl_net.c:175 neigh_sysctl_unregister+0x78/0x90 net/core/neighbour.c:3871 devinet_sysctl_unregister net/ipv4/devinet.c:2665 [inline] inetdev_destroy net/ipv4/devinet.c:329 [inline] inetdev_event+0x860/0x10e0 net/ipv4/devinet.c:1616 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xa1/0x110 kernel/notifier.c:455 call_netdevice_notifiers_info net/core/dev.c:2009 [inline] call_netdevice_notifiers_extack net/core/dev.c:2047 [inline] call_netdevice_notifiers net/core/dev.c:2061 [inline] unregister_netdevice_many+0xf8f/0x1820 net/core/dev.c:10939 unregister_netdevice_queue+0x31c/0x360 net/core/dev.c:10870 unregister_netdevice include/linux/netdevice.h:3108 [inline] __tun_detach+0xca6/0x1460 drivers/net/tun.c:685 tun_detach drivers/net/tun.c:701 [inline] tun_chr_close+0x92/0x140 drivers/net/tun.c:3492 __fput+0x1fc/0x8f0 fs/file_table.c:320 ____fput+0x15/0x20 fs/file_table.c:348 task_work_run+0x1db/0x240 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0xa1d/0x2650 kernel/exit.c:877 __do_sys_exit kernel/exit.c:994 [inline] __se_sys_exit kernel/exit.c:992 [inline] __x64_sys_exit+0x40/0x40 kernel/exit.c:992 x64_sys_call+0x67/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:61 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f06d798e969 Code: Unable to access opcode bytes at 0x7f06d798e93f. RSP: 002b:00007f06d87f4fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000003c RAX: ffffffffffffffda RBX: 00007f06d7bb6240 RCX: 00007f06d798e969 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f06d7a10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f06d7bb6240 R15: 00007ffd5ec01de8