INFO: task kworker/u8:3:3495 blocked for more than 430 seconds. Not tainted 6.12.0-rc1-syzkaller-00012-g5f153a692bac #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:3 state:D stack:0 pid:3495 tgid:3495 ppid:2 flags:0x00000000 Workqueue: netns cleanup_net Call Trace: [] context_switch kernel/sched/core.c:5315 [inline] [] __schedule+0xd5a/0x3886 kernel/sched/core.c:6675 [] __schedule_loop kernel/sched/core.c:6752 [inline] [] schedule+0xc4/0x324 kernel/sched/core.c:6767 [] schedule_timeout+0x1e2/0x296 kernel/time/timer.c:2591 [] do_wait_for_common kernel/sched/completion.c:95 [inline] [] __wait_for_common+0x1ca/0x4b6 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:4629 [] netdev_run_todo+0x294/0x105e net/core/dev.c:10778 [] rtnl_unlock+0x14/0x1c net/core/rtnetlink.c:152 [] nsim_destroy+0x178/0x5fe drivers/net/netdevsim/netdev.c:785 [] __nsim_dev_port_del+0x168/0x236 drivers/net/netdevsim/dev.c:1425 [] nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1437 [inline] [] nsim_dev_reload_destroy+0x11c/0x452 drivers/net/netdevsim/dev.c:1658 [] nsim_dev_reload_down+0x72/0xec drivers/net/netdevsim/dev.c:965 [] devlink_reload+0x162/0x6a2 net/devlink/dev.c:461 [] devlink_pernet_pre_exit+0x1a0/0x29a net/devlink/core.c:509 [] ops_pre_exit_list net/core/net_namespace.c:163 [inline] [] cleanup_net+0x444/0x984 net/core/net_namespace.c:606 [] process_one_work+0x956/0x1dae kernel/workqueue.c:3229 [] process_scheduled_works kernel/workqueue.c:3310 [inline] [] worker_thread+0x5be/0xdc6 kernel/workqueue.c:3391 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x18 arch/riscv/kernel/entry.S:326 Showing all locks held in the system: 1 lock held by khungtaskd/36: #0: ffffffff87fcc100 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x68/0x2d6 kernel/locking/lockdep.c:6716 1 lock held by klogd/2971: 2 locks held by getty/3140: #0: ff6000001b5190a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3a/0x46 drivers/tty/tty_ldsem.c:340 #1: ff2000000008b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xd7c/0x129a drivers/tty/n_tty.c:2211 2 locks held by syz-executor/3168: 6 locks held by kworker/u8:3/3495: #0: ff60000011e81948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff2000000bf17c90 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 #2: ffffffff89397670 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xda/0x984 net/core/net_namespace.c:580 #3: ff60000011b890e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #3: ff60000011b890e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ff60000011b890e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x138/0x29a net/devlink/core.c:506 #4: ff6000002be5e250 (&devlink->lock_key#4){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline] #4: ff6000002be5e250 (&devlink->lock_key#4){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ff6000002be5e250 (&devlink->lock_key#4){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x144/0x29a net/devlink/core.c:506 #5: ffffffff87fdc6c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:4561 2 locks held by kworker/1:1/3787: 2 locks held by kworker/1:5/3864: 2 locks held by kworker/1:6/4156: 2 locks held by kworker/1:3/5196: 3 locks held by kworker/1:4/5283: 2 locks held by kworker/1:8/5292: 2 locks held by kworker/1:9/5300: 2 locks held by kworker/1:11/5358: 2 locks held by kworker/u9:1/5465: #0: ff60000011071148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff20000004e07c90 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 2 locks held by kworker/1:12/5470: 2 locks held by kworker/1:13/5654: 3 locks held by kworker/0:5/6045: 2 locks held by kworker/1:17/6070: 2 locks held by kworker/1:18/6082: 1 lock held by syz-executor/6085: #0: ffffffff87fdc6c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:4561 2 locks held by kworker/1:19/6176: 3 locks held by kworker/1:20/6237: 2 locks held by kworker/1:24/6453: 1 lock held by syz.5.212/6481: 1 lock held by syz-executor/6495: 2 locks held by kworker/1:25/6976: 4 locks held by modprobe/7026: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 36 Comm: khungtaskd Not tainted 6.12.0-rc1-syzkaller-00012-g5f153a692bac #0 Hardware name: riscv-virtio,qemu (DT) Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:130 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:136 [] __dump_stack lib/dump_stack.c:94 [inline] [] dump_stack_lvl+0x122/0x196 lib/dump_stack.c:120 [] dump_stack+0x1c/0x24 lib/dump_stack.c:129 [] nmi_cpu_backtrace+0x39c/0x39e lib/nmi_backtrace.c:113 [] nmi_trigger_cpumask_backtrace+0x2b6/0x456 lib/nmi_backtrace.c:62 [] arch_trigger_cpumask_backtrace+0x2c/0x3c arch/riscv/kernel/smp.c:347 [] trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] [] watchdog+0xcfa/0x1178 kernel/hung_task.c:379 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x18 arch/riscv/kernel/entry.S:326 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 24 Comm: ksoftirqd/1 Not tainted 6.12.0-rc1-syzkaller-00012-g5f153a692bac #0 Hardware name: riscv-virtio,qemu (DT) epc : __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] epc : _raw_spin_unlock_irqrestore+0x36/0xd6 kernel/locking/spinlock.c:194 ra : __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] ra : _raw_spin_unlock_irqrestore+0x86/0xd6 kernel/locking/spinlock.c:194 epc : ffffffff85ffb7aa ra : ffffffff85ffb7fa sp : ff200000001a6d40 gp : ffffffff897bea80 tp : ff60000012aa0000 t0 : ff60000012aa0b20 t1 : fffffffef21560e6 t2 : 0000000000000001 s0 : ff200000001a6d60 s1 : 0000000000000002 a0 : 0000000000000001 a1 : ffffffff8643e620 a2 : 0000000000000003 a3 : 0000000000000101 a4 : 0000000000000001 a5 : 0000000000000000 a6 : 0000000000f00000 a7 : ffffffff90ab0733 s2 : ffffffff90ab0730 s3 : dfffffff00000000 s4 : 0000000000000001 s5 : 0000000000000001 s6 : ff60000036b6e350 s7 : 1fe4000000034db0 s8 : 0000000000000000 s9 : ffffffff90ab0730 s10: 0000000200000022 s11: ff6000002e135914 t3 : 1fec000002554163 t4 : fffffffef21560e6 t5 : fffffffef21560e7 t6 : 1fec000002554172 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] arch_local_irq_restore arch/riscv/include/asm/irqflags.h:51 [inline] [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] [] _raw_spin_unlock_irqrestore+0x36/0xd6 kernel/locking/spinlock.c:194 [] debug_object_active_state+0x274/0x2c4 lib/debugobjects.c:945 [] debug_rcu_head_queue kernel/rcu/rcu.h:225 [inline] [] __call_rcu_common.constprop.0+0x54/0x934 kernel/rcu/tree.c:3071 [] call_rcu+0xc/0x14 kernel/rcu/tree.c:3190 [] call_rcu_hurry include/linux/rcupdate.h:115 [inline] [] dst_release net/core/dst.c:165 [inline] [] dst_release+0x29a/0x364 net/core/dst.c:162 [] refdst_drop include/net/dst.h:263 [inline] [] skb_dst_drop include/net/dst.h:275 [inline] [] skb_release_head_state+0x25a/0x2b6 net/core/skbuff.c:1174 [] skb_release_all net/core/skbuff.c:1188 [inline] [] __kfree_skb net/core/skbuff.c:1204 [inline] [] consume_skb net/core/skbuff.c:1436 [inline] [] consume_skb+0x9e/0xfa net/core/skbuff.c:1430 [] nft_synproxy_eval_v4 net/netfilter/nft_synproxy.c:60 [inline] [] nft_synproxy_do_eval+0x8b6/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:240 [inline] [] nft_do_chain+0x328/0x1598 net/netfilter/nf_tables_core.c:288 [] nft_do_chain_inet+0x180/0x316 net/netfilter/nft_chain_filter.c:161 [] nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] [] nf_hook_slow+0xb8/0x1ec net/netfilter/core.c:626 [] nf_hook include/linux/netfilter.h:269 [inline] [] NF_HOOK include/linux/netfilter.h:312 [inline] [] ip_local_deliver+0x2ea/0x568 net/ipv4/ip_input.c:254 [] dst_input include/net/dst.h:460 [inline] [] ip_rcv_finish+0x1b0/0x2d2 net/ipv4/ip_input.c:449 [] NF_HOOK include/linux/netfilter.h:314 [inline] [] NF_HOOK include/linux/netfilter.h:308 [inline] [] ip_rcv+0xd6/0x44e net/ipv4/ip_input.c:569 [] __netif_receive_skb_one_core+0x106/0x16e net/core/dev.c:5662 [] __netif_receive_skb+0x2c/0x144 net/core/dev.c:5775 [] process_backlog+0x4fc/0x1cbc net/core/dev.c:6107 [] __napi_poll.constprop.0+0xaa/0x4b8 net/core/dev.c:6771 [] napi_poll net/core/dev.c:6840 [inline] [] net_rx_action+0xa12/0xf10 net/core/dev.c:6962 [] handle_softirqs+0x4a6/0x10de kernel/softirq.c:554 [] run_ksoftirqd kernel/softirq.c:927 [inline] [] run_ksoftirqd+0xce/0x144 kernel/softirq.c:919 [] smpboot_thread_fn+0x654/0xb98 kernel/smpboot.c:164 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x18 arch/riscv/kernel/entry.S:326