INFO: task kworker/u9:0:4482 blocked for more than 430 seconds. Not tainted 6.16.0-rc1-syzkaller-g19272b37aa4f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u9:0 state:D stack:0 pid:4482 tgid:4482 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_preempt_disabled+0x16/0x28 kernel/sched/core.c:6935 [] __mutex_lock_common kernel/locking/mutex.c:679 [inline] [] __mutex_lock+0x9be/0x1292 kernel/locking/mutex.c:747 [] mutex_lock_nested+0x14/0x1c kernel/locking/mutex.c:799 [] rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3782 [] 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 INFO: task kworker/u9:0:4482 is blocked on a mutex likely owned by task kworker/u9:1:4651. task:kworker/u9:1 state:D stack:0 pid:4651 tgid:4651 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: 2 locks held by kworker/1:0/24: 1 lock held by khungtaskd/36: #0: ffffffff883dc3a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2a/0x1a0 kernel/locking/lockdep.c:6766 2 locks held by kworker/u9:4/62: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3213 #1: ffff8f80004d7b70 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3213 1 lock held by syslogd/2983: 2 locks held by getty/3137: #0: ffffaf8018bdc0a0 (&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/3164: 3 locks held by syz-executor/3170: 3 locks held by kworker/1:3/3873: 2 locks held by kworker/1:4/4025: 2 locks held by kworker/0:5/4059: 2 locks held by kworker/1:5/4172: 3 locks held by kworker/u9:0/4482: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3213 #1: ffff8f8006de7b70 ((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/1:1/4650: 3 locks held by kworker/u9:1/4651: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3213 #1: ffff8f800d737b70 ((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 1 lock held by syz.0.298/4652: #0: ffffffff883ec5c0 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3782 2 locks held by kworker/1:2/4654: 3 locks held by kworker/u9:6/4665: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3213 #1: ffff8f800d657b70 ((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/1:7/4669: 2 locks held by kworker/1:8/4673: 2 locks held by kworker/1:10/4681: 2 locks held by kworker/1:12/4702: 2 locks held by kworker/1:14/5051: 2 locks held by modprobe/5093: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 36 Comm: khungtaskd Not tainted 6.16.0-rc1-syzkaller-g19272b37aa4f #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 3873 Comm: kworker/1:3 Not tainted 6.16.0-rc1-syzkaller-g19272b37aa4f #0 PREEMPT Hardware name: riscv-virtio,qemu (DT) Workqueue: wg-kex-wg1 wg_packet_handshake_receive_worker epc : static_obj+0x54/0xaa kernel/locking/lockdep.c:835 ra : lockdep_init_map_type+0x52/0x318 kernel/locking/lockdep.c:4976 epc : ffffffff802c8c4a ra : ffffffff802d16fc sp : ffff8f8000017400 gp : ffffffff89c4eee0 tp : ffffaf8013adb480 t0 : ffff8f8000017350 t1 : 000000000000000d t2 : fffffffff2f20000 s0 : ffff8f8000017420 s1 : ffffffff9114f3c0 a0 : ffffffff9114f3c0 a1 : ffffffff8762e6a0 a2 : ffffffff9114f3c0 a3 : 0000000000000000 a4 : 0000000000000300 a5 : ffffffff9118abe0 a6 : 0000000000000000 a7 : 0000000000000000 s2 : ffffffff9114f3c0 s3 : 0000000000000000 s4 : ffffffff89d5c0e0 s5 : ffffffffe9400325 s6 : ffffaf801d858000 s7 : 0000000000000004 s8 : ffffaf801cd13c00 s9 : 0000000000010000 s10: ffffaf801fa49a00 s11: 1ffff5f003f4934d t3 : 81987a7b00000000 t4 : fffff5ef039a2780 t5 : fffff5ef039a2781 t6 : 0000000000000002 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] is_kernel_rodata include/asm-generic/sections.h:179 [inline] [] static_obj+0x54/0xaa kernel/locking/lockdep.c:840 [] lockdep_init_map_type+0x52/0x318 kernel/locking/lockdep.c:4976 [] lockdep_init_map_waits include/linux/lockdep.h:135 [inline] [] lockdep_init_map_wait include/linux/lockdep.h:142 [inline] [] __raw_spin_lock_init+0x36/0x102 kernel/locking/spinlock_debug.c:25 [] __nf_conntrack_alloc+0xf4/0x5a4 net/netfilter/nf_conntrack_core.c:1678 [] init_conntrack.constprop.0+0xc8e/0xfec net/netfilter/nf_conntrack_core.c:1765 [] resolve_normal_ct net/netfilter/nf_conntrack_core.c:1885 [inline] [] nf_conntrack_in+0xe80/0x1c3c net/netfilter/nf_conntrack_core.c:2037 [] ipv4_conntrack_in+0x20/0x2e net/netfilter/nf_conntrack_proto.c:207 [] 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_rcv+0x20e/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+0x12/0x1a kernel/softirq.c:613 [] ___do_softirq+0x18/0x20 arch/riscv/kernel/irq.c:85 [] call_on_irq_stack+0x32/0x40 arch/riscv/kernel/entry.S:360