INFO: task kworker/u10:3:3587 blocked for more than 430 seconds. Not tainted 6.12.0-rc1-syzkaller-00002-gcfb10de18538 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u10:3 state:D stack:0 pid:3587 tgid:3587 ppid:2 flags:0x00000000 Workqueue: events_unbound bpf_map_free_deferred Call Trace: [] context_switch kernel/sched/core.c:5315 [inline] [] __schedule+0xd5a/0x3886 kernel/sched/core.c:6675 [] __schedule_loop kernel/sched/core.c:6752 [inline] [] schedule+0xc4/0x324 kernel/sched/core.c:6767 [] 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:4629 [] dev_map_free+0x11c/0x6b8 kernel/bpf/devmap.c:214 [] bpf_map_free kernel/bpf/syscall.c:744 [inline] [] bpf_map_free_deferred+0x21e/0x46a kernel/bpf/syscall.c:768 [] process_one_work+0x956/0x1dae kernel/workqueue.c:3229 [] process_scheduled_works kernel/workqueue.c:3310 [inline] [] worker_thread+0x5be/0xdc6 kernel/workqueue.c:3391 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x18 arch/riscv/kernel/entry.S:326 Showing all locks held in the system: 2 locks held by kworker/0:1/9: 1 lock held by khungtaskd/36: #0: ffffffff87fcc100 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x68/0x2d6 kernel/locking/lockdep.c:6716 1 lock held by klogd/2998: 2 locks held by getty/3165: #0: ff600000181720a0 (&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 3 locks held by kworker/u10:3/3587: #0: ff60000011071148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff2000000c737c90 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 #2: ffffffff87fdc6c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:4561 2 locks held by kworker/1:3/3826: 2 locks held by kworker/0:2/4926: 2 locks held by kworker/0:3/5056: 3 locks held by kworker/u10:0/5663: #0: ff60000011071148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff200000036c7c90 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 #2: ffffffff893adde8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x22/0x2a net/core/rtnetlink.c:79 2 locks held by kworker/0:0/5813: 1 lock held by syz-executor/5938: #0: ffffffff87fdc6c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:4561 2 locks held by kworker/u10:5/6083: #0: ff60000011071148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff20000003267c90 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 3 locks held by kworker/0:4/6140: 2 locks held by kworker/0:6/6428: 2 locks held by kworker/0:7/6437: 3 locks held by kworker/0:8/6467: 2 locks held by kworker/0:9/6482: 2 locks held by kworker/0:11/6508: 2 locks held by kworker/0:12/6528: 2 locks held by kworker/0:13/6534: 2 locks held by syz-executor/6592: #0: ffffffff893adde8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff893adde8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e2/0xdbe net/core/rtnetlink.c:6643 #1: ffffffff87fdc7f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x266/0x384 kernel/rcu/tree_exp.h:297 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 36 Comm: khungtaskd Not tainted 6.12.0-rc1-syzkaller-00002-gcfb10de18538 #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 4926 Comm: kworker/0:2 Not tainted 6.12.0-rc1-syzkaller-00002-gcfb10de18538 #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: wg-crypt-wg0 wg_packet_tx_worker epc : fp_is_valid arch/riscv/kernel/stacktrace.c:26 [inline] epc : walk_stackframe+0x114/0x452 arch/riscv/kernel/stacktrace.c:60 ra : fp_is_valid arch/riscv/kernel/stacktrace.c:26 [inline] ra : walk_stackframe+0x114/0x452 arch/riscv/kernel/stacktrace.c:60 epc : ffffffff800104a8 ra : ffffffff800104a8 sp : ff20000000006a40 gp : ffffffff897bea80 tp : ff60000017ca4ec0 t0 : ff20000000006d90 t1 : ff60000017ca5a80 t2 : 000000000000001b s0 : ff20000000006ac0 s1 : ff20000000006b90 a0 : 0000000000000006 a1 : ff20000000006b90 a2 : 0000000000f00000 a3 : ffffffff800104a8 a4 : 0000000000000000 a5 : ff60000017ca4ec0 a6 : 0000000000f00000 a7 : 1fec000002f94b45 s2 : ff20000000006ad0 s3 : 0000000000000001 s4 : ff20000000006ae0 s5 : 0000000000000000 s6 : ffffffff80329c04 s7 : dfffffff00000000 s8 : dfffffff00000000 s9 : ffffffff85ffc970 s10: 0000000000007fff s11: ff20000000006b90 t3 : 1fec000002f94b3b t4 : 000000000000000d t5 : 0cc32ed8aad255d0 t6 : 1fec000002f94b54 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] fp_is_valid arch/riscv/kernel/stacktrace.c:26 [inline] [] walk_stackframe+0x114/0x452 arch/riscv/kernel/stacktrace.c:60 [] arch_stack_walk+0x1c/0x24 arch/riscv/kernel/stacktrace.c:163 [] stack_trace_save+0xa0/0xd2 kernel/stacktrace.c:122 [] kasan_save_stack+0x3e/0x6a mm/kasan/common.c:47 [] kasan_save_track+0x16/0x28 mm/kasan/common.c:68 [] kasan_save_alloc_info+0x30/0x3e mm/kasan/generic.c:565 [] poison_kmalloc_redzone mm/kasan/common.c:377 [inline] [] __kasan_kmalloc+0xa0/0xa6 mm/kasan/common.c:394 [] kasan_kmalloc include/linux/kasan.h:257 [inline] [] __do_kmalloc_node mm/slub.c:4265 [inline] [] __kmalloc_node_track_caller_noprof+0x272/0x520 mm/slub.c:4284 [] kmalloc_reserve+0xfe/0x2be net/core/skbuff.c:609 [] __alloc_skb+0x152/0x42a net/core/skbuff.c:678 [] alloc_skb include/linux/skbuff.h:1322 [inline] [] synproxy_send_client_synack+0x1b4/0xc9a net/netfilter/nf_synproxy_core.c:460 [] 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:5662 [] __netif_receive_skb+0x2c/0x144 net/core/dev.c:5775 [] process_backlog+0x4fc/0x1cbc net/core/dev.c:6107 [] __napi_poll.constprop.0+0xaa/0x4b8 net/core/dev.c:6771 [] napi_poll net/core/dev.c:6840 [inline] [] net_rx_action+0xa12/0xf10 net/core/dev.c:6962 [] 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