INFO: task syz.0.2333:9518 blocked for more than 430 seconds. Not tainted 6.16.0-rc7-syzkaller-g21ef6a269833 #0 Blocked by coredump. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.2333 state:D stack:0 pid:9518 tgid:9518 ppid:3189 task_flags:0x40004c flags:0x00000004 Call Trace: [] context_switch kernel/sched/core.c:5397 [inline] [] __schedule+0x105c/0x4088 kernel/sched/core.c:6786 [] __schedule_loop kernel/sched/core.c:6864 [inline] [] schedule+0xc4/0x35e kernel/sched/core.c:6879 [] schedule_timeout+0x1c6/0x2b2 kernel/time/sleep_timeout.c:75 [] do_wait_for_common+0x1c2/0x3d0 kernel/sched/completion.c:95 [] __wait_for_common kernel/sched/completion.c:116 [inline] [] wait_for_common kernel/sched/completion.c:127 [inline] [] wait_for_completion+0x40/0x5c kernel/sched/completion.c:148 [] exit_aio+0x2d6/0x33e fs/aio.c:927 [] __mmput+0x8a/0x3ba kernel/fork.c:1118 [] mmput+0x74/0x88 kernel/fork.c:1144 [] exit_mm kernel/exit.c:581 [inline] [] do_exit+0x7d0/0x28b6 kernel/exit.c:952 [] do_group_exit+0xd4/0x26c kernel/exit.c:1105 [] __do_sys_exit_group kernel/exit.c:1116 [inline] [] __se_sys_exit_group kernel/exit.c:1114 [inline] [] __riscv_sys_exit_group+0x4a/0x54 kernel/exit.c:1114 [] syscall_handler+0x94/0x118 arch/riscv/include/asm/syscall.h:112 [] do_trap_ecall_u+0x396/0x530 arch/riscv/kernel/traps.c:343 [] handle_exception+0x15e/0x16a arch/riscv/kernel/entry.S:231 Showing all locks held in the system: 3 locks held by ksoftirqd/0/15: 1 lock held by khungtaskd/38: #0: ffffffff885dbd80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2a/0x1a0 kernel/locking/lockdep.c:6766 1 lock held by syslogd/2998: 2 locks held by getty/3155: #0: ffffaf801d8bb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3a/0x46 drivers/tty/tty_ldsem.c:340 #1: ffff8f800008e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x3e4/0x12ba drivers/tty/n_tty.c:2222 2 locks held by syz-executor/3178: 3 locks held by syz-executor/3192: 2 locks held by kworker/0:0/7725: 2 locks held by kworker/1:3/8685: 3 locks held by kworker/u10:2/8936: 3 locks held by kworker/u10:6/9453: 2 locks held by syz-executor/9536: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 38 Comm: khungtaskd Not tainted 6.16.0-rc7-syzkaller-g21ef6a269833 #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+0x2c4/0x466 lib/nmi_backtrace.c:62 [] arch_trigger_cpumask_backtrace+0x2c/0x42 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+0xd0e/0x11fe kernel/hung_task.c:470 [] kthread+0x3a4/0x7e0 kernel/kthread.c:464 [] ret_from_fork_kernel+0x2a/0xbec arch/riscv/kernel/process.c:228 [] ret_from_fork_kernel_asm+0x16/0x18 arch/riscv/kernel/entry.S:362 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.16.0-rc7-syzkaller-g21ef6a269833 #0 PREEMPT Hardware name: riscv-virtio,qemu (DT) epc : preempt_count include/asm-generic/preempt.h:11 [inline] epc : should_resched include/asm-generic/preempt.h:77 [inline] epc : __local_bh_enable_ip+0x3aa/0x612 kernel/softirq.c:414 ra : __local_bh_enable_ip+0x3a6/0x612 kernel/softirq.c:412 epc : ffffffff80169d58 ra : ffffffff80169d54 sp : ffff8f80001070d0 gp : ffffffff89e7f6c0 tp : ffffaf8012ee3480 t0 : ffff8f80001070f0 t1 : 0000000000000000 t2 : fffffffff2f20000 s0 : ffff8f8000107120 s1 : 0000000000000101 a0 : 0000000000000000 a1 : ffffffff87f79568 a2 : 0000000000000003 a3 : 0000000000000100 a4 : 0000000000000001 a5 : 0000000000291d8e a6 : 0000000000000001 a7 : 0000000000000000 s2 : ffffaf8012ee3480 s3 : ffffffff85acc108 s4 : 0000000000000001 s5 : ffffffff91238400 s6 : 1ffff5f0025dc691 s7 : ffffffff89ec0880 s8 : ffff8f8000107360 s9 : dfffffff00000000 s10: ffff8f8000107300 s11: ffffaf803b318a00 t3 : 1ffff5f0082e0f02 t4 : ffffffff878ae0e8 t5 : ffffaf801c212128 t6 : 0000000000000002 ssp : 0000000000000000 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] arch_local_irq_enable arch/riscv/include/asm/irqflags.h:21 [inline] [] __local_bh_enable_ip+0x3aa/0x612 kernel/softirq.c:412 [] local_bh_enable include/linux/bottom_half.h:33 [inline] [] ipt_do_table+0xec6/0x1ce0 net/ipv4/netfilter/ip_tables.c:357 [] 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_local_deliver+0x2ea/0x568 net/ipv4/ip_input.c:254 [] dst_input include/net/dst.h:469 [inline] [] ip_rcv_finish+0x1b0/0x2d2 net/ipv4/ip_input.c:448 [] NF_HOOK include/linux/netfilter.h:317 [inline] [] NF_HOOK include/linux/netfilter.h:311 [inline] [] ip_rcv+0xd6/0x44e net/ipv4/ip_input.c:568 [] __netif_receive_skb_one_core+0x106/0x16e net/core/dev.c:5977 [] __netif_receive_skb+0x2e/0x146 net/core/dev.c:6090 [] process_backlog+0x4fe/0x1dc8 net/core/dev.c:6442 [] __napi_poll.constprop.0+0xaa/0x4c2 net/core/dev.c:7414 [] napi_poll net/core/dev.c:7478 [inline] [] net_rx_action+0xb42/0xffa net/core/dev.c:7605 [] handle_softirqs+0x500/0x1436 kernel/softirq.c:579 [] run_ksoftirqd kernel/softirq.c:968 [inline] [] run_ksoftirqd+0xdc/0x152 kernel/softirq.c:960 [] smpboot_thread_fn+0x42c/0xc98 kernel/smpboot.c:164 [] kthread+0x3a4/0x7e0 kernel/kthread.c:464 [] ret_from_fork_kernel+0x2a/0xbec arch/riscv/kernel/process.c:228 [] ret_from_fork_kernel_asm+0x16/0x18 arch/riscv/kernel/entry.S:362