INFO: task syz.0.176:4312 blocked for more than 430 seconds. Not tainted 6.16.0-rc1-syzkaller-g306e57988197 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.176 state:D stack:0 pid:4312 tgid:4311 ppid:3173 task_flags:0x400140 flags:0x0000000c 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 [] __flush_workqueue+0x34c/0xfca kernel/workqueue.c:4002 [] peer_remove_after_dead+0xb2/0x310 drivers/net/wireguard/peer.c:116 [] wg_peer_remove+0x80/0xf8 drivers/net/wireguard/peer.c:164 [] wg_set_device+0x1084/0x12d0 drivers/net/wireguard/netlink.c:570 [] genl_family_rcv_msg_doit+0x206/0x2e6 net/netlink/genetlink.c:1115 [] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] [] genl_rcv_msg+0x514/0x78e net/netlink/genetlink.c:1210 [] netlink_rcv_skb+0x206/0x3be net/netlink/af_netlink.c:2534 [] genl_rcv+0x36/0x4c net/netlink/genetlink.c:1219 [] netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] [] netlink_unicast+0x4f0/0x82c net/netlink/af_netlink.c:1339 [] netlink_sendmsg+0x85e/0xdd6 net/netlink/af_netlink.c:1883 [] sock_sendmsg_nosec net/socket.c:712 [inline] [] __sock_sendmsg+0xcc/0x160 net/socket.c:727 [] ____sys_sendmsg+0x63e/0x79c net/socket.c:2566 [] ___sys_sendmsg+0x144/0x1e6 net/socket.c:2620 [] __sys_sendmsg+0x188/0x246 net/socket.c:2652 [] __do_sys_sendmsg net/socket.c:2657 [inline] [] __se_sys_sendmsg net/socket.c:2655 [inline] [] __riscv_sys_sendmsg+0x70/0xa2 net/socket.c:2655 [] syscall_handler+0x94/0x118 arch/riscv/include/asm/syscall.h:112 [] do_trap_ecall_u+0x396/0x530 arch/riscv/kernel/traps.c:341 [] handle_exception+0x146/0x152 arch/riscv/kernel/entry.S:197 INFO: task syz.1.177:4314 blocked for more than 430 seconds. Not tainted 6.16.0-rc1-syzkaller-g306e57988197 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.177 state:D stack:0 pid:4314 tgid:4313 ppid:3175 task_flags:0x400040 flags:0x00000008 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_preempt_disabled+0x16/0x28 kernel/sched/core.c:6935 [] __mutex_lock_common kernel/locking/mutex.c:679 [inline] [] __mutex_lock+0x9be/0x1292 kernel/locking/mutex.c:747 [] mutex_lock_nested+0x14/0x1c kernel/locking/mutex.c:799 [] rtnl_lock net/core/rtnetlink.c:80 [inline] [] rtnetlink_rcv_msg+0x3e2/0xdbe net/core/rtnetlink.c:6950 [] netlink_rcv_skb+0x206/0x3be net/netlink/af_netlink.c:2534 [] rtnetlink_rcv+0x26/0x30 net/core/rtnetlink.c:6971 [] netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] [] netlink_unicast+0x4f0/0x82c net/netlink/af_netlink.c:1339 [] netlink_sendmsg+0x85e/0xdd6 net/netlink/af_netlink.c:1883 [] sock_sendmsg_nosec net/socket.c:712 [inline] [] __sock_sendmsg+0xcc/0x160 net/socket.c:727 [] sock_write_iter+0x2a0/0x3ba net/socket.c:1131 [] new_sync_write fs/read_write.c:593 [inline] [] vfs_write+0x56c/0xb12 fs/read_write.c:686 [] ksys_write+0x1f2/0x234 fs/read_write.c:738 [] __do_sys_write fs/read_write.c:749 [inline] [] __se_sys_write fs/read_write.c:746 [inline] [] __riscv_sys_write+0x6e/0xa0 fs/read_write.c:746 [] syscall_handler+0x94/0x118 arch/riscv/include/asm/syscall.h:112 [] do_trap_ecall_u+0x396/0x530 arch/riscv/kernel/traps.c:341 [] handle_exception+0x146/0x152 arch/riscv/kernel/entry.S:197 Showing all locks held in the system: 1 lock held by khungtaskd/38: #0: ffffffff883dc420 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2a/0x1a0 kernel/locking/lockdep.c:6766 2 locks held by kworker/1:2/827: 3 locks held by kworker/u9:6/2935: 1 lock held by syslogd/2987: 1 lock held by dhcpcd/3035: #0: ffffffff89866e88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x22/0x2a net/core/rtnetlink.c:80 2 locks held by getty/3141: #0: ffffaf801c1620a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3a/0x46 drivers/tty/tty_ldsem.c:340 #1: ffff8f800008b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x3e4/0x12b6 drivers/tty/n_tty.c:2222 2 locks held by syz-executor/3167: 3 locks held by kworker/u8:1/3236: #0: ffffaf8018bc9148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3213 #1: ffff8f800cda7b70 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3213 #2: ffffffff89866e88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x22/0x2a net/core/rtnetlink.c:80 2 locks held by kworker/1:1/3748: 2 locks held by kworker/1:3/3827: 3 locks held by kworker/1:4/3829: 2 locks held by kworker/1:0/4133: 2 locks held by kworker/1:5/4194: 2 locks held by kworker/1:6/4274: 5 locks held by kworker/1:7/4279: 3 locks held by kworker/u9:1/4284: 2 locks held by kworker/1:8/4289: 4 locks held by syz.0.176/4312: #0: ffffffff89909610 (cb_lock){++++}-{4:4}, at: genl_rcv+0x28/0x4c net/netlink/genetlink.c:1218 #1: ffffffff89909548 (genl_mutex){+.+.}-{4:4}, at: genl_lock net/netlink/genetlink.c:35 [inline] #1: ffffffff89909548 (genl_mutex){+.+.}-{4:4}, at: genl_op_lock net/netlink/genetlink.c:60 [inline] #1: ffffffff89909548 (genl_mutex){+.+.}-{4:4}, at: genl_op_lock net/netlink/genetlink.c:57 [inline] #1: ffffffff89909548 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x532/0x78e net/netlink/genetlink.c:1209 #2: ffffffff89866e88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x22/0x2a net/core/rtnetlink.c:80 #3: ffffaf80188d94e8 (&wg->device_update_lock){+.+.}-{4:4}, at: wg_set_device+0xea/0x12d0 drivers/net/wireguard/netlink.c:515 1 lock held by syz.1.177/4314: #0: ffffffff89866e88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff89866e88 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x3e2/0xdbe net/core/rtnetlink.c:6950 2 locks held by kworker/1:9/4317: 1 lock held by syz-executor/4319: #0: ffffffff89866e88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x22/0x2a net/core/rtnetlink.c:80 1 lock held by syz-executor/4322: #0: ffffffff89866e88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x22/0x2a net/core/rtnetlink.c:80 4 locks held by kworker/1:11/4325: 3 locks held by kworker/0:1/4326: 3 locks held by kworker/u9:2/4327: 3 locks held by kworker/1:12/4328: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 38 Comm: khungtaskd Not tainted 6.16.0-rc1-syzkaller-g306e57988197 #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: 4325 Comm: kworker/1:11 Not tainted 6.16.0-rc1-syzkaller-g306e57988197 #0 PREEMPT Hardware name: riscv-virtio,qemu (DT) Workqueue: 0x0 (wg-crypt-wg0) epc : __sanitizer_cov_trace_const_cmp1+0x0/0x1c kernel/kcov.c:299 ra : resolve_normal_ct net/netfilter/nf_conntrack_core.c:1895 [inline] ra : nf_conntrack_in+0x52e/0x1c3c net/netfilter/nf_conntrack_core.c:2037 epc : ffffffff804eb558 ra : ffffffff85543aee sp : ffff8f8000016b60 gp : ffffffff89c7e9c0 tp : ffffaf80115d8000 t0 : ffffaf803a6b0738 t1 : fffff5ef074d60c0 t2 : fffffffff2f20000 s0 : ffff8f8000016d70 s1 : dfffffff00000000 a0 : 0000000000000001 a1 : 0000000000000000 a2 : 0000000000f00000 a3 : ffffffff85543aa8 a4 : 0000000000000000 a5 : 0000000000000000 a6 : 0000000000f00000 a7 : ffffaf803a6b0603 s2 : ffffaf802f9548c0 s3 : ffff8f8000016c90 s4 : ffff8f8000016e70 s5 : 1ffff1f000002dd2 s6 : ffffaf803a6b0650 s7 : 0000000000000000 s8 : 0000000000000003 s9 : 0000000000000000 s10: ffffaf803a6b0650 s11: 1ffff5f005f2a925 t3 : d3777d9300000000 t4 : fffff5ef074d60c0 t5 : fffff5ef074d60c1 t6 : 0000000000000002 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] __sanitizer_cov_trace_const_cmp1+0x0/0x1c kernel/kcov.c:295 [] ipv4_conntrack_local+0xf6/0x200 net/netfilter/nf_conntrack_proto.c:229 [] 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] [] __ip_local_out+0x498/0xbb2 net/ipv4/ip_output.c:118 [] ip_local_out+0x2e/0x1a8 net/ipv4/ip_output.c:127 [] synproxy_send_tcp.isra.0+0x3de/0x5d2 net/netfilter/nf_synproxy_core.c:439 [] 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