INFO: task syz-executor:3159 blocked for more than 432 seconds. Not tainted 6.12.0-rc6-syzkaller-g57f7c7dc78cd #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:3159 tgid:3159 ppid:1 flags:0x00000006 Call Trace: [] context_switch kernel/sched/core.c:5328 [inline] [] __schedule+0xd58/0x3848 kernel/sched/core.c:6690 [] __schedule_loop kernel/sched/core.c:6767 [inline] [] schedule+0xc4/0x324 kernel/sched/core.c:6782 [] 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:4630 [] netdev_run_todo+0x294/0x105e net/core/dev.c:10786 [] rtnl_unlock+0x14/0x1c net/core/rtnetlink.c:152 [] tun_detach drivers/net/tun.c:704 [inline] [] tun_chr_close+0xde/0x230 drivers/net/tun.c:3517 [] __fput+0x378/0x9e6 fs/file_table.c:431 [] ____fput+0x1c/0x26 fs/file_table.c:459 [] task_work_run+0x16a/0x25e kernel/task_work.c:239 [] exit_task_work include/linux/task_work.h:43 [inline] [] do_exit+0xa4c/0x2986 kernel/exit.c:939 [] do_group_exit+0xd4/0x26c kernel/exit.c:1088 [] get_signal+0x1e98/0x23b0 kernel/signal.c:2917 [] arch_do_signal_or_restart+0x8d2/0x1188 arch/riscv/kernel/signal.c:437 [] exit_to_user_mode_loop kernel/entry/common.c:111 [inline] [] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] [] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] [] syscall_exit_to_user_mode+0x2a6/0x31e kernel/entry/common.c:218 [] do_trap_ecall_u+0x86/0x216 arch/riscv/kernel/traps.c:345 [] _new_vmalloc_restore_context_a0+0xc2/0xce Showing all locks held in the system: 2 locks held by kworker/1:1/34: 1 lock held by khungtaskd/36: #0: ffffffff881cc080 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x68/0x2d6 kernel/locking/lockdep.c:6716 1 lock held by syslogd/2970: 2 locks held by getty/3124: #0: ff6000001c8f10a0 (&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 4 locks held by kworker/1:3/3153: 1 lock held by syz-executor/3159: #0: ffffffff881dc600 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:4562 5 locks held by kworker/u9:1/3162: 2 locks held by kworker/1:2/4542: 2 locks held by kworker/1:6/4553: 1 lock held by syz.1.165/4580: #0: ffffffff881dc600 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:4562 1 lock held by syz-executor/4583: #0: ffffffff895ae468 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff895ae468 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e2/0xdbe net/core/rtnetlink.c:6672 2 locks held by kworker/u9:8/4584: 3 locks held by kworker/0:7/4590: 3 locks held by syz-executor/4591: 2 locks held by syz-executor/4654: 1 lock held by rm/4660: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 36 Comm: khungtaskd Not tainted 6.12.0-rc6-syzkaller-g57f7c7dc78cd #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: 4553 Comm: kworker/1:6 Not tainted 6.12.0-rc6-syzkaller-g57f7c7dc78cd #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: wg-crypt-wg1 wg_packet_tx_worker epc : validate_xmit_vlan net/core/dev.c:3625 [inline] epc : validate_xmit_skb+0x32/0xe10 net/core/dev.c:3662 ra : validate_xmit_skb+0x32/0xe10 net/core/dev.c:3661 epc : ffffffff84d1765c ra : ffffffff84d1765c sp : ff200000000168c0 gp : ffffffff899c0180 tp : ff6000001a951a40 t0 : ff6000001a952560 t1 : ff6000001a952628 t2 : 00000000000002de s0 : ff20000000016940 s1 : ff6000001de98640 a0 : 00000516401d4c69 a1 : 0000000000000000 a2 : 0000000000f00000 a3 : ffffffff84d16d3c a4 : 0000000000000000 a5 : ff6000001a951a40 a6 : 0000000000f00000 a7 : 000000004799a9c8 s2 : ffffffff8646dfe8 s3 : ff60000018c98000 s4 : ff20000000016a70 s5 : ff6000001dfde000 s6 : ff60000018c98140 s7 : 1fec000003193028 s8 : 0000000000000000 s9 : ffffffff90d62aa0 s10: ff20000000016c00 s11: ff6000001dfde000 t3 : 1fec00000352a4ab t4 : 0000000000000009 t5 : ad2f07c13f95bef5 t6 : 1fec00000352a4c9 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] validate_xmit_skb+0x32/0xe10 net/core/dev.c:3661 [] __dev_queue_xmit+0x7f4/0x48cc net/core/dev.c:4424 [] dev_queue_xmit include/linux/netdevice.h:3094 [inline] [] neigh_hh_output include/net/neighbour.h:526 [inline] [] neigh_output include/net/neighbour.h:540 [inline] [] ip_finish_output2+0xe7e/0x2c48 net/ipv4/ip_output.c:236 [] __ip_finish_output net/ipv4/ip_output.c:314 [inline] [] __ip_finish_output+0x378/0x60e net/ipv4/ip_output.c:296 [] ip_finish_output+0x38/0x32e net/ipv4/ip_output.c:324 [] NF_HOOK_COND include/linux/netfilter.h:303 [inline] [] ip_output+0x18e/0x61a net/ipv4/ip_output.c:434 [] dst_output include/net/dst.h:450 [inline] [] ip_local_out+0xac/0x1a8 net/ipv4/ip_output.c:130 [] synproxy_send_tcp.isra.0+0x3de/0x5d2 net/netfilter/nf_synproxy_core.c:439 [] synproxy_send_client_synack+0x940/0xc9a 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: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:5670 [] __netif_receive_skb+0x2c/0x144 net/core/dev.c:5783 [] process_backlog+0x4fc/0x1cbc net/core/dev.c:6115 [] __napi_poll.constprop.0+0xaa/0x4b8 net/core/dev.c:6779 [] napi_poll net/core/dev.c:6848 [inline] [] net_rx_action+0xa12/0xf10 net/core/dev.c:6970 [] handle_softirqs+0x4a6/0x10de kernel/softirq.c:554 [] __do_softirq+0x12/0x1a kernel/softirq.c:588 [] ___do_softirq+0x18/0x20 arch/riscv/kernel/irq.c:85 [] call_on_irq_stack+0x32/0x40 arch/riscv/kernel/entry.S:355