INFO: task kworker/u9:2:6763 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/u9:2 state:D stack:0 pid:6763 tgid:6763 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/3146: #0: ffffaf801bfe20a0 (&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 2 locks held by syz-executor/3169: 2 locks held by kworker/1:4/4387: 3 locks held by kworker/u9:2/6763: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f3a kernel/workqueue.c:3211 #1: ffff8f8002267bd0 ((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 3 locks held by kworker/u9:5/7182: 4 locks held by kworker/u9:4/7782: 3 locks held by syz-executor/8114: 2 locks held by kworker/1:1/8458: 2 locks held by kworker/u9:6/8586: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f3a kernel/workqueue.c:3211 #1: ffff8f8001947bd0 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f3a kernel/workqueue.c:3211 5 locks held by kworker/u9:7/8601: 3 locks held by kworker/1:7/8610: 2 locks held by kworker/1:10/8681: 1 lock held by syz.0.1645/8788: #0: ffffffff883e8380 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3741 ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 8610 Comm: kworker/1:7 Not tainted 6.14.0-rc1-syzkaller-g245aece3750d #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: wg-crypt-wg0 wg_packet_encrypt_worker epc : preempt_count include/asm-generic/preempt.h:11 [inline] epc : in_softirq_really kernel/kcov.c:171 [inline] epc : check_kcov_mode kernel/kcov.c:183 [inline] epc : __sanitizer_cov_trace_pc+0x1c/0x78 kernel/kcov.c:217 ra : fp_is_valid arch/riscv/kernel/stacktrace.c:27 [inline] ra : walk_stackframe+0x114/0x474 arch/riscv/kernel/stacktrace.c:61 epc : ffffffff804dbe9e ra : ffffffff80073df6 sp : ffff8f8000016f90 gp : ffffffff89c1d3c0 tp : ffffaf801b16b480 t0 : ffff8f80000172f0 t1 : fffff5ef0328e600 t2 : 0000000000000005 s0 : ffff8f8000016fa0 s1 : ffff8f8000017fb0 a0 : 0000000000000006 a1 : ffff8f8000017fb0 a2 : ffff8f8000017f80 a3 : ffffffff80073df6 a4 : 0000000000000100 a5 : ffffaf801b16b480 a6 : 0000000000f00000 a7 : ffffaf8019473003 s2 : ffff8f8000017f70 s3 : 0000000000000013 s4 : 0000000000000000 s5 : dfffffff00000000 s6 : ffffffff80157bc6 s7 : ffff8f8000017f80 s8 : dfffffff00000000 s9 : 0000000000007fff s10: ffffffff86268630 s11: 0000000000000007 t3 : ffffaf801b16bfb0 t4 : fffff5ef0328e600 t5 : fffff5ef0328e601 t6 : 0000000000000009 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] check_kcov_mode kernel/kcov.c:183 [inline] [] __sanitizer_cov_trace_pc+0x1c/0x78 kernel/kcov.c:217 [] fp_is_valid arch/riscv/kernel/stacktrace.c:27 [inline] [] walk_stackframe+0x114/0x474 arch/riscv/kernel/stacktrace.c:61 [] arch_stack_walk+0x1c/0x24 arch/riscv/kernel/stacktrace.c:165 [] 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:562 [] unpoison_slab_object mm/kasan/common.c:319 [inline] [] __kasan_slab_alloc+0x7c/0x82 mm/kasan/common.c:345 [] kasan_slab_alloc include/linux/kasan.h:250 [inline] [] slab_post_alloc_hook mm/slub.c:4115 [inline] [] slab_alloc_node mm/slub.c:4164 [inline] [] kmem_cache_alloc_noprof+0x108/0x3e2 mm/slub.c:4171 [] __nf_conntrack_alloc+0xc8/0x5a4 net/netfilter/nf_conntrack_core.c:1671 [] init_conntrack.constprop.0+0xc8e/0xfec net/netfilter/nf_conntrack_core.c:1762 [] resolve_normal_ct net/netfilter/nf_conntrack_core.c:1882 [inline] [] nf_conntrack_in+0xe80/0x1c3c net/netfilter/nf_conntrack_core.c:2034 [] ipv4_conntrack_in+0x20/0x2e net/netfilter/nf_conntrack_proto.c:207 [] 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_rcv+0x20e/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 kernel/softirq.c:595 [inline] [] invoke_softirq kernel/softirq.c:435 [inline] [] __irq_exit_rcu+0x18c/0x550 kernel/softirq.c:662 [] irq_exit_rcu+0x10/0xf8 kernel/softirq.c:678 [] handle_riscv_irq+0x40/0x4c arch/riscv/kernel/traps.c:378 [] call_on_irq_stack+0x32/0x40 arch/riscv/kernel/entry.S:356