watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [kworker/0:0:8] Modules linked in: irq event stamp: 35724781 hardirqs last enabled at (35724780): [] get_random_u16+0x318/0x618 drivers/char/random.c:552 hardirqs last disabled at (35724781): [] __el1_irq arch/arm64/kernel/entry-common.c:557 [inline] hardirqs last disabled at (35724781): [] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:575 softirqs last enabled at (203642): [] wg_socket_send_skb_to_peer+0x158/0x1a8 drivers/net/wireguard/socket.c:184 softirqs last disabled at (203643): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 CPU: 0 UID: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.13.0-rc2-syzkaller-g2e7aff49b5da #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: wg-crypt-wg0 wg_packet_tx_worker pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : get_random_u16+0x33c/0x618 lr : get_random_u16+0x338/0x618 drivers/char/random.c:552 sp : ffff800080006560 x29: ffff8000800066a0 x28: 0000000000000023 x27: dfff800000000000 x26: ffff700010000cb0 x25: 1ffff00010000ccc x24: 00000000000074e0 x23: 0000000000000023 x22: ffff80008f8dcd60 x21: ffff80008f981168 x20: 00000000000000c0 x19: 0000000000000000 x18: dfff800000000000 x17: 000000009180103e x16: ffff800080460e20 x15: 0000000000000008 x14: 1ffff00011f300ca x13: ffff800080008000 x12: 0000000000000003 x11: 0000000000000503 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c19ddac0 x7 : ffff8000840f4b2c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000002 x1 : 0000000000000080 x0 : 0000000000000000 Call trace: __daif_local_irq_restore arch/arm64/include/asm/irqflags.h:175 [inline] (P) arch_local_irq_restore arch/arm64/include/asm/irqflags.h:195 [inline] (P) get_random_u16+0x33c/0x618 drivers/char/random.c:552 (P) get_random_u16+0x338/0x618 drivers/char/random.c:552 (L) cake_dequeue+0x2184/0x3ad0 net/sched/sch_cake.c:2086 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:3896 [inline] __dev_queue_xmit+0xd58/0x35b4 net/core/dev.c:4400 dev_queue_xmit include/linux/netdevice.h:3168 [inline] neigh_resolve_output+0x558/0x65c net/core/neighbour.c:1514 neigh_output include/net/neighbour.h:539 [inline] ip6_finish_output2+0x16bc/0x214c 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:450 [inline] ip6_local_out+0x120/0x160 net/ipv6/output_core.c:155 ip6_send_skb+0x1a8/0x584 net/ipv6/ip6_output.c:1976 ip6_push_pending_frames+0xd0/0x118 net/ipv6/ip6_output.c:1997 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:1117 udpv6_rcv+0x88/0x9c net/ipv6/udp.c:1215 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:460 [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:5672 [inline] __netif_receive_skb+0x18c/0x3c8 net/core/dev.c:5785 process_backlog+0x640/0x123c net/core/dev.c:6117 __napi_poll+0xb4/0x3fc net/core/dev.c:6883 napi_poll net/core/dev.c:6952 [inline] net_rx_action+0x6a8/0xf4c net/core/dev.c:7074 handle_softirqs+0x320/0xd34 kernel/softirq.c:554 __do_softirq+0x14/0x20 kernel/softirq.c:588 ____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:455 __local_bh_enable_ip+0x288/0x44c kernel/softirq.c:382 __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:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 6466 Comm: kworker/1:4 Not tainted 6.13.0-rc2-syzkaller-g2e7aff49b5da #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: wg-crypt-wg0 wg_packet_tx_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 : ffff80009da87060 x29: ffff80009da87120 x28: 1fffe0001abc801e x27: dfff800000000000 x26: 1ffff00013b50e38 x25: ffff80009da870a0 x24: dfff800000000000 x23: ffff80009da870e0 x22: ffff700013b50e14 x21: 0000000000000001 x20: 1ffff00013b50e1c x19: ffff0000d5e400f0 x18: dfff800000000000 x17: 0000000000000000 x16: ffff800080bedc90 x15: 0000000000000001 x14: 1fffe0001abc801e x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001abc801f x10: 1fffe0001abc801e x9 : 0000000000000000 x8 : 0000000000000001 x7 : ffff8000897e8a18 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008b6aa9c4 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_slowpath+0x168/0xd04 kernel/locking/qspinlock.c:380 (L) 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:3863 [inline] __dev_queue_xmit+0xb30/0x35b4 net/core/dev.c:4400 dev_queue_xmit include/linux/netdevice.h:3168 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0x1688/0x214c 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:450 [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_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:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862