kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299 watchdog: BUG: soft lockup - CPU#1 stuck for 226s! [kworker/u4:4:906] Modules linked in: CPU: 1 PID: 906 Comm: kworker/u4:4 Tainted: G W 5.15.153-syzkaller-00623-gda92e689a0c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: netns cleanup_net RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_single+0x278/0x510 kernel/smp.c:758 Code: 0f 85 18 02 00 00 44 8b 6c 24 48 44 89 ee 83 e6 01 31 ff e8 ca ba 0a 00 41 83 e5 01 75 0a e8 0f b7 0a 00 e9 eb 00 00 00 f3 90 <42> 0f b6 04 23 84 c0 75 15 f7 44 24 48 01 00 00 00 0f 84 cd 00 00 RSP: 0018:ffffc90000b378c0 EFLAGS: 00000293 RAX: ffffffff816593f4 RBX: 1ffff92000166f21 RCX: ffff888112dfa780 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000b379b0 R08: ffffffff816593c6 R09: ffffed103ee071d9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc90000b37908 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000011638f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_barrier+0x218/0x400 kernel/rcu/tree.c:4125 netdev_run_todo+0x14b/0x9f0 net/core/dev.c:10628 rtnl_unlock+0xe/0x10 net/core/rtnetlink.c:112 ip_tunnel_delete_nets+0x340/0x380 net/ipv4/ip_tunnel.c:1138 ipip_exit_batch_net+0x22/0x30 net/ipv4/ipip.c:652 ops_exit_list net/core/net_namespace.c:174 [inline] cleanup_net+0x6ce/0xc00 net/core/net_namespace.c:596 process_one_work+0x6bb/0xc10 kernel/workqueue.c:2325 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3332 Comm: syz-executor Tainted: G W 5.15.153-syzkaller-00623-gda92e689a0c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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:912 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 ea fc 12 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:ffffc90000007840 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff92000000f0c RCX: 0000000087504200 RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffffff87504280 RBP: ffffc900000078f0 R08: dffffc0000000000 R09: 0000000000000000 R10: fffffbfff0ea0850 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffffff87504280 R14: 0000000000000003 R15: 1ffff92000000f10 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000011638f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:597 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x6bc/0xc40 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock_flags include/linux/spinlock.h:199 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:162 free_percpu+0x9e/0x1090 mm/percpu.c:2279 fib6_nh_release+0x3ab/0x3f0 net/ipv6/route.c:3679 fib6_info_destroy_rcu+0xc1/0x1b0 net/ipv6/ip6_fib.c:175 rcu_do_batch+0x57a/0xc10 kernel/rcu/tree.c:2523 rcu_core+0x517/0x1020 kernel/rcu/tree.c:2763 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2776 __do_softirq+0x26d/0x5bf kernel/softirq.c:565 do_softirq+0xf6/0x150 kernel/softirq.c:452 __local_bh_enable_ip+0x75/0x80 kernel/softirq.c:379 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0x51/0x60 kernel/locking/spinlock.c:210 __sock_map_delete net/core/sock_map.c:426 [inline] sock_map_delete_elem+0xcb/0x130 net/core/sock_map.c:448 bpf_prog_2c29ac5cdc6b1842+0x3a/0x6c8 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run3+0x11e/0x250 kernel/trace/bpf_trace.c:1918 __bpf_trace_percpu_free_percpu+0x2b/0x40 include/trace/events/percpu.h:43 __traceiter_percpu_free_percpu+0x7f/0xd0 include/trace/events/percpu.h:43 trace_percpu_free_percpu include/trace/events/percpu.h:43 [inline] free_percpu+0xd12/0x1090 mm/percpu.c:2306 tun_free_netdev+0x75/0x1b0 drivers/net/tun.c:2285 netdev_run_todo+0x7c0/0x9f0 net/core/dev.c:10657 rtnl_unlock+0xe/0x10 net/core/rtnetlink.c:112 tun_detach drivers/net/tun.c:705 [inline] tun_chr_close+0xc4/0x140 drivers/net/tun.c:3435 __fput+0x3fe/0x910 fs/file_table.c:280 ____fput+0x15/0x20 fs/file_table.c:308 task_work_run+0x129/0x190 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0xc48/0x2ca0 kernel/exit.c:878 do_group_exit+0x141/0x310 kernel/exit.c:1000 __do_sys_exit_group kernel/exit.c:1011 [inline] __se_sys_exit_group kernel/exit.c:1009 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1009 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fd23bc00e79 Code: Unable to access opcode bytes at RIP 0x7fd23bc00e4f. RSP: 002b:00007ffdcb6c5928 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd23bc00e79 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043 RBP: 00007fd23bc60508 R08: 00007ffdcb6c36c7 R09: 0000000000000003 R10: 0000000000000009 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000003 R14: 00000000ffffffff R15: 00007ffdcb6c5ad0