INFO: task syz.1.149:4319 blocked for more than 435 seconds. Not tainted 6.12.0-rc1-syzkaller-00012-g5f153a692bac #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.149 state:D stack:0 pid:4319 tgid:4316 ppid:3176 flags:0x00000004 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_preempt_disabled+0x16/0x28 kernel/sched/core.c:6824 [] rwsem_down_read_slowpath+0x56a/0x91e kernel/locking/rwsem.c:1084 [] __down_read_common kernel/locking/rwsem.c:1248 [inline] [] __down_read kernel/locking/rwsem.c:1261 [inline] [] down_read+0xe4/0x460 kernel/locking/rwsem.c:1526 [] mmap_read_lock include/linux/mmap_lock.h:144 [inline] [] exit_mm kernel/exit.c:547 [inline] [] do_exit+0x80e/0x2986 kernel/exit.c:926 [] do_group_exit+0xd4/0x26c kernel/exit.c:1088 [] get_signal+0x1e98/0x23b0 kernel/signal.c:2917 [] arch_do_signal_or_restart+0x988/0x1190 arch/riscv/kernel/signal.c:437 [] exit_to_user_mode_loop kernel/entry/common.c:111 [inline] [] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] [] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] [] syscall_exit_to_user_mode+0x2a6/0x31e kernel/entry/common.c:218 [] do_trap_ecall_u+0x86/0x216 arch/riscv/kernel/traps.c:345 [] _new_vmalloc_restore_context_a0+0xc2/0xce Showing all locks held in the system: 1 lock held by kthreadd/2: 2 locks held by kworker/0:0/8: 1 lock held by ksoftirqd/1/24: 2 locks held by kworker/u10:1/34: 4 locks held by kworker/u10:2/35: 1 lock held by khungtaskd/37: #0: ffffffff87fcc100 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x68/0x2d6 kernel/locking/lockdep.c:6716 1 lock held by jbd2/vda-8/2947: 1 lock held by klogd/2970: 1 lock held by dhcpcd/3015: 1 lock held by dhcpcd/3017: 2 locks held by getty/3140: #0: ff6000001d3490a0 (&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 sshd/3167: 3 locks held by syz-executor/3169: 4 locks held by kworker/0:1/3171: #0: ff6000001e191d48 ((wq_completion)wg-kex-wg1#4){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff20000007557c90 ((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))) *)((worker)))); (typeof((typeof(*((worker))) *)((worker)))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 #2: ff6000001eb31208 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x12c/0x904 drivers/net/wireguard/noise.c:598 #3: ff6000002d6d3b78 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x4b4/0x904 drivers/net/wireguard/noise.c:632 4 locks held by kworker/u9:0/3173: #0: ff60000014ba0948 ((wq_completion)wg-kex-wg2#3){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff200000001f7c90 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 #2: ff6000002c799208 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xe4/0x5f0 drivers/net/wireguard/noise.c:529 #3: ff6000002d6d4e38 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xee/0x5f0 drivers/net/wireguard/noise.c:530 1 lock held by syz-executor/3176: 2 locks held by syz-executor/3177: 2 locks held by kworker/1:3/3821: 4 locks held by kworker/1:4/3868: 3 locks held by kworker/1:5/4084: 2 locks held by kworker/1:6/4092: 4 locks held by kworker/u10:3/4177: 4 locks held by kworker/0:5/4178: #0: ff6000001e193148 ((wq_completion)wg-kex-wg2#4){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff2000000c487c90 ((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))) *)((worker)))); (typeof((typeof(*((worker))) *)((worker)))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 #2: ff6000002c799208 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x12c/0x904 drivers/net/wireguard/noise.c:598