INFO: task syz.2.832:7272 blocked for more than 428 seconds. Not tainted 6.12.0-rc6-syzkaller-g57f7c7dc78cd #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.832 state:D stack:0 pid:7272 tgid:7271 ppid:5952 flags:0x00000006 Call Trace: [] context_switch kernel/sched/core.c:5328 [inline] [] __schedule+0xd58/0x3848 kernel/sched/core.c:6690 [] __schedule_loop kernel/sched/core.c:6767 [inline] [] schedule+0xc4/0x324 kernel/sched/core.c:6782 [] schedule_preempt_disabled+0x16/0x28 kernel/sched/core.c:6839 [] 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+0x980/0x1188 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: 1 lock held by kworker/R-mm_pe/13: 1 lock held by ksoftirqd/0/16: 1 lock held by khungtaskd/36: #0: ffffffff881cc080 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x68/0x2d6 kernel/locking/lockdep.c:6716 3 locks held by kworker/u10:4/62: 1 lock held by kswapd0/77: 2 locks held by syslogd/2971: 1 lock held by klogd/2975: 2 locks held by dhcpcd/3019: 1 lock held by dhcpcd/3021: 2 locks held by getty/3143: #0: ff600000182840a0 (&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 2 locks held by sshd/3173: 1 lock held by kworker/u9:3/3313: 4 locks held by kworker/0:2/5328: 2 locks held by kworker/1:1/5460: 1 lock held by kworker/u10:3/5616: 5 locks held by kworker/u10:6/5759: 2 locks held by syz-executor/5941: 4 locks held by kworker/1:2/6092: 4 locks held by kworker/u10:0/6489: #0: ff6000001dcd3148 ((wq_completion)wg-kex-wg0#7){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff200000031d7c90 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 #2: ff60000032a39208 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xe4/0x5f0 drivers/net/wireguard/noise.c:529 #3: ff6000002a053b78 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xee/0x5f0 drivers/net/wireguard/noise.c:530 3 locks held by kworker/u10:2/6522: 4 locks held by kworker/u10:7/6560: #0: ff60000029fa8948 ((wq_completion)wg-kex-wg1#7){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff20000002cc7c90 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 #2: ff60000032a3d208 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xe4/0x5f0 drivers/net/wireguard/noise.c:529 #3: ff6000002a0544d8 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xee/0x5f0 drivers/net/wireguard/noise.c:530 2 locks held by kworker/0:4/6600: 2 locks held by kworker/u10:8/6685: 4 locks held by kworker/0:3/6824: 4 locks held by kworker/u10:1/6925: 4 locks held by kworker/u10:5/6941: 4 locks held by kworker/1:4/7005: 3 locks held by kworker/u8:2/7250: #0: ff6000005cdd3d18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:598 [inline] #0: ff6000005cdd3d18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1505 [inline] #0: ff6000005cdd3d18 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1804 [inline] #0: ff6000005cdd3d18 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x278/0x3848 kernel/sched/core.c:6589 #1: ff20000001e27c90 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 #2: ffffffff881cc080 (rcu_read_lock){....}-{1:2}, at: debug_object_activate+0x16a/0x378 lib/debugobjects.c:708 3 locks held by syz.3.831/7269: 2 locks held by syz.2.832/7271: 1 lock held by syz.2.832/7272: #0: ff60000018f3f008 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:144 [inline] #0: ff60000018f3f008 (&mm->mmap_lock){++++}-{3:3}, at: exit_mm kernel/exit.c:547 [inline] #0: ff60000018f3f008 (&mm->mmap_lock){++++}-{3:3}, at: do_exit+0x80e/0x2986 kernel/exit.c:926 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 36 Comm: khungtaskd Not tainted 6.12.0-rc6-syzkaller-g57f7c7dc78cd #0 Hardware name: riscv-virtio,qemu (DT) Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:130 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:136 [] __dump_stack lib/dump_stack.c:94 [inline] [] dump_stack_lvl+0x122/0x196 lib/dump_stack.c:120 [] dump_stack+0x1c/0x24 lib/dump_stack.c:129 [] nmi_cpu_backtrace+0x39c/0x39e lib/nmi_backtrace.c:113 [] nmi_trigger_cpumask_backtrace+0x2b6/0x456 lib/nmi_backtrace.c:62 [] arch_trigger_cpumask_backtrace+0x2c/0x3c arch/riscv/kernel/smp.c:347 [] trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] [] watchdog+0xcfa/0x1178 kernel/hung_task.c:379 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x18 arch/riscv/kernel/entry.S:326 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 6941 Comm: kworker/u10:5 Not tainted 6.12.0-rc6-syzkaller-g57f7c7dc78cd #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: wg-kex-wg2 wg_packet_handshake_send_worker epc : kasan_save_stack+0x0/0x6a mm/kasan/common.c:43 ra : kasan_save_track+0x16/0x28 mm/kasan/common.c:68 epc : ffffffff8096f900 ra : ffffffff8096f994 sp : ff20000000007bd0 gp : ffffffff899d48a0 tp : ff6000001b588000 t0 : ffebffff0324c617 t1 : fffffffef21a3c0c t2 : 0000000000000001 s0 : ff20000000007bf0 s1 : ff60000019263008 a0 : 0000000000000000 a1 : 0000000000000001 a2 : 0000000000000007 a3 : ffebffff0324c617 a4 : 00000000000000fb a5 : 0000000000000000 a6 : ffffffffa6263000 a7 : 1fec0000036b1177 s2 : ff6000007306cf00 s3 : ff60000019263000 s4 : ffffffff84de334c s5 : 0000000000000000 s6 : 0000000000000000 s7 : ffffffff89ad16c0 s8 : 000003d1a0eca570 s9 : 0000000000002710 s10: ffffffff89a0e780 s11: 1fec00000324c60b t3 : 1fec0000036b1163 t4 : fffffffef21a3c0c t5 : fffffffef21a3c0d t6 : 1fec0000036b1181 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] rcu_read_unlock_sched include/linux/rcupdate.h:962 [inline] [] pfn_valid include/linux/mmzone.h:2044 [inline] [] kasan_save_stack+0x0/0x6a mm/kasan/common.c:37 [] kasan_save_free_info+0x40/0x5a mm/kasan/generic.c:579 [] poison_slab_object mm/kasan/common.c:247 [inline] [] __kasan_slab_free+0x4e/0x68 mm/kasan/common.c:264 [] kasan_slab_free include/linux/kasan.h:230 [inline] [] slab_free_hook mm/slub.c:2342 [inline] [] slab_free mm/slub.c:4579 [inline] [] kmem_cache_free+0x244/0x5f4 mm/slub.c:4681 [] dst_destroy+0x2aa/0x3cc net/core/dst.c:121 [] dst_destroy_rcu+0x1c/0x2e net/core/dst.c:132 [] rcu_do_batch kernel/rcu/tree.c:2567 [inline] [] rcu_core+0xa24/0x1eac kernel/rcu/tree.c:2823 [] rcu_core_si+0xc/0x14 kernel/rcu/tree.c:2840 [] handle_softirqs+0x4a6/0x10de kernel/softirq.c:554 [] __do_softirq+0x12/0x1a kernel/softirq.c:588 [] ___do_softirq+0x18/0x20 arch/riscv/kernel/irq.c:85 [] call_on_irq_stack+0x32/0x40 arch/riscv/kernel/entry.S:355