RBP: 00007fd327337a80 R08: 0000000000000006 R09: 00007fff8bfe259f R10: 00000000003ffa94 R11: 0000000000000246 R12: 0000000000038b51 R13: 00007fff8bfe23b0 R14: 0000000000000032 R15: ffffffffffffffff watchdog: BUG: soft lockup - CPU#0 stuck for 246s! [syz.4.2367:7763] Modules linked in: CPU: 0 PID: 7763 Comm: syz.4.2367 Not tainted 6.1.112-syzkaller-00109-gfadb08b36671 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:453 [inline] RIP: 0010:smp_call_function_many_cond+0x84f/0x930 kernel/smp.c:998 Code: 3e 44 89 fe 83 e6 01 31 ff e8 8d 9b 09 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 0a e8 c8 97 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:ffffc9000bfdf600 EFLAGS: 00000293 RAX: ffffffff816c0c6a RBX: 1ffff1103ede7885 RCX: ffff88813de7e540 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000bfdf718 R08: ffffffff816c0c33 R09: ffffed103edc71fb R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 0000000800000000 R14: ffff8881f6f3c428 R15: dffffc0000000000 FS: 000055557088f500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2a658c CR3: 000000013789b000 CR4: 00000000003506b0 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_bp+0xc8/0x140 arch/x86/kernel/alternative.c:1771 __static_call_transform+0x333/0x560 arch/x86/kernel/static_call.c:109 arch_static_call_transform+0x51/0xa0 arch/x86/kernel/static_call.c:161 __static_call_update+0xd2/0x5c0 kernel/static_call_inline.c:136 tracepoint_update_call kernel/tracepoint.c:317 [inline] tracepoint_remove_func kernel/tracepoint.c:441 [inline] tracepoint_probe_unregister+0x7fb/0x900 kernel/tracepoint.c:551 bpf_probe_unregister+0x61/0x70 kernel/trace/bpf_trace.c:2349 bpf_raw_tp_link_release+0x63/0x90 kernel/bpf/syscall.c:3170 bpf_link_free+0x129/0x3f0 kernel/bpf/syscall.c:2744 bpf_link_put kernel/bpf/syscall.c:2770 [inline] bpf_link_release+0x170/0x180 kernel/bpf/syscall.c:2779 __fput+0x1e5/0x870 fs/file_table.c:320 ____fput+0x15/0x20 fs/file_table.c:348 task_work_run+0x24d/0x2e0 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x94/0xa0 kernel/entry/common.c:177 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:0x7fd32717e719 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff8bfe22a8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fd327337a80 RCX: 00007fd32717e719 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fd327337a80 R08: 0000000000000006 R09: 00007fff8bfe259f R10: 00000000003ffa94 R11: 0000000000000246 R12: 0000000000038b51 R13: 00007fff8bfe23b0 R14: 0000000000000032 R15: ffffffffffffffff Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7786 Comm: syz.8.2375 Not tainted 6.1.112-syzkaller-00109-gfadb08b36671 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 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+0x117/0x180 arch/x86/kernel/kvm.c:1058 Code: 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 53 41 0f b6 45 00 44 38 f0 0f 85 63 ff ff ff 66 90 0f 00 2d 8a f9 50 04 f4 54 ff ff ff fa 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b RSP: 0018:ffffc9000c1a7400 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff92001834e84 RCX: ffffffff85214c9c RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881466b4560 RBP: ffffc9000c1a74b0 R08: dffffc0000000000 R09: ffffed1028cd68ad R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881466b4560 R14: 0000000000000003 R15: 1ffff92001834e88 FS: 0000555585dfb500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020010000 CR3: 000000011b392000 CR4: 00000000003506a0 DR0: 0000000000000005 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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+0x6de/0xda0 kernel/locking/qspinlock.c:511 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock include/linux/spinlock.h:187 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:162 trie_delete_elem+0x95/0x760 kernel/bpf/lpm_trie.c:454 bpf_prog_1c0c44170264bb34+0x3d/0x41 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:2273 [inline] bpf_trace_run2+0x133/0x290 kernel/trace/bpf_trace.c:2312 __bpf_trace_contention_end+0xb/0x10 include/trace/events/lock.h:122 trace_contention_end include/trace/events/lock.h:122 [inline] __pv_queued_spin_lock_slowpath+0xd59/0xda0 kernel/locking/qspinlock.c:560 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock include/linux/spinlock.h:187 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:162 trie_delete_elem+0x95/0x760 kernel/bpf/lpm_trie.c:454 bpf_prog_1c0c44170264bb34+0x3d/0x41 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:2273 [inline] bpf_trace_run1+0x106/0x240 kernel/trace/bpf_trace.c:2311 __bpf_trace_qdisc_reset+0x1d/0x30 include/trace/events/qdisc.h:77 trace_qdisc_reset include/trace/events/qdisc.h:77 [inline] qdisc_reset+0x471/0x4d0 net/sched/sch_generic.c:1020 qdisc_reset_all_tx_gt include/net/sch_generic.h:738 [inline] netif_set_real_num_tx_queues+0x535/0x770 net/core/dev.c:2942 tun_set_real_num_queues drivers/net/tun.c:589 [inline] __tun_detach+0xb78/0x1510 drivers/net/tun.c:673 tun_detach drivers/net/tun.c:701 [inline] tun_chr_close+0x92/0x140 drivers/net/tun.c:3492 __fput+0x1e5/0x870 fs/file_table.c:320 ____fput+0x15/0x20 fs/file_table.c:348 task_work_run+0x24d/0x2e0 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x94/0xa0 kernel/entry/common.c:177 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:0x7f7e6097e719 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffee4089c98 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00000000000388e7 RCX: 00007f7e6097e719 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f7e60b37a80 R08: 0000000000000001 R09: 00007ffee4089f8f R10: 00007f7e60600000 R11: 0000000000000246 R12: 000000000003896a R13: 00007ffee4089da0 R14: 0000000000000032 R15: ffffffffffffffff