INFO: task syz.1.280:4555 blocked for more than 436 seconds. Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 Blocked by coredump. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.280 state:D stack:0 pid:4555 tgid:4554 ppid:3205 task_flags:0x40044c flags:0x0000000c 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_preempt_disabled+0x16/0x28 kernel/sched/core.c:7115 [] rwsem_down_read_slowpath+0x58a/0x9f2 kernel/locking/rwsem.c:1086 [] __down_read_common kernel/locking/rwsem.c:1261 [inline] [] __down_read kernel/locking/rwsem.c:1274 [inline] [] down_read+0xe4/0x45e kernel/locking/rwsem.c:1539 [] mmap_read_lock include/linux/mmap_lock.h:453 [inline] [] exit_mm kernel/exit.c:558 [inline] [] do_exit+0x6c2/0x28e0 kernel/exit.c:949 [] do_group_exit+0xd4/0x26c kernel/exit.c:1102 [] get_signal+0x207c/0x22fc kernel/signal.c:3034 [] arch_do_signal_or_restart+0x776/0x25d6 arch/riscv/kernel/signal.c:431 [] exit_to_user_mode_loop+0x90/0x134 kernel/entry/common.c:40 [] exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] [] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] [] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] [] do_trap_ecall_u+0x3f0/0x530 arch/riscv/kernel/traps.c:357 [] handle_exception+0x146/0x152 arch/riscv/kernel/entry.S:197 Showing all locks held in the system: 1 lock held by kthreadd/2: 1 lock held by kworker/0:0/9: 4 locks held by kworker/u10:1/30: #0: ffffaf801939e148 ((wq_completion)wg-kex-wg0){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3211 #1: ffff8f8000207b70 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3211 #2: ffffaf802a851308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xe4/0x5f0 drivers/net/wireguard/noise.c:529 #3: ffffaf8030ca0338 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xee/0x5f0 drivers/net/wireguard/noise.c:530 4 locks held by kworker/1:1/36: #0: ffffaf801d30b548 ((wq_completion)wg-kex-wg1#2){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3211 #1: ffff8f80002e7b70 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"((__typeof__(*((worker))) *)(( unsigned long)((worker))))); (typeof((__typeof__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3211 #2: ffffaf802a855308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x12c/0x904 drivers/net/wireguard/noise.c:598 #3: ffffaf801a650338 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x4b4/0x904 drivers/net/wireguard/noise.c:632 1 lock held by khungtaskd/37: #0: ffffffff883dd9a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2a/0x1a0 kernel/locking/lockdep.c:6771 4 locks held by kworker/0:2/60: 2 locks held by kworker/u10:3/62: 4 locks held by kworker/u10:4/64: #0: ffffaf801cec5948 ((wq_completion)wg-kex-wg2#3){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3211 #1: ffff8f80004f7b70 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3211