watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [kworker/0:5:6499] Modules linked in: irq event stamp: 41291207 hardirqs last enabled at (41291206): [] get_random_u16+0x318/0x618 drivers/char/random.c:552 hardirqs last disabled at (41291207): [] __el1_irq arch/arm64/kernel/entry-common.c:557 [inline] hardirqs last disabled at (41291207): [] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:575 softirqs last enabled at (4839624): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (4839628): [] wg_socket_send_skb_to_peer+0x64/0x1a8 drivers/net/wireguard/socket.c:173 CPU: 0 UID: 0 PID: 6499 Comm: kworker/0:5 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: wg-crypt-wg1 wg_packet_tx_worker pstate: 80400005 (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 : ffff8000a34a6c60 x29: ffff8000a34a6da0 x28: 0000000000000016 x27: dfff800000000000 x26: ffff700014694d90 x25: 1ffff00014694dac x24: 00000000000096d3 x23: 0000000000000016 x22: ffff80008f830e60 x21: ffff80008f8d1120 x20: 00000000000000c0 x19: 0000000000000000 x18: dfff800000000000 x17: 00000000d6aabb07 x16: ffff800080355c58 x15: 0000000000000008 x14: ffff80008f8d05e8 x13: ffff8000a34a8000 x12: 0000000000000003 x11: 0000000000000602 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000cc6abc80 x7 : ffff800083fe8700 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/0x2374 net/sched/sch_generic.c:416 __dev_xmit_skb net/core/dev.c:3894 [inline] __dev_queue_xmit+0xd40/0x3548 net/core/dev.c:4398 dev_queue_xmit include/linux/netdevice.h:3094 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip_finish_output2+0xda4/0x1384 net/ipv4/ip_output.c:236 __ip_finish_output+0x1b0/0x45c ip_finish_output+0x44/0x2e8 net/ipv4/ip_output.c:324 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip_output+0x1a8/0x21c net/ipv4/ip_output.c:434 dst_output include/net/dst.h:450 [inline] ip_local_out+0x120/0x160 net/ipv4/ip_output.c:130 iptunnel_xmit+0x428/0x940 net/ipv4/ip_tunnel_core.c:82 udp_tunnel_xmit_skb+0x1b4/0x2c8 net/ipv4/udp_tunnel_core.c:173 send4+0x758/0xcd4 drivers/net/wireguard/socket.c:85 wg_socket_send_skb_to_peer+0xc8/0x1a8 drivers/net/wireguard/socket.c:175 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+0x7bc/0x1600 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: 27 Comm: kworker/1:1 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #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/0xd00 kernel/locking/qspinlock.c:380 lr : queued_spin_lock_slowpath+0x168/0xd00 kernel/locking/qspinlock.c:380 sp : ffff800097ab70a0 x29: ffff800097ab7140 x28: 1fffe000202a101e x27: 1ffff00012f56e20 x26: dfff800000000000 x25: 1fffe00018371b5a x24: ffff800097ab70c0 x23: ffff800097ab7100 x22: ffff700012f56e18 x21: 0000000000000001 x20: 0000000000000001 x19: ffff0001015080f0 x18: 1fffe000366c8076 x17: ffff80008f8cd000 x16: ffff800080aca118 x15: 0000000000000001 x14: 1fffe000202a101e x13: 0000000000000000 x12: 0000000000000000 x11: ffff6000202a101f x10: 1fffe000202a101e x9 : 0000000000000000 x8 : 0000000000000001 x7 : ffff8000896b5d20 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008b63a244 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/0xd00 kernel/locking/qspinlock.c:380 (P) queued_spin_lock_slowpath+0x168/0xd00 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:3861 [inline] __dev_queue_xmit+0xb18/0x3548 net/core/dev.c:4398 dev_queue_xmit include/linux/netdevice.h:3094 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip6_finish_output2+0x1080/0x20ac net/ipv6/ip6_output.c:141 ip6_finish_output+0x428/0x7a8 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+0x474/0x980 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+0x7bc/0x1600 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