INFO: task kworker/u8:1:13 blocked for more than 430 seconds. Not tainted 6.16.0-rc1-syzkaller-gfda589c28604 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:1 state:D stack:0 pid:13 tgid:13 ppid:2 task_flags:0x4208060 flags:0x00000000 Workqueue: netns cleanup_net Call Trace: [] context_switch kernel/sched/core.c:5396 [inline] [] __schedule+0x1022/0x4094 kernel/sched/core.c:6785 [] __schedule_loop kernel/sched/core.c:6863 [inline] [] schedule+0xc4/0x35e kernel/sched/core.c:6878 [] schedule_timeout+0x1c6/0x2ae kernel/time/sleep_timeout.c:75 [] do_wait_for_common kernel/sched/completion.c:95 [inline] [] __wait_for_common+0x1d2/0x3e8 kernel/sched/completion.c:116 [] wait_for_common kernel/sched/completion.c:127 [inline] [] wait_for_completion+0x1a/0x22 kernel/sched/completion.c:148 [] rcu_barrier+0x2dc/0x6cc kernel/rcu/tree.c:3850 [] wg_destruct+0x26c/0x3ca drivers/net/wireguard/device.c:261 [] netdev_run_todo+0x652/0x10b4 net/core/dev.c:11405 [] rtnl_unlock+0x14/0x1c net/core/rtnetlink.c:157 [] default_device_exit_batch+0x67c/0x8b0 net/core/dev.c:12645 [] ops_exit_list net/core/net_namespace.c:206 [inline] [] ops_undo_list+0x3e8/0x9dc net/core/net_namespace.c:253 [] cleanup_net+0x3e0/0x7ce net/core/net_namespace.c:686 [] process_one_work+0x96a/0x1f32 kernel/workqueue.c:3238 [] process_scheduled_works kernel/workqueue.c:3321 [inline] [] worker_thread+0x5ce/0xde8 kernel/workqueue.c:3402 [] kthread+0x39c/0x7d4 kernel/kthread.c:464 [] ret_from_fork_kernel+0x2a/0xbb2 arch/riscv/kernel/process.c:214 [] ret_from_fork_kernel_asm+0x16/0x18 arch/riscv/kernel/entry.S:327 Showing all locks held in the system: 5 locks held by kworker/u8:1/13: #0: ffffaf80126e2148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3213 #1: ffff8f80000e7b70 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3213 #2: ffffffff89855570 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xcc/0x7ce net/core/net_namespace.c:662 #3: ffffaf80190154e8 (&wg->device_update_lock){+.+.}-{4:4}, at: wg_destruct+0x150/0x3ca drivers/net/wireguard/device.c:249 #4: ffffffff883ec640 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3782 2 locks held by ksoftirqd/1/24: 1 lock held by khungtaskd/39: #0: ffffffff883dc420 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2a/0x1a0 kernel/locking/lockdep.c:6766 1 lock held by syslogd/3003: 2 locks held by getty/3160: #0: ffffaf80730180a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3a/0x46 drivers/tty/tty_ldsem.c:340 #1: ffff8f800008e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x3e4/0x12b6 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/3183: 3 locks held by kworker/u9:0/3280: 3 locks held by kworker/u9:1/4829: 2 locks held by kworker/1:0/5268: 1 lock held by syz-executor/5342: #0: ffffffff883ec640 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3782 2 locks held by kworker/1:6/5385: 1 lock held by syz.1.531/5389: #0: ffffffff883ec640 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3782 2 locks held by kworker/1:7/5399: 2 locks held by kworker/1:8/5465: 1 lock held by syz-executor/5543: #0: ffffffff883ec640 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3782 2 locks held by kworker/1:9/5689: 2 locks held by kworker/1:11/6122: 4 locks held by kworker/1:12/6151: 2 locks held by kworker/u9:3/6278: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3213 #1: ffff8f8001dc7b70 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3213 3 locks held by kworker/0:3/6553: 1 lock held by modprobe/6564: 1 lock held by kworker/u9:0/6567: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 39 Comm: khungtaskd Not tainted 6.16.0-rc1-syzkaller-gfda589c28604 #0 PREEMPT Hardware name: riscv-virtio,qemu (DT) Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:132 [] show_stack+0x30/0x3c arch/riscv/kernel/stacktrace.c:138 [] __dump_stack lib/dump_stack.c:94 [inline] [] dump_stack_lvl+0x12e/0x1a6 lib/dump_stack.c:120 [] dump_stack+0x1c/0x24 lib/dump_stack.c:129 [] nmi_cpu_backtrace+0x3b0/0x3b2 lib/nmi_backtrace.c:113 [] nmi_trigger_cpumask_backtrace+0x2b6/0x458 lib/nmi_backtrace.c:62 [] arch_trigger_cpumask_backtrace+0x2c/0x3c arch/riscv/kernel/smp.c:350 [] trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline] [] watchdog+0xcf2/0x11de kernel/hung_task.c:470 [] kthread+0x39c/0x7d4 kernel/kthread.c:464 [] ret_from_fork_kernel+0x2a/0xbb2 arch/riscv/kernel/process.c:214 [] ret_from_fork_kernel_asm+0x16/0x18 arch/riscv/kernel/entry.S:327 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5399 Comm: kworker/1:7 Not tainted 6.16.0-rc1-syzkaller-gfda589c28604 #0 PREEMPT Hardware name: riscv-virtio,qemu (DT) Workqueue: wg-crypt-wg0 wg_packet_tx_worker epc : is_kmalloc_cache mm/slab.h:450 [inline] epc : unpoison_slab_object mm/kasan/common.c:318 [inline] epc : __kasan_slab_alloc+0x3c/0x82 mm/kasan/common.c:345 ra : unpoison_slab_object mm/kasan/common.c:315 [inline] ra : __kasan_slab_alloc+0x3c/0x82 mm/kasan/common.c:345 epc : ffffffff80af2d7e ra : ffffffff80af2d7e sp : ffff8f8000016a50 gp : ffffffff89c83ca0 tp : ffffaf8012bab480 t0 : fffff5ef08af6437 t1 : 0000000000000001 t2 : fffffffff2f20000 s0 : ffff8f8000016a90 s1 : ffffaf80457b2100 a0 : fffff5ef08af6420 a1 : 0000000000000000 a2 : 0000000000000007 a3 : fffff5ef08af6437 a4 : 0000000000000000 a5 : ffffffff86322574 a6 : ffffffff80a53b9a a7 : ffffffff85750f4a s2 : ffffaf807307ef00 s3 : 0000000000000820 s4 : ffffffff8513e10a s5 : 00000000000000b8 s6 : 00000000000000b8 s7 : ffffaf80457b2100 s8 : ffffaf80457b2258 s9 : 0000000000000002 s10: ffffffff9103c3c0 s11: 0000000000000007 t3 : 81987a7b00000000 t4 : 0000000000001fff t5 : 00000000000000c8 t6 : 0000000000000002 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] unpoison_slab_object mm/kasan/common.c:315 [inline] [] __kasan_slab_alloc+0x3c/0x82 mm/kasan/common.c:345 [] kasan_slab_alloc include/linux/kasan.h:250 [inline] [] slab_post_alloc_hook mm/slub.c:4148 [inline] [] slab_alloc_node mm/slub.c:4197 [inline] [] kmem_cache_alloc_noprof+0x104/0x3d0 mm/slub.c:4204 [] dst_alloc+0x94/0x174 net/core/dst.c:89 [] rt_dst_alloc+0x3a/0x340 net/ipv4/route.c:1642 [] __mkroute_output net/ipv4/route.c:2643 [inline] [] ip_route_output_key_hash_rcu+0x822/0x29f8 net/ipv4/route.c:2864 [] ip_route_output_key_hash+0x158/0x31c net/ipv4/route.c:2694 [] __ip_route_output_key include/net/route.h:169 [inline] [] ip_route_output_flow+0x2a/0x142 net/ipv4/route.c:2921 [] ip_route_output_key include/net/route.h:179 [inline] [] ip_route_me_harder+0x52e/0x11a6 net/ipv4/netfilter.c:53 [] synproxy_send_tcp.isra.0+0x2be/0x5d2 net/netfilter/nf_synproxy_core.c:431 [] synproxy_send_client_synack+0x6dc/0x8be net/netfilter/nf_synproxy_core.c:484 [] nft_synproxy_eval_v4 net/netfilter/nft_synproxy.c:59 [inline] [] nft_synproxy_do_eval+0x8ac/0xa52 net/netfilter/nft_synproxy.c:141 [] nft_synproxy_eval+0x28/0x36 net/netfilter/nft_synproxy.c:247 [] expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [inline] [] nft_do_chain+0x328/0x1598 net/netfilter/nf_tables_core.c:285 [] nft_do_chain_inet+0x180/0x316 net/netfilter/nft_chain_filter.c:161 [] nf_hook_entry_hookfn include/linux/netfilter.h:157 [inline] [] nf_hook_slow+0xb8/0x1ec net/netfilter/core.c:623 [] nf_hook include/linux/netfilter.h:272 [inline] [] NF_HOOK include/linux/netfilter.h:315 [inline] [] ip_local_deliver+0x2ea/0x568 net/ipv4/ip_input.c:254 [] dst_input include/net/dst.h:469 [inline] [] ip_rcv_finish+0x1b0/0x2d2 net/ipv4/ip_input.c:447 [] NF_HOOK include/linux/netfilter.h:317 [inline] [] NF_HOOK include/linux/netfilter.h:311 [inline] [] ip_rcv+0xd6/0x44e net/ipv4/ip_input.c:567 [] __netif_receive_skb_one_core+0x106/0x16e net/core/dev.c:5977 [] __netif_receive_skb+0x2c/0x144 net/core/dev.c:6090 [] process_backlog+0x4f6/0x1cb0 net/core/dev.c:6442 [] __napi_poll.constprop.0+0xaa/0x4ba net/core/dev.c:7414 [] napi_poll net/core/dev.c:7478 [inline] [] net_rx_action+0xad4/0xefc net/core/dev.c:7605 [] handle_softirqs+0x4b2/0x132e kernel/softirq.c:579 [] __do_softirq kernel/softirq.c:613 [inline] [] invoke_softirq kernel/softirq.c:453 [inline] [] __irq_exit_rcu+0x18c/0x550 kernel/softirq.c:680 [] irq_exit_rcu+0x10/0xf8 kernel/softirq.c:696 [] handle_riscv_irq+0x40/0x4c arch/riscv/kernel/traps.c:388 [] call_on_irq_stack+0x32/0x40 arch/riscv/kernel/entry.S:360