watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [kworker/1:5:6517] Modules linked in: irq event stamp: 125878253 hardirqs last enabled at (125878252): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:85 [inline] hardirqs last enabled at (125878252): [] exit_to_kernel_mode+0xdc/0x10c arch/arm64/kernel/entry-common.c:95 hardirqs last disabled at (125878253): [] __el1_irq arch/arm64/kernel/entry-common.c:557 [inline] hardirqs last disabled at (125878253): [] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:575 softirqs last enabled at (94944562): [] wg_socket_send_skb_to_peer+0x158/0x1a8 drivers/net/wireguard/socket.c:184 softirqs last disabled at (94944563): [] __do_softirq+0x14/0x20 kernel/softirq.c:595 CPU: 1 UID: 0 PID: 6517 Comm: kworker/1:5 Not tainted 6.14.0-rc1-syzkaller-g2014c95afece #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: wg-crypt-wg0 wg_packet_tx_worker pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : preempt_count arch/arm64/include/asm/preempt.h:13 [inline] pc : in_softirq_really kernel/kcov.c:171 [inline] pc : check_kcov_mode kernel/kcov.c:183 [inline] pc : write_comp_data kernel/kcov.c:246 [inline] pc : __sanitizer_cov_trace_cmp4+0x2c/0xa0 kernel/kcov.c:288 lr : cake_dequeue+0x4cc/0x3da0 net/sched/sch_cake.c:2012 sp : ffff8000800167f0 x29: ffff800080016a40 x28: 00000000000198d0 x27: ffff0000d9adc2da x26: dfff800000000000 x25: ffff0000f791982c x24: 0000000000000001 x23: 0000000000000000 x22: 0000000000000001 x21: 0000000000000003 x20: 0000000000000000 x19: ffff0000f791982c x18: ffff800080016de0 x17: 0000000001000000 x16: ffff8000806a0ef4 x15: 0000000000000001 x14: 1ffff00012ef9568 x13: 0000000000000000 x12: ffff0000d9adc2f8 x11: ffff0000d9adc2f0 x10: 0000000000ff0100 x9 : 0000000000000503 x8 : ffff0000cb4b1e80 x7 : ffff8000805927a8 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff8000805927b4 x2 : 0000000000000000 x1 : 00000000fffffffd x0 : 0000000000000000 Call trace: in_softirq_really kernel/kcov.c:171 [inline] (P) check_kcov_mode kernel/kcov.c:183 [inline] (P) write_comp_data kernel/kcov.c:246 [inline] (P) __sanitizer_cov_trace_cmp4+0x2c/0xa0 kernel/kcov.c:288 (P) dequeue_skb net/sched/sch_generic.c:293 [inline] qdisc_restart net/sched/sch_generic.c:398 [inline] __qdisc_run+0x1e0/0x2378 net/sched/sch_generic.c:416 __dev_xmit_skb net/core/dev.c:4043 [inline] __dev_queue_xmit+0xd58/0x35b4 net/core/dev.c:4550 dev_queue_xmit include/linux/netdevice.h:3305 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0x1684/0x2148 net/ipv6/ip6_output.c:141 ip6_finish_output+0x428/0x7c4 net/ipv6/ip6_output.c:226 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0x274/0x598 net/ipv6/ip6_output.c:247 dst_output include/net/dst.h:459 [inline] ip6_local_out+0x120/0x160 net/ipv6/output_core.c:155 ip6_send_skb+0x1a8/0x584 net/ipv6/ip6_output.c:1980 ip6_push_pending_frames+0xd0/0x118 net/ipv6/ip6_output.c:2001 icmpv6_push_pending_frames+0x288/0x3f4 net/ipv6/icmp.c:311 icmp6_send+0x1150/0x1a9c net/ipv6/icmp.c:630 __icmpv6_send include/linux/icmpv6.h:28 [inline] icmpv6_send include/linux/icmpv6.h:49 [inline] __udp6_lib_rcv+0xbb8/0x1358 net/ipv6/udp.c:1167 udpv6_rcv+0x88/0x9c net/ipv6/udp.c:1265 ip6_protocol_deliver_rcu+0x988/0x12a8 net/ipv6/ip6_input.c:436 ip6_input_finish+0x16c/0x2a4 net/ipv6/ip6_input.c:481 NF_HOOK+0x328/0x3d4 include/linux/netfilter.h:314 ip6_input+0x90/0xa8 net/ipv6/ip6_input.c:490 dst_input include/net/dst.h:469 [inline] ip6_rcv_finish+0x1f0/0x21c net/ipv6/ip6_input.c:79 NF_HOOK+0x328/0x3d4 include/linux/netfilter.h:314 ipv6_rcv+0x9c/0xbc net/ipv6/ip6_input.c:309 __netif_receive_skb_one_core net/core/dev.c:5828 [inline] __netif_receive_skb+0x18c/0x3c8 net/core/dev.c:5941 process_backlog+0x640/0x123c net/core/dev.c:6289 __napi_poll+0xb4/0x3fc net/core/dev.c:7106 napi_poll net/core/dev.c:7175 [inline] net_rx_action+0x6a8/0xf4c net/core/dev.c:7297 handle_softirqs+0x320/0xd34 kernel/softirq.c:561 __do_softirq+0x14/0x20 kernel/softirq.c:595 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:891 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:86 do_softirq+0x90/0xf8 kernel/softirq.c:462 __local_bh_enable_ip+0x288/0x44c kernel/softirq.c:389 __raw_read_unlock_bh include/linux/rwlock_api_smp.h:257 [inline] _raw_read_unlock_bh+0x3c/0x4c kernel/locking/spinlock.c:284 wg_socket_send_skb_to_peer+0x158/0x1a8 drivers/net/wireguard/socket.c:184 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x1a8/0x718 drivers/net/wireguard/send.c:276 process_one_work+0x7a8/0x15cc kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3398 kthread+0x65c/0x7b0 kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 6489 Comm: kworker/0:6 Not tainted 6.14.0-rc1-syzkaller-g2014c95afece #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: wg-kex-wg1 wg_packet_handshake_receive_worker pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : queued_spin_lock_slowpath+0x15c/0xd04 kernel/locking/qspinlock.c:380 lr : queued_spin_lock_slowpath+0x168/0xd04 kernel/locking/qspinlock.c:380 sp : ffff8000a14b6ca0 x29: ffff8000a14b6d60 x28: 1fffe0001b35b01e x27: dfff800000000000 x26: 1ffff00014296dc0 x25: ffff8000a14b6ce0 x24: dfff800000000000 x23: ffff8000a14b6d20 x22: ffff700014296d9c x21: 0000000000000001 x20: 1ffff00014296da4 x19: ffff0000d9ad80f0 x18: 00000000cc0718e4 x17: 456364049d6c0453 x16: ffff800080bfa304 x15: 0000000000000001 x14: 1fffe0001b35b01e x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001b35b01f x10: 1fffe0001b35b01e x9 : 0000000000000000 x8 : 0000000000000001 x7 : ffff800089929d94 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008b82a200 x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000001 Call trace: __cmpwait_case_8 arch/arm64/include/asm/cmpxchg.h:229 [inline] (P) __cmpwait arch/arm64/include/asm/cmpxchg.h:257 [inline] (P) queued_spin_lock_slowpath+0x15c/0xd04 kernel/locking/qspinlock.c:380 (P) queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x2ec/0x334 kernel/locking/spinlock_debug.c:116 __raw_spin_lock include/linux/spinlock_api_smp.h:134 [inline] _raw_spin_lock+0x50/0x60 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __dev_xmit_skb net/core/dev.c:4010 [inline] __dev_queue_xmit+0xb30/0x35b4 net/core/dev.c:4550 dev_queue_xmit include/linux/netdevice.h:3305 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0x1684/0x2148 net/ipv6/ip6_output.c:141 ip6_finish_output+0x428/0x7c4 net/ipv6/ip6_output.c:226 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0x274/0x598 net/ipv6/ip6_output.c:247 dst_output include/net/dst.h:459 [inline] ip6_local_out+0x120/0x160 net/ipv6/output_core.c:155 ip6tunnel_xmit include/net/ip6_tunnel.h:161 [inline] udp_tunnel6_xmit_skb+0x4e8/0xa04 net/ipv6/ip6_udp_tunnel.c:111 send6+0x578/0x940 drivers/net/wireguard/socket.c:152 wg_socket_send_skb_to_peer+0xfc/0x1a8 drivers/net/wireguard/socket.c:178 wg_socket_send_buffer_to_peer+0x104/0x168 drivers/net/wireguard/socket.c:200 wg_packet_send_handshake_response+0x164/0x258 drivers/net/wireguard/send.c:103 wg_receive_handshake_packet drivers/net/wireguard/receive.c:154 [inline] wg_packet_handshake_receive_worker+0x53c/0xc60 drivers/net/wireguard/receive.c:213 process_one_work+0x7a8/0x15cc kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3398 kthread+0x65c/0x7b0 kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862