INFO: task kworker/u10:5:5237 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:kworker/u10:5 state:D stack:0 pid:5237 tgid:5237 ppid:2 task_flags:0x4208060 flags:0x00000000 Workqueue: events_unbound bpf_map_free_deferred 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 [] rcu_barrier+0x2dc/0x6cc kernel/rcu/tree.c:3850 [] dev_map_free+0x11c/0x6bc kernel/bpf/devmap.c:214 [] bpf_map_free kernel/bpf/syscall.c:862 [inline] [] bpf_map_free_deferred+0x226/0x47a kernel/bpf/syscall.c:888 [] process_one_work+0x96a/0x1f32 kernel/workqueue.c:3238 [] process_scheduled_works kernel/workqueue.c:3321 [inline] [] worker_thread+0x5ce/0xde8 kernel/workqueue.c:3402 [] 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 Showing all locks held in the system: 1 lock held by khungtaskd/37: #0: ffffffff883dc3a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2a/0x1a0 kernel/locking/lockdep.c:6766 1 lock held by klogd/2988: 2 locks held by kworker/0:2/3010: 2 locks held by getty/3137: #0: ffffaf801c0b00a0 (&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/3165: 3 locks held by syz-executor/3171: 2 locks held by kworker/0:1/3209: 2 locks held by kworker/u10:3/3406: 2 locks held by kworker/0:7/4020: 2 locks held by kworker/0:4/4428: 3 locks held by kworker/u10:1/4738: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3213 #1: ffff8f80051d7b70 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3213 #2: ffffffff883ec5c0 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3782 2 locks held by kworker/0:3/4863: 3 locks held by kworker/u10:5/5237: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3213 #1: ffff8f8004a97b70 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3213 #2: ffffffff883ec5c0 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3782 2 locks held by kworker/0:9/5261: 2 locks held by kworker/0:10/5267: 2 locks held by kworker/0:11/5284: 3 locks held by kworker/u10:7/5321: 4 locks held by syz.0.594/5435: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 37 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+0xcea/0x1618 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 4020 Comm: kworker/0:7 Not tainted 6.16.0-rc1-syzkaller-g306e57988197 #0 PREEMPT Hardware name: riscv-virtio,qemu (DT) Workqueue: events_power_efficient wg_ratelimiter_gc_entries epc : __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] epc : _raw_spin_unlock_irqrestore+0x36/0xd4 kernel/locking/spinlock.c:194 ra : __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] ra : _raw_spin_unlock_irqrestore+0x86/0xd4 kernel/locking/spinlock.c:194 epc : ffffffff863a221a ra : ffffffff863a226a sp : ffff8f80000065c0 gp : ffffffff89c4eee0 tp : ffffaf8014f80000 t0 : ffff8f8000006960 t1 : fffff5ef0dda88f9 t2 : fffffffff2f20000 s0 : ffff8f80000065e0 s1 : 0000000000000002 a0 : 0000000000000000 a1 : ffffffff87d48a70 a2 : 0000000000000003 a3 : 0000000000000302 a4 : 0000000000000001 a5 : 0000000000000000 a6 : 0000000000f00000 a7 : ffffaf806ed447cb s2 : ffffaf806ed447c8 s3 : ffffaf806ed447b0 s4 : ffffaf806ed447b0 s5 : 0000000000000000 s6 : 1ffff5f00426562a s7 : ffffffff90fff2c0 s8 : 1ffff5f00dda88f8 s9 : ffffaf802132b150 s10: ffffaf806ed447c0 s11: ffffffff86674600 t3 : 2271945b00000000 t4 : fffff5ef0dda88f9 t5 : fffff5ef0dda88fa t6 : 0000000000000002 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/0xd4 kernel/locking/spinlock.c:194 [] spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] [] backlog_unlock_irq_restore net/core/dev.c:252 [inline] [] enqueue_to_backlog+0x31e/0xea8 net/core/dev.c:5180 [] netif_rx_internal+0x16e/0x7ce net/core/dev.c:5491 [] __netif_rx+0xda/0x104 net/core/dev.c:5511 [] loopback_xmit+0x24c/0x6be drivers/net/loopback.c:90 [] __netdev_start_xmit include/linux/netdevice.h:5215 [inline] [] netdev_start_xmit include/linux/netdevice.h:5224 [inline] [] xmit_one net/core/dev.c:3830 [inline] [] dev_hard_start_xmit+0x21c/0xad0 net/core/dev.c:3846 [] __dev_queue_xmit+0x942/0x4a02 net/core/dev.c:4713 [] dev_queue_xmit include/linux/netdevice.h:3355 [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:235 [] __ip_finish_output net/ipv4/ip_output.c:313 [inline] [] __ip_finish_output+0x378/0x60c net/ipv4/ip_output.c:295 [] ip_finish_output+0x3c/0x350 net/ipv4/ip_output.c:323 [] NF_HOOK_COND include/linux/netfilter.h:306 [inline] [] ip_output+0x18e/0x61c net/ipv4/ip_output.c:433 [] dst_output include/net/dst.h:459 [inline] [] ip_local_out+0xac/0x1a8 net/ipv4/ip_output.c:129 [] 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