INFO: task syz.1.2339:18306 blocked for more than 430 seconds. Not tainted 6.13.0-rc2-syzkaller-g21f1b85c8912 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.2339 state:D stack:0 pid:18306 tgid:18305 ppid:16857 flags:0x0000000c Call Trace: [] context_switch kernel/sched/core.c:5369 [inline] [] __schedule+0xdaa/0x393a kernel/sched/core.c:6756 [] __schedule_loop kernel/sched/core.c:6833 [inline] [] schedule+0xc4/0x324 kernel/sched/core.c:6848 [] schedule_timeout+0x1c6/0x28a kernel/time/sleep_timeout.c:75 [] 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:4231 [] __cancel_work_sync+0x136/0x15a kernel/workqueue.c:4351 [] cancel_delayed_work_sync+0x1c/0x26 kernel/workqueue.c:4425 [] 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] [] cleanup_entry+0x15e/0x326 net/ipv6/netfilter/ip6_tables.c:661 [] translate_table+0xcf4/0x15da net/ipv6/netfilter/ip6_tables.c:744 [] do_replace+0x2f8/0x432 net/ipv4/netfilter/ip_tables.c:1137 [] do_ip6t_set_ctl+0x39e/0x916 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:3814 [] do_sock_setsockopt+0x208/0x400 net/socket.c:2313 [] __sys_setsockopt+0x140/0x1cc net/socket.c:2338 [] __do_sys_setsockopt net/socket.c:2344 [inline] [] __se_sys_setsockopt net/socket.c:2341 [inline] [] __riscv_sys_setsockopt+0xa6/0x114 net/socket.c:2341 [] 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/38: #0: ffffffff881d0c40 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x68/0x2e6 kernel/locking/lockdep.c:6740 1 lock held by klogd/2979: 2 locks held by getty/3128: #0: ff6000001881f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3a/0x46 drivers/tty/tty_ldsem.c:340 #1: ff2000000008b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xd7c/0x129a drivers/tty/n_tty.c:2211 2 locks held by sshd/3153: 3 locks held by kworker/u10:16/14685: 4 locks held by kworker/u10:2/16034: 2 locks held by kworker/0:4/16796: 3 locks held by kworker/u10:9/17898: 3 locks held by kworker/u10:18/17909: 3 locks held by kworker/u10:24/17918: 3 locks held by kworker/u10:28/17925: 1 lock held by syz-executor/18344: #0: ffffffff895df208 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x22/0x2a net/core/rtnetlink.c:79 2 locks held by kworker/u10:3/18485: 2 locks held by kworker/1:2/18618: 2 locks held by kworker/0:3/19023: 3 locks held by kworker/u8:0/19115: #0: ff6000001854b948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x848/0x1f38 kernel/workqueue.c:3204 #1: ff20000002b87c90 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f38 kernel/workqueue.c:3204 #2: ff6000005cdf4a58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:598 [inline] #2: ff6000005cdf4a58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1514 [inline] #2: ff6000005cdf4a58 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1813 [inline] #2: ff6000005cdf4a58 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x278/0x393a kernel/sched/core.c:6680 2 locks held by syz.2.2338/19130: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 38 Comm: khungtaskd Not tainted 6.13.0-rc2-syzkaller-g21f1b85c8912 #0 Hardware name: riscv-virtio,qemu (DT) Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:130 [] show_stack+0x30/0x3c arch/riscv/kernel/stacktrace.c:136 [] __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+0x2b6/0x458 lib/nmi_backtrace.c:62 [] arch_trigger_cpumask_backtrace+0x2c/0x3e arch/riscv/kernel/smp.c:347 [] trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] [] watchdog+0xcee/0x1170 kernel/hung_task.c:397 [] kthread+0x28c/0x3a4 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: 19023 Comm: kworker/0:3 Not tainted 6.13.0-rc2-syzkaller-g21f1b85c8912 #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: events_power_efficient htable_gc 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+0x38e/0x5e8 kernel/softirq.c:389 ra : __local_bh_enable_ip+0x38a/0x5e8 kernel/softirq.c:387 epc : ffffffff8014eeb6 ra : ffffffff8014eeb2 sp : ff200000035879b0 gp : ffffffff899f4f80 tp : ff60000018990000 t0 : b2688b2093a48f2b t1 : ffe3ffff0044b209 t2 : 0000000000000788 s0 : ff20000003587a00 s1 : ff6000005cdd2940 a0 : 0000000000000000 a1 : 0000000000000000 a2 : 0000000000000000 a3 : ffffffff816251ee a4 : 0000000000000001 a5 : 00000000000091db a6 : 0000000000000003 a7 : 1fec00000313216d s2 : 0000000000000000 s3 : ffffffff855019f2 s4 : 0000000000000001 s5 : ffffffff90da1fc0 s6 : 1fec000003132001 s7 : ffffffff89a32be0 s8 : ffffffff880101c0 s9 : 1ffffffff1002038 s10: 1fe400000044b211 s11: 0000000000000000 t3 : ff60000018990b20 t4 : ffe3ffff0044b209 t5 : ffe3ffff0044b20a t6 : 000000000000000f status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] arch_local_irq_enable arch/riscv/include/asm/irqflags.h:21 [inline] [] __local_bh_enable_ip+0x38e/0x5e8 kernel/softirq.c:387 [] __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] [] _raw_spin_unlock_bh+0x34/0x40 kernel/locking/spinlock.c:210 [] spin_unlock_bh include/linux/spinlock.h:396 [inline] [] htable_selective_cleanup+0x252/0x420 net/netfilter/xt_hashlimit.c:374 [] htable_gc+0x20/0xaa net/netfilter/xt_hashlimit.c:385 [] process_one_work+0x968/0x1f38 kernel/workqueue.c:3229 [] process_scheduled_works kernel/workqueue.c:3310 [inline] [] worker_thread+0x5be/0xdc6 kernel/workqueue.c:3391 [] kthread+0x28c/0x3a4 kernel/kthread.c:389 [] ret_from_fork+0xe/0x18 arch/riscv/kernel/entry.S:326