INFO: task syz.0.323:4700 blocked for more than 430 seconds. Not tainted 6.14.0-rc1-syzkaller-g245aece3750d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.323 state:D stack:0 pid:4700 tgid:4699 ppid:3175 task_flags:0x400140 flags:0x0000000c Call Trace: [] context_switch kernel/sched/core.c:5377 [inline] [] __schedule+0xe4c/0x3d70 kernel/sched/core.c:6764 [] __schedule_loop kernel/sched/core.c:6841 [inline] [] schedule+0xc4/0x324 kernel/sched/core.c:6856 [] 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 [] rcu_barrier+0x2dc/0x6cc kernel/rcu/tree.c:3809 [] netdev_run_todo+0x294/0x10b4 net/core/dev.c:11130 [] rtnl_unlock net/core/rtnetlink.c:151 [inline] [] rtnl_nets_unlock net/core/rtnetlink.c:348 [inline] [] rtnl_newlink+0xd06/0x1acc net/core/rtnetlink.c:4022 [] rtnetlink_rcv_msg+0x9e2/0xdbe net/core/rtnetlink.c:6911 [] netlink_rcv_skb+0x216/0x3dc net/netlink/af_netlink.c:2543 [] rtnetlink_rcv+0x26/0x30 net/core/rtnetlink.c:6938 [] netlink_unicast_kernel net/netlink/af_netlink.c:1322 [inline] [] netlink_unicast+0x4f0/0x82c net/netlink/af_netlink.c:1348 [] netlink_sendmsg+0x864/0xdc6 net/netlink/af_netlink.c:1892 [] sock_sendmsg_nosec net/socket.c:713 [inline] [] __sock_sendmsg+0xcc/0x160 net/socket.c:728 [] ____sys_sendmsg+0x5ce/0x79e net/socket.c:2568 [] ___sys_sendmsg+0x144/0x1e6 net/socket.c:2622 [] __sys_sendmsg+0x188/0x22a net/socket.c:2654 [] __do_sys_sendmsg net/socket.c:2659 [inline] [] __se_sys_sendmsg net/socket.c:2657 [inline] [] __riscv_sys_sendmsg+0x70/0xa2 net/socket.c:2657 [] syscall_handler+0x94/0x118 arch/riscv/include/asm/syscall.h:90 [] do_trap_ecall_u+0x1aa/0x216 arch/riscv/kernel/traps.c:331 [] handle_exception+0x146/0x152 arch/riscv/kernel/entry.S:197 Showing all locks held in the system: 1 lock held by kworker/R-mm_pe/13: #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3533 3 locks held by kworker/u9:0/28: 3 locks held by kworker/u9:1/31: 2 locks held by kworker/1:1/34: 1 lock held by khungtaskd/38: #0: ffffffff883d7b80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x68/0x288 kernel/locking/lockdep.c:6742 1 lock held by syslogd/2988: 2 locks held by getty/3144: #0: ffffaf801ce070a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3a/0x46 drivers/tty/tty_ldsem.c:340 #1: ffff8f800008b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xd7c/0x129a drivers/tty/n_tty.c:2211 2 locks held by syz-executor/3168: 1 lock held by kworker/R-wg-cr/3348: 1 lock held by kworker/R-wg-cr/3351: #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3533 1 lock held by kworker/R-wg-cr/3354: #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3533 1 lock held by kworker/R-wg-cr/3398: #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3533 1 lock held by kworker/R-wg-cr/3401: #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x36/0x3c4 kernel/workqueue.c:2676 1 lock held by kworker/R-wg-cr/3405: #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3533 2 locks held by kworker/1:0/3782: 2 locks held by kworker/1:3/3861: 2 locks held by kworker/1:4/3863: 2 locks held by kworker/1:5/3864: 3 locks held by kworker/u9:2/4303: 2 locks held by kworker/1:2/4345: 2 locks held by kworker/1:6/4608: 2 locks held by kworker/1:7/4620: 1 lock held by kworker/1:8/4644: 2 locks held by kworker/1:9/4677: 2 locks held by kworker/1:10/4696: 2 locks held by syz.0.323/4700: #0: ffffffff88fcea40 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0xea/0x31c net/core/rtnetlink.c:567 #1: ffffffff883e7d00 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3741 2 locks held by kworker/1:11/4703: 2 locks held by syz-executor/4730: 2 locks held by kworker/1:12/4830: 1 lock held by kworker/R-wg-cr/4839: #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3533 1 lock held by kworker/R-wg-cr/4842: #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3533 1 lock held by kworker/R-wg-cr/4845: #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffffffff8828d768 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3533 3 locks held by kworker/u8:2/4986: #0: ffffaf80731dad48 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x848/0x1f3a kernel/workqueue.c:3211 #1: ffff8f8006747bd0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f3a kernel/workqueue.c:3211 #2: ffffffff89805d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x22/0x2a net/core/rtnetlink.c:79 1 lock held by syz.1.358/5095: #0: ffffffff883e7d00 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:3741 2 locks held by kworker/1:13/5112: 2 locks held by kworker/1:14/5133: 3 locks held by syz-executor/5135: #0: ffffffff88fbde20 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0xea/0x31c net/core/rtnetlink.c:567 #1: ffffffff89805d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffffffff89805d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:335 [inline] #1: ffffffff89805d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x65e/0x1acc net/core/rtnetlink.c:4020 #2: ffffffff883e7e38 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x266/0x384 kernel/rcu/tree_exp.h:302 3 locks held by kworker/u9:7/5138: #0: ffffaf8011a89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1f3a kernel/workqueue.c:3211 #1: ffff8f80046a7bd0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x870/0x1f3a kernel/workqueue.c:3211 #2: ffffffff89805d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x22/0x2a net/core/rtnetlink.c:79 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 38 Comm: khungtaskd Not tainted 6.14.0-rc1-syzkaller-g245aece3750d #0 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+0x2b6/0x458 lib/nmi_backtrace.c:62 [] arch_trigger_cpumask_backtrace+0x2c/0x3e arch/riscv/kernel/smp.c:348 [] trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:236 [inline] [] watchdog+0xcf2/0x11de kernel/hung_task.c:399 [] kthread+0x37e/0x7b6 kernel/kthread.c:464 [] ret_from_fork+0xe/0x18 arch/riscv/kernel/entry.S:327 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 3348 Comm: kworker/R-wg-cr Not tainted 6.14.0-rc1-syzkaller-g245aece3750d #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: 0x0 (wg-crypt-wg0) epc : __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] epc : _raw_spin_unlock_irqrestore+0x36/0xd4 kernel/locking/spinlock.c:194 ra : __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] ra : _raw_spin_unlock_irqrestore+0x86/0xd4 kernel/locking/spinlock.c:194 epc : ffffffff8625ed56 ra : ffffffff8625eda6 sp : ffff8f8000017300 gp : ffffffff89c21d80 tp : ffffaf802e641a00 t0 : 627a5db73d87dd3b t1 : fffffffef21df810 t2 : 0000000000000000 s0 : ffff8f8000017320 s1 : 0000000000000002 a0 : 0000000000000001 a1 : ffffffff86842000 a2 : 0000000000000003 a3 : 0000000000000103 a4 : 0000000000000001 a5 : 0000000000000000 a6 : ffffaf802e642510 a7 : 1ffff5f005cc84a2 s2 : ffffffff90efc080 s3 : dfffffff00000000 s4 : 0000000000000001 s5 : 0000000000000001 s6 : ffffaf803eb8e4c0 s7 : 1ffff1f000002e68 s8 : 0000000000000000 s9 : ffffffff90efc080 s10: 0000000200000022 s11: 1ffff5f00391a4d5 t3 : ffffaf802e6424f0 t4 : fffffffef21df810 t5 : fffffffef21df811 t6 : 0000000000000000 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] arch_local_irq_restore arch/riscv/include/asm/irqflags.h:51 [inline] [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] [] _raw_spin_unlock_irqrestore+0x36/0xd4 kernel/locking/spinlock.c:194 [] debug_object_active_state+0x274/0x2c4 lib/debugobjects.c:1055 [] debug_rcu_head_queue kernel/rcu/rcu.h:225 [inline] [] __call_rcu_common.constprop.0+0x54/0x9f8 kernel/rcu/tree.c:3050 [] call_rcu+0xc/0x14 kernel/rcu/tree.c:3172 [] slab_free_hook mm/slub.c:2317 [inline] [] slab_free mm/slub.c:4609 [inline] [] kmem_cache_free+0x17c/0x63e mm/slub.c:4711 [] nf_conntrack_free+0x10c/0x4a4 net/netfilter/nf_conntrack_core.c:1729 [] nf_ct_destroy+0x176/0x272 net/netfilter/nf_conntrack_core.c:598 [] nf_ct_put include/net/netfilter/nf_conntrack.h:186 [inline] [] nf_ct_put include/net/netfilter/nf_conntrack.h:183 [inline] [] nf_conntrack_in+0x710/0x1c3c net/netfilter/nf_conntrack_core.c:2055 [] ipv4_conntrack_in+0x20/0x2e net/netfilter/nf_conntrack_proto.c:207 [] nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] [] nf_hook_slow+0xb8/0x1ec net/netfilter/core.c:626 [] nf_hook include/linux/netfilter.h:269 [inline] [] NF_HOOK include/linux/netfilter.h:312 [inline] [] ip_rcv+0x20e/0x44e net/ipv4/ip_input.c:567 [] __netif_receive_skb_one_core+0x106/0x16e net/core/dev.c:5828 [] __netif_receive_skb+0x2c/0x144 net/core/dev.c:5941 [] process_backlog+0x4f6/0x1cb0 net/core/dev.c:6289 [] __napi_poll.constprop.0+0xaa/0x4b8 net/core/dev.c:7106 [] napi_poll net/core/dev.c:7175 [inline] [] net_rx_action+0xa12/0xf10 net/core/dev.c:7297 [] handle_softirqs+0x4b2/0x132e kernel/softirq.c:561 [] __do_softirq kernel/softirq.c:595 [inline] [] invoke_softirq kernel/softirq.c:435 [inline] [] __irq_exit_rcu+0x18c/0x550 kernel/softirq.c:662 [] irq_exit_rcu+0x10/0xf8 kernel/softirq.c:678 [] handle_riscv_irq+0x40/0x4c arch/riscv/kernel/traps.c:378 [] call_on_irq_stack+0x32/0x40 arch/riscv/kernel/entry.S:356