INFO: task kworker/u10:32:6179 blocked for more than 430 seconds. Not tainted 6.14.0-rc1-syzkaller-g245aece3750d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u10:32 state:D stack:0 pid:6179 tgid:6179 ppid:2 task_flags:0x4208060 flags:0x00000000 Workqueue: events_unbound bpf_map_free_deferred Call Trace: [] context_switch kernel/sched/core.c:5377 [inline] [] __schedule+0xe4c/0x3d70 kernel/sched/core.c:6764 [] __schedule_loop kernel/sched/core.c:6841 [inline] [] schedule+0xc4/0x324 kernel/sched/core.c:6856 [] schedule_timeout+0x1c6/0x28a kernel/time/sleep_timeout.c:75 [] 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:3809 [] dev_map_free+0x11c/0x6bc kernel/bpf/devmap.c:214 [] bpf_map_free kernel/bpf/syscall.c:841 [inline] [] bpf_map_free_deferred+0x226/0x47a kernel/bpf/syscall.c:867 [] process_one_work+0x96a/0x1f3a kernel/workqueue.c:3236 [] process_scheduled_works kernel/workqueue.c:3317 [inline] [] worker_thread+0x5be/0xdc6 kernel/workqueue.c:3398 [] kthread+0x37e/0x7b6 kernel/kthread.c:464 [] ret_from_fork+0xe/0x18 arch/riscv/kernel/entry.S:327 Showing all locks held in the system: 1 lock held by khungtaskd/37: #0: ffffffff883d8200 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x68/0x288 kernel/locking/lockdep.c:6742 1 lock held by klogd/2993: 2 locks held by getty/3141: #0: ffffaf801cd0d0a0 (&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+0xd7c/0x129a drivers/tty/n_tty.c:2211 1 lock held by sshd/3167: #0: ffffaf806ed8afd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:598 [inline] #0: ffffaf806ed8afd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1521 [inline] #0: ffffaf806ed8afd8 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1852 [inline] #0: ffffaf806ed8afd8 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x280/0x3d70 kernel/sched/core.c:6687 2 locks held by syz-executor/3169: 2 locks held by kworker/0:4/3869: 2 locks held by kworker/1:4/5213: 2 locks held by kworker/0:0/5951: 3 locks held by kworker/u10:30/6174: 3 locks held by kworker/u10:32/6179: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f3a kernel/workqueue.c:3211 #1: ffff8f800c907bd0 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f3a kernel/workqueue.c:3211 #2: ffffffff883e8380 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3741 1 lock held by kworker/0:1/6492: 2 locks held by kworker/u8:1/7732: 2 locks held by kworker/0:2/7759: 2 locks held by kworker/R-wg-cr/8027: 1 lock held by kworker/R-wg-cr/8030: #0: ffffffff8828d7a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffffffff8828d7a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3533 2 locks held by kworker/R-wg-cr/8033: 3 locks held by kworker/u10:1/8293: #0: ffffaf806ed8afd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:598 [inline] #0: ffffaf806ed8afd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1521 [inline] #0: ffffaf806ed8afd8 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1852 [inline] #0: ffffaf806ed8afd8 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x280/0x3d70 kernel/sched/core.c:6687 #1: ffffaf806ed76688 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: process_one_work+0x870/0x1f3a kernel/workqueue.c:3211 #2: ffffaf801db6c250 (&devlink->lock_key#2){+.+.}-{4:4}, at: lock_timer_base+0x156/0x1f4 kernel/time/timer.c:1046 2 locks held by kworker/0:5/8441: 1 lock held by syz.2.792/8449: #0: ffffffff883e8380 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3741 2 locks held by kworker/0:7/8479: 3 locks held by kworker/u10:3/8480: 3 locks held by kworker/u10:4/8481: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f3a kernel/workqueue.c:3211 #1: ffff8f8002117bd0 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f3a kernel/workqueue.c:3211 #2: ffffffff883e8380 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3741 2 locks held by kworker/0:8/8482: 2 locks held by kworker/0:9/8485: 2 locks held by kworker/0:10/8525: 2 locks held by kworker/R-wg-cr/8607: 1 lock held by kworker/R-wg-cr/8609: #0: ffffffff8828d7a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffffffff8828d7a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3533 1 lock held by kworker/R-wg-cr/8614: 2 locks held by kworker/0:3/8992: 1 lock held by dhcpcd-run-hook/9012: 2 locks held by kworker/0:6/9014: 3 locks held by syz-executor/9025: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 37 Comm: khungtaskd Not tainted 6.14.0-rc1-syzkaller-g245aece3750d #0 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/0x3e arch/riscv/kernel/smp.c:348 [] trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:236 [inline] [] watchdog+0xcf2/0x11de kernel/hung_task.c:399 [] kthread+0x37e/0x7b6 kernel/kthread.c:464 [] ret_from_fork+0xe/0x18 arch/riscv/kernel/entry.S:327 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 8033 Comm: kworker/R-wg-cr Not tainted 6.14.0-rc1-syzkaller-g245aece3750d #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: wg-crypt-wg2 wg_packet_tx_worker epc : __netif_rx+0xb8/0x104 net/core/dev.c:5368 ra : __netif_rx+0xb8/0x104 net/core/dev.c:5368 epc : ffffffff84f846f6 ra : ffffffff84f846f6 sp : ffff8f8000006830 gp : ffffffff89c1d3c0 tp : ffffaf8015ff3480 t0 : e0810135ce920b32 t1 : ffffaf8015ff4078 t2 : 000000000000032d s0 : ffff8f8000006850 s1 : ffffaf803c0b6000 a0 : 0000000000000005 a1 : 0000000000000000 a2 : 0000000000000300 a3 : ffffffff84f846f6 a4 : 0000000000000000 a5 : ffffaf8015ff3480 a6 : 0000000000f00000 a7 : 000000002165d754 s2 : 0000000000000300 s3 : 0000000000000028 s4 : 1ffff5f007816c10 s5 : 0000000000000001 s6 : 1ffff5f007816c0b s7 : ffffaf803c0b6058 s8 : 0000000000000000 s9 : 1ffff5f007816c00 s10: 0000000000000000 s11: ffffffff89d24940 t3 : ffffaf8015ff3fb0 t4 : 1ffff5f002bfe7f5 t5 : 1ffff5f002bfe813 t6 : 0000000000000001 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] __netif_rx+0xb8/0x104 net/core/dev.c:5368 [] loopback_xmit+0x24c/0x6be drivers/net/loopback.c:89 [] __netdev_start_xmit include/linux/netdevice.h:5144 [inline] [] netdev_start_xmit include/linux/netdevice.h:5153 [inline] [] xmit_one net/core/dev.c:3735 [inline] [] dev_hard_start_xmit+0x236/0xb36 net/core/dev.c:3751 [] __dev_queue_xmit+0x942/0x4a02 net/core/dev.c:4584 [] dev_queue_xmit include/linux/netdevice.h:3305 [inline] [] neigh_hh_output include/net/neighbour.h:523 [inline] [] neigh_output include/net/neighbour.h:537 [inline] [] ip_finish_output2+0xcfa/0x2772 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+0x3a/0x34e net/ipv4/ip_output.c:324 [] NF_HOOK_COND include/linux/netfilter.h:303 [inline] [] ip_output+0x18e/0x61c net/ipv4/ip_output.c:434 [] dst_output include/net/dst.h:459 [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+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: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:469 [inline] [] ip_rcv_finish+0x1b0/0x2d2 net/ipv4/ip_input.c:447 [] 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:567 [] __netif_receive_skb_one_core+0x106/0x16e net/core/dev.c:5828 [] __netif_receive_skb+0x2c/0x144 net/core/dev.c:5941 [] process_backlog+0x4f6/0x1cb0 net/core/dev.c:6289 [] __napi_poll.constprop.0+0xaa/0x4b8 net/core/dev.c:7106 [] napi_poll net/core/dev.c:7175 [inline] [] net_rx_action+0xa12/0xf10 net/core/dev.c:7297 [] handle_softirqs+0x4b2/0x132e kernel/softirq.c:561 [] __do_softirq+0x12/0x1a kernel/softirq.c:595 [] ___do_softirq+0x18/0x20 arch/riscv/kernel/irq.c:85 [] call_on_irq_stack+0x32/0x40 arch/riscv/kernel/entry.S:356