INFO: task syz.5.660:14457 blocked for more than 430 seconds. Not tainted 6.12.0-rc6-syzkaller-g57f7c7dc78cd #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.660 state:D stack:0 pid:14457 tgid:14456 ppid:13049 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_timeout+0x1e2/0x296 kernel/time/timer.c:2591 [] do_wait_for_common kernel/sched/completion.c:95 [inline] [] __wait_for_common+0x1ca/0x4b6 kernel/sched/completion.c:116 [] wait_for_common kernel/sched/completion.c:127 [inline] [] wait_for_completion+0x1a/0x22 kernel/sched/completion.c:148 [] __flush_work+0x5ee/0xcba kernel/workqueue.c:4217 [] __cancel_work_sync+0x136/0x15a kernel/workqueue.c:4337 [] cancel_delayed_work_sync+0x1c/0x26 kernel/workqueue.c:4411 [] htable_put.part.0+0x1a0/0x278 net/netfilter/xt_hashlimit.c:429 [] htable_put net/netfilter/xt_hashlimit.c:424 [inline] [] hashlimit_mt_destroy+0x7e/0xa6 net/netfilter/xt_hashlimit.c:977 [] cleanup_match net/ipv6/netfilter/ip6_tables.c:477 [inline] [] find_check_entry.constprop.0+0x47a/0x8e4 net/ipv6/netfilter/ip6_tables.c:581 [] translate_table+0xc28/0x15da net/ipv6/netfilter/ip6_tables.c:733 [] do_replace+0x2f8/0x432 net/ipv4/netfilter/ip_tables.c:1137 [] do_ip6t_set_ctl+0x39e/0x92a net/ipv6/netfilter/ip6_tables.c:1644 [] nf_setsockopt+0x78/0xda net/netfilter/nf_sockopt.c:101 [] ipv6_setsockopt+0x13c/0x16e net/ipv6/ipv6_sockglue.c:998 [] rawv6_setsockopt+0xe8/0x64c net/ipv6/raw.c:1054 [] sock_common_setsockopt+0x90/0xc0 net/core/sock.c:3803 [] do_sock_setsockopt+0x20a/0x402 net/socket.c:2334 [] __sys_setsockopt+0xf0/0x1aa net/socket.c:2357 [] __do_sys_setsockopt net/socket.c:2366 [inline] [] __se_sys_setsockopt net/socket.c:2363 [inline] [] __riscv_sys_setsockopt+0xa6/0x114 net/socket.c:2363 [] syscall_handler+0x94/0x118 arch/riscv/include/asm/syscall.h:90 [] do_trap_ecall_u+0x1aa/0x216 arch/riscv/kernel/traps.c:331 [] _new_vmalloc_restore_context_a0+0xc2/0xce Showing all locks held in the system: 1 lock held by khungtaskd/37: #0: ffffffff881cc080 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x68/0x2d6 kernel/locking/lockdep.c:6716 1 lock held by klogd/2972: 2 locks held by getty/3141: #0: ff6000001d1f00a0 (&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 1 lock held by syz-executor/3171: 2 locks held by kworker/0:5/6668: 3 locks held by kworker/u10:6/9485: 2 locks held by kworker/u9:5/9563: #0: ff60000011071148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff200000041b7c90 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 4 locks held by kworker/u10:8/10240: #0: ff6000005cdf4d18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:598 [inline] #0: ff6000005cdf4d18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1505 [inline] #0: ff6000005cdf4d18 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1804 [inline] #0: ff6000005cdf4d18 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x278/0x3848 kernel/sched/core.c:6589 #1: ff6000005cde0648 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x22c/0x71a kernel/sched/psi.c:987 #2: ff6000005cdf4d18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:598 [inline] #2: ff6000005cdf4d18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1505 [inline] #2: ff6000005cdf4d18 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1804 [inline] #2: ff6000005cdf4d18 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x278/0x3848 kernel/sched/core.c:6589 #3: ff6000005cde0648 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x22c/0x71a kernel/sched/psi.c:987 2 locks held by kworker/1:1/11126: 3 locks held by kworker/u9:2/11592: 3 locks held by kworker/u10:2/12848: 2 locks held by kworker/u10:3/14432: 3 locks held by kworker/u9:1/15171: 1 lock held by dhcpcd-run-hook/15245: 2 locks held by modprobe/15246: 1 lock held by kworker/u9:9/15247: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 37 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 14432 Comm: kworker/u10:3 Not tainted 6.12.0-rc6-syzkaller-g57f7c7dc78cd #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: events_unbound nsim_dev_trap_report_work epc : __sanitizer_cov_trace_pc+0x0/0x7a kernel/kcov.c:210 ra : arch_static_branch arch/riscv/include/asm/jump_label.h:22 [inline] ra : page_fixed_fake_head include/linux/page-flags.h:205 [inline] ra : _compound_head include/linux/page-flags.h:246 [inline] ra : free_page_and_swap_cache+0x52/0x1de mm/swap_state.c:304 epc : ffffffff8042fcce ra : ffffffff808efac4 sp : ff20000000017cb0 gp : ffffffff899c0180 tp : ff6000002fe60000 t0 : ff6000002fe60b20 t1 : ffebffff0b9bf3f8 t2 : 0000000000000017 s0 : ff20000000017ce0 s1 : ff1c000000cfa100 a0 : 0000000000000007 a1 : 0000000000000000 a2 : 0000000000000000 a3 : ffffffff808efab8 a4 : 0000000000000000 a5 : ff6000002fe60000 a6 : 0000000000f00000 a7 : ff6000005cdf9fc3 s2 : 0000000000000000 s3 : 0000000000000000 s4 : dfffffff00000000 s5 : ffebffff067d0a02 s6 : ff60000033e85010 s7 : 0000000000000001 s8 : 0000000000000000 s9 : 000000000000000a s10: ffffffff899f95e0 s11: 1fec0000067d0a01 t3 : 1fec000005fcc163 t4 : ffebffff0b9bf3f8 t5 : ffebffff0b9bf3f9 t6 : 1fec000005fcc181 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] __sanitizer_cov_trace_pc+0x0/0x7a kernel/kcov.c:442 [] __tlb_remove_table arch/riscv/include/asm/tlb.h:26 [inline] [] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] [] tlb_remove_table_rcu+0x86/0xee mm/mmu_gather.c:282 [] 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 vkms_vblank_simulate: vblank timer overrun