INFO: task syz-executor:3229 blocked for more than 430 seconds. Not tainted 6.16.0-rc7-syzkaller-g7b388bf7a9d9 #0 Blocked by coredump. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:3229 tgid:3229 ppid:1 task_flags:0x40054c flags:0x0000000c Call Trace: [] context_switch kernel/sched/core.c:5397 [inline] [] __schedule+0x105c/0x4088 kernel/sched/core.c:6786 [] __schedule_loop kernel/sched/core.c:6864 [inline] [] schedule+0xc4/0x35e kernel/sched/core.c:6879 [] schedule_timeout+0x1c6/0x2b2 kernel/time/sleep_timeout.c:75 [] do_wait_for_common+0x1c2/0x3d0 kernel/sched/completion.c:95 [] __wait_for_common kernel/sched/completion.c:116 [inline] [] wait_for_common kernel/sched/completion.c:127 [inline] [] wait_for_completion+0x40/0x5c kernel/sched/completion.c:148 [] rcu_barrier+0x2e4/0x66c kernel/rcu/tree.c:3854 [] netdev_run_todo+0x2bc/0x10de net/core/dev.c:11376 [] rtnl_unlock+0x14/0x1c net/core/rtnetlink.c:157 [] tun_detach drivers/net/tun.c:639 [inline] [] tun_chr_close+0xde/0x230 drivers/net/tun.c:3396 [] __fput+0x382/0xa8c fs/file_table.c:465 [] ____fput+0x1c/0x26 fs/file_table.c:493 [] task_work_run+0x16a/0x25e kernel/task_work.c:227 [] exit_task_work include/linux/task_work.h:40 [inline] [] do_exit+0x866/0x28b6 kernel/exit.c:964 [] do_group_exit+0xd4/0x26c kernel/exit.c:1105 [] get_signal+0x208c/0x230c kernel/signal.c:3034 [] arch_do_signal_or_restart+0x6ba/0x1cd4 arch/riscv/kernel/signal.c:534 [] exit_to_user_mode_loop+0x90/0x134 kernel/entry/common.c:111 [] exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] [] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] [] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] [] do_trap_ecall_u+0x3f0/0x530 arch/riscv/kernel/traps.c:357 [] handle_exception+0x15e/0x16a arch/riscv/kernel/entry.S:231 Showing all locks held in the system: 1 lock held by kworker/R-mm_pe/14: 1 lock held by khungtaskd/38: #0: ffffffff885dbd80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2a/0x1a0 kernel/locking/lockdep.c:6766 1 lock held by klogd/3005: 2 locks held by getty/3169: #0: ffffaf801d7dc0a0 (&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/0x12ba drivers/tty/n_tty.c:2222 2 locks held by syz-executor/3216: 2 locks held by kworker/u10:0/3225: #0: ffffaf8011e89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x72e/0x1f4a kernel/workqueue.c:3213 #1: ffff8f8007d47b70 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x756/0x1f4a kernel/workqueue.c:3213 1 lock held by syz-executor/3229: #0: ffffffff885ebe80 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x66c kernel/rcu/tree.c:3786 1 lock held by kworker/R-wg-cr/3402: #0: ffffffff88491ca8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff88491ca8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x738/0xd7c kernel/workqueue.c:3531 1 lock held by kworker/R-wg-cr/3409: #0: ffffffff88491ca8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff88491ca8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x738/0xd7c kernel/workqueue.c:3531 5 locks held by kworker/R-wg-cr/3424: 2 locks held by kworker/0:0/3851: 2 locks held by kworker/0:3/3871: 3 locks held by kworker/u10:1/4222: #0: ffffaf8011e89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x72e/0x1f4a kernel/workqueue.c:3213 #1: ffff8f800cdc7b70 ((work_completion)(&pool->idle_cull_work)){+.+.}-{0:0}, at: process_one_work+0x756/0x1f4a kernel/workqueue.c:3213 #2: ffffffff88491ca8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: idle_cull_fn+0xc0/0x434 kernel/workqueue.c:2960 2 locks held by kworker/0:5/4573: 3 locks held by kworker/u10:4/5056: 2 locks held by kworker/0:1/5238: 3 locks held by kworker/u10:5/5373: #0: ffffaf8011e89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x72e/0x1f4a kernel/workqueue.c:3213 #1: ffff8f8004a07b70 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x756/0x1f4a kernel/workqueue.c:3213 #2: ffffffff885ebe80 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x66c kernel/rcu/tree.c:3786 1 lock held by kworker/R-wg-cr/5514: #0: ffffffff88491ca8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x36/0x3ca kernel/workqueue.c:2678 1 lock held by kworker/R-wg-cr/5517: #0: ffffffff88491ca8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff88491ca8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x738/0xd7c kernel/workqueue.c:3531 2 locks held by kworker/0:2/5617: 2 locks held by kworker/0:4/5859: 3 locks held by kworker/u10:6/5865: 4 locks held by kworker/0:6/5917: 2 locks held by kworker/0:8/6063: 2 locks held by kworker/0:9/6085: 2 locks held by kworker/0:10/6116: 1 lock held by kworker/0:11/6147: 2 locks held by kworker/0:12/6178: 3 locks held by kworker/u10:8/6238: 1 lock held by syz.2.600/6307: 4 locks held by modprobe/6309: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 38 Comm: khungtaskd Not tainted 6.16.0-rc7-syzkaller-g7b388bf7a9d9 #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+0x2c4/0x466 lib/nmi_backtrace.c:62 [] arch_trigger_cpumask_backtrace+0x2c/0x42 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+0xd0e/0x11fe kernel/hung_task.c:470 [] kthread+0x3a4/0x7e0 kernel/kthread.c:464 [] ret_from_fork_kernel+0x2a/0xbec arch/riscv/kernel/process.c:228 [] ret_from_fork_kernel_asm+0x16/0x18 arch/riscv/kernel/entry.S:362 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 3424 Comm: kworker/R-wg-cr Not tainted 6.16.0-rc7-syzkaller-g7b388bf7a9d9 #0 PREEMPT Hardware name: riscv-virtio,qemu (DT) Workqueue: wg-crypt-wg2 wg_packet_tx_worker epc : __seqprop_spinlock_sequence include/linux/seqlock.h:227 [inline] epc : nf_conntrack_get_ht include/net/netfilter/nf_conntrack.h:344 [inline] epc : ____nf_conntrack_find net/netfilter/nf_conntrack_core.c:747 [inline] epc : __nf_conntrack_find_get+0x146/0x916 net/netfilter/nf_conntrack_core.c:783 ra : arch_local_irq_restore arch/riscv/include/asm/irqflags.h:51 [inline] ra : seqcount_lockdep_reader_access include/linux/seqlock.h:74 [inline] ra : nf_conntrack_get_ht include/net/netfilter/nf_conntrack.h:344 [inline] ra : ____nf_conntrack_find net/netfilter/nf_conntrack_core.c:747 [inline] ra : __nf_conntrack_find_get+0x142/0x916 net/netfilter/nf_conntrack_core.c:783 epc : ffffffff856205d8 ra : ffffffff856205d4 sp : ffff8f80000074d0 gp : ffffffff89e816e0 tp : ffffaf8021e14ec0 t0 : ffff8f8000007758 t1 : 0000000000000001 t2 : fffffffff2f20000 s0 : ffff8f8000007610 s1 : 0000000000000002 a0 : 0000000000000000 a1 : ffffaf8021e14ec0 a2 : 00000000000f0000 a3 : 0000000000f00000 a4 : 0000000000000002 a5 : 0000000000000000 a6 : 00000000000000a0 a7 : ffffffff85621a0e s2 : 0000000000000000 s3 : dfffffff00000000 s4 : ffff8f8000007910 s5 : ffff8f80000075a0 s6 : fffffffef1082838 s7 : 0000000000000000 s8 : ffffffff884141c0 s9 : ffffaf8019c89e00 s10: ffffffff87848900 s11: ffff8f8000007730 t3 : 08a69c0e00000000 t4 : 0000000000000000 t5 : 0000000000000000 t6 : 0000000000000002 ssp : 0000000000000000 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] arch_local_irq_restore arch/riscv/include/asm/irqflags.h:51 [inline] [] seqcount_lockdep_reader_access include/linux/seqlock.h:74 [inline] [] nf_conntrack_get_ht include/net/netfilter/nf_conntrack.h:344 [inline] [] ____nf_conntrack_find net/netfilter/nf_conntrack_core.c:747 [inline] [] __nf_conntrack_find_get+0x146/0x916 net/netfilter/nf_conntrack_core.c:783 [] resolve_normal_ct net/netfilter/nf_conntrack_core.c:1887 [inline] [] nf_conntrack_in+0x4da/0x1c8e net/netfilter/nf_conntrack_core.c:2051 [] ipv4_conntrack_in+0x20/0x2e net/netfilter/nf_conntrack_proto.c:207 [] 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_rcv+0x20e/0x44e net/ipv4/ip_input.c:568 [] __netif_receive_skb_one_core+0x106/0x16e net/core/dev.c:5977 [] __netif_receive_skb+0x2e/0x146 net/core/dev.c:6090 [] process_backlog+0x4fe/0x1dc8 net/core/dev.c:6442 [] __napi_poll.constprop.0+0xaa/0x4c2 net/core/dev.c:7414 [] napi_poll net/core/dev.c:7478 [inline] [] net_rx_action+0xb42/0xffa net/core/dev.c:7605 [] handle_softirqs+0x500/0x1436 kernel/softirq.c:579 [] __do_softirq+0x12/0x1a kernel/softirq.c:613 [] ___do_softirq+0x18/0x20 arch/riscv/kernel/irq.c:85 [] call_on_irq_stack+0x32/0x40 arch/riscv/kernel/entry.S:395