INFO: task kworker/u10:1:4318 blocked for more than 430 seconds. Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u10:1 state:D stack:0 pid:4318 tgid:4318 ppid:2 task_flags:0x4208060 flags:0x00000000 Workqueue: events_unbound bpf_map_free_deferred Call Trace: [] context_switch kernel/sched/core.c:5357 [inline] [] __schedule+0x1042/0x4106 kernel/sched/core.c:6961 [] __schedule_loop kernel/sched/core.c:7043 [inline] [] schedule+0xc4/0x35e kernel/sched/core.c:7058 [] schedule_timeout+0x1c6/0x2ae kernel/time/sleep_timeout.c:75 [] do_wait_for_common kernel/sched/completion.c:100 [inline] [] __wait_for_common+0x1d2/0x3e8 kernel/sched/completion.c:121 [] wait_for_common kernel/sched/completion.c:132 [inline] [] wait_for_completion+0x1a/0x22 kernel/sched/completion.c:153 [] rcu_barrier+0x2dc/0x6cc kernel/rcu/tree.c:3883 [] dev_map_free+0x11c/0x6bc kernel/bpf/devmap.c:214 [] bpf_map_free kernel/bpf/syscall.c:864 [inline] [] bpf_map_free_deferred+0x24a/0x4a8 kernel/bpf/syscall.c:891 [] process_one_work+0x96a/0x1f32 kernel/workqueue.c:3236 [] process_scheduled_works kernel/workqueue.c:3319 [inline] [] worker_thread+0x5ce/0xde8 kernel/workqueue.c:3400 [] kthread+0x39c/0x7d4 kernel/kthread.c:463 [] ret_from_fork_kernel+0x2a/0xbb4 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/38: #0: ffffffff883dd9a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2a/0x1a0 kernel/locking/lockdep.c:6771 2 locks held by kworker/0:2/830: 2 locks held by getty/3181: #0: ffffaf801d53c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3a/0x46 drivers/tty/tty_ldsem.c:340 #1: ffff8f800008e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x3e4/0x12b6 drivers/tty/n_tty.c:2222 3 locks held by kworker/u10:0/3229: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3211 #1: ffff8f80003f7b70 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3211 #2: ffffffff883eda40 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3815 3 locks held by kworker/u10:3/3389: 2 locks held by kworker/0:3/3873: 2 locks held by kworker/0:4/3932: 2 locks held by kworker/0:5/3953: 3 locks held by kworker/u10:1/4318: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3211 #1: ffff8f800cdb7b70 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3211 #2: ffffffff883eda40 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3815 5 locks held by kworker/0:9/4406: 3 locks held by kworker/u10:2/4440: 1 lock held by syz.1.247/4547: #0: ffffffff883eda40 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3815 2 locks held by kworker/u10:9/4641: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3211 #1: ffff8f8004e87b70 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3211 2 locks held by syz.0.268/4813: 1 lock held by rm/4816: 2 locks held by modprobe/4817: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 38 Comm: khungtaskd Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #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:160 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:328 [inline] [] watchdog+0xc56/0x1134 kernel/hung_task.c:491 [] kthread+0x39c/0x7d4 kernel/kthread.c:463 [] ret_from_fork_kernel+0x2a/0xbb4 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: 830 Comm: kworker/0:2 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: riscv-virtio,qemu (DT) Workqueue: wg-crypt-wg1 wg_packet_tx_worker epc : arch_static_branch include/linux/page-flags.h:210 [inline] epc : page_fixed_fake_head include/linux/page-flags.h:210 [inline] epc : _compound_head include/linux/page-flags.h:288 [inline] epc : virt_to_folio include/linux/mm.h:1182 [inline] epc : virt_to_slab mm/slab.h:187 [inline] epc : kasan_addr_to_slab+0x14a/0x2d8 mm/kasan/common.c:38 ra : virt_to_folio include/linux/mm.h:1180 [inline] ra : virt_to_slab mm/slab.h:187 [inline] ra : kasan_addr_to_slab+0x132/0x2d8 mm/kasan/common.c:38 epc : ffffffff80b1dbd6 ra : ffffffff80b1dbbe sp : ffff8f80000069b0 gp : ffffffff89c9e5c0 tp : ffffaf8019f03480 t0 : ffff8f8000006a60 t1 : 0000000000000001 t2 : fffffffff2f20000 s0 : ffff8f80000069f0 s1 : ffff8d8000000000 a0 : ffff8d80011b0540 a1 : 0000000000000000 a2 : 0000000000f00000 a3 : ffffffff800a4aa8 a4 : 0000000000000000 a5 : ffffaf8011401780 a6 : 0000000000f00000 a7 : ffffffff80b1daee s2 : 00000000c6c15ac0 s3 : ffffaf8070fed880 s4 : ffffffff87e12f20 s5 : 0000000000000001 s6 : 0000000000000000 s7 : ffffaf8046c15ac0 s8 : 0000000000000001 s9 : ffffffffffffffff s10: ffffffffffffffff s11: 1ffff5f00376bb25 t3 : 8930b33000000000 t4 : 0000000000001fff t5 : 00000000000000c8 t6 : 0000000000000002 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] _compound_head include/linux/page-flags.h:286 [inline] [] virt_to_folio include/linux/mm.h:1182 [inline] [] virt_to_slab mm/slab.h:187 [inline] [] kasan_addr_to_slab+0x14a/0x2d8 mm/kasan/common.c:38 [] kasan_record_aux_stack+0x1c/0x160 mm/kasan/generic.c:533 [] __call_rcu_common.constprop.0+0x9e/0x9da kernel/rcu/tree.c:3123 [] call_rcu+0xc/0x14 kernel/rcu/tree.c:3243 [] slab_free_hook mm/slub.c:2381 [inline] [] slab_free mm/slub.c:4680 [inline] [] kmem_cache_free+0x16a/0x562 mm/slub.c:4782 [] nf_conntrack_free+0x10c/0x4a4 net/netfilter/nf_conntrack_core.c:1747 [] nf_ct_destroy+0x176/0x272 net/netfilter/nf_conntrack_core.c:598 [] nf_ct_put include/net/netfilter/nf_conntrack.h:184 [inline] [] nf_ct_put include/net/netfilter/nf_conntrack.h:181 [inline] [] nf_conntrack_in+0x710/0x1c30 net/netfilter/nf_conntrack_core.c:2068 [] ipv4_conntrack_local+0xf6/0x200 net/netfilter/nf_conntrack_proto.c:226 [] nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline] [] nf_hook_slow+0xb8/0x1ec net/netfilter/core.c:623 [] nf_hook include/linux/netfilter.h:273 [inline] [] __ip_local_out+0x49a/0xbb4 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:158 [inline] [] nf_hook_slow+0xb8/0x1ec net/netfilter/core.c:623 [] nf_hook include/linux/netfilter.h:273 [inline] [] NF_HOOK include/linux/netfilter.h:316 [inline] [] ip_local_deliver+0x2ea/0x568 net/ipv4/ip_input.c:260 [] dst_input include/net/dst.h:471 [inline] [] ip_rcv_finish+0x1b0/0x2d2 net/ipv4/ip_input.c:454 [] NF_HOOK include/linux/netfilter.h:318 [inline] [] NF_HOOK include/linux/netfilter.h:312 [inline] [] ip_rcv+0xd6/0x44e net/ipv4/ip_input.c:574 [] __netif_receive_skb_one_core+0x106/0x16e net/core/dev.c:5979 [] __netif_receive_skb+0x2c/0x144 net/core/dev.c:6092 [] process_backlog+0x4f6/0x1cb0 net/core/dev.c:6444 [] __napi_poll.constprop.0+0xaa/0x4ba net/core/dev.c:7489 [] napi_poll net/core/dev.c:7552 [inline] [] net_rx_action+0xad6/0xefe net/core/dev.c:7679 [] handle_softirqs+0x4b2/0x132e kernel/softirq.c:579 [] __do_softirq+0x12/0x1a kernel/softirq.c:613 [] ___do_softirq+0x18/0x20 arch/riscv/kernel/irq.c:119 [] call_on_irq_stack+0x32/0x40 arch/riscv/kernel/entry.S:360