watchdog: BUG: soft lockup - CPU#0 stuck for 24s! [kworker/0:0:8] Modules linked in: irq event stamp: 1617253 hardirqs last enabled at (1617252): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:85 [inline] hardirqs last enabled at (1617252): [] exit_to_kernel_mode+0x38/0x118 arch/arm64/kernel/entry-common.c:95 hardirqs last disabled at (1617253): [] __el1_irq arch/arm64/kernel/entry-common.c:533 [inline] hardirqs last disabled at (1617253): [] el1_interrupt+0x24/0x54 arch/arm64/kernel/entry-common.c:551 softirqs last enabled at (1612306): [] rcu_read_unlock_bh include/linux/rcupdate.h:905 [inline] softirqs last enabled at (1612306): [] mod_peer_timer drivers/net/wireguard/timers.c:38 [inline] softirqs last enabled at (1612306): [] wg_timers_any_authenticated_packet_traversal+0x168/0x264 drivers/net/wireguard/timers.c:215 softirqs last disabled at (1612310): [] wg_socket_send_skb_to_peer+0x5c/0x188 drivers/net/wireguard/socket.c:173 CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.10.0-syzkaller-11185-g2c9b3512402e #0 Hardware name: linux,dummy-virt (DT) Workqueue: wg-crypt-wg1 wg_packet_tx_worker pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : memory_is_poisoned_n mm/kasan/generic.c:130 [inline] pc : memory_is_poisoned mm/kasan/generic.c:161 [inline] pc : check_region_inline mm/kasan/generic.c:180 [inline] pc : kasan_check_range+0x38/0x1a8 mm/kasan/generic.c:189 lr : __kasan_check_read+0x20/0x2c mm/kasan/shadow.c:31 sp : ffff8000899c6f90 x29: ffff8000899c6f90 x28: ffff0000133622a8 x27: ffff000015e600f0 x26: 1fffe00002bcc01f x25: 1fffe00002bcc020 x24: ffff000015e600f8 x23: 0000000000000000 x22: ffff8000899c7130 x21: 1ffff00011338e06 x20: 0000000000000000 x19: ffff000015e600f0 x18: 0000000050dee460 x17: 0000000000000000 x16: 0000000000000000 x15: ffff00000a666480 x14: 1fffe000014ccc8f x13: 1fffe000014cccb7 x12: ffff600002bcc01f x11: 1fffe00002bcc01e x10: ffff600002bcc01e x9 : dfff800000000000 x8 : ffff000015e600f0 x7 : 0000000000000001 x6 : ffff600002bcc01e x5 : ffff000015e600f0 x4 : ffff000000000000 x3 : ffff800085015944 x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000001 Call trace: check_region_inline mm/kasan/generic.c:177 [inline] kasan_check_range+0x38/0x1a8 mm/kasan/generic.c:189 queued_spin_lock_slowpath+0x458/0xc7c kernel/locking/qspinlock.c:380 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x254/0x2ec 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:3845 [inline] __dev_queue_xmit+0x15e0/0x33c8 net/core/dev.c:4389 dev_queue_xmit include/linux/netdevice.h:3105 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip_finish_output2+0xac0/0x215c net/ipv4/ip_output.c:235 __ip_finish_output net/ipv4/ip_output.c:313 [inline] __ip_finish_output+0x2bc/0x4e0 net/ipv4/ip_output.c:295 ip_finish_output+0x34/0x27c net/ipv4/ip_output.c:323 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip_output+0x144/0x400 net/ipv4/ip_output.c:433 dst_output include/net/dst.h:450 [inline] ip_local_out+0x80/0x130 net/ipv4/ip_output.c:129 iptunnel_xmit+0x4e0/0x94c net/ipv4/ip_tunnel_core.c:82 udp_tunnel_xmit_skb+0x200/0x3dc net/ipv4/udp_tunnel_core.c:172 send4+0x398/0xad0 drivers/net/wireguard/socket.c:85 wg_socket_send_skb_to_peer+0x138/0x188 drivers/net/wireguard/socket.c:175 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x128/0x4e8 drivers/net/wireguard/send.c:276 process_one_work+0x7a0/0x1868 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x72c/0xb80 kernel/workqueue.c:3390 kthread+0x27c/0x300 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3207 Comm: kworker/1:3 Not tainted 6.10.0-syzkaller-11185-g2c9b3512402e #0 Hardware name: linux,dummy-virt (DT) Workqueue: wg-crypt-wg1 wg_packet_tx_worker pstate: 10000005 (nzcV daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : get_random_u16+0x328/0x628 drivers/char/random.c:531 lr : get_random_u16+0x488/0x628 drivers/char/random.c:531 sp : ffff80008d4f6e20 x29: ffff80008d4f6e20 x28: 000000000000003c x27: ffff8000871b0ee0 x26: 0000000000000000 x25: ffff8000895f8000 x24: 0000000000000000 x23: 1ffff00011a9edd4 x22: ffff8000895f87c0 x21: ffff800086990650 x20: ffff00006a65a610 x19: ffff00006a65a5e8 x18: 000000009812f307 x17: 00000000f202f2f2 x16: 0000000000000000 x15: ffff00000e93c680 x14: 1fffe00001d278cf x13: 1fffe00001d278f7 x12: 0000000000000028 x11: 0000000000000000 x10: ffff800088243900 x9 : ffff00000e93c790 x8 : 00000000f3000000 x7 : 1fffe00001d278f2 x6 : 00000000f3f3f3f3 x5 : 00000000f2f2f200 x4 : ffff700011a9ed8e x3 : 0000000000000001 x2 : 0000000000000000 x1 : 0000000000000003 x0 : 00000000000000c0 Call trace: __daif_local_irq_restore arch/arm64/include/asm/irqflags.h:175 [inline] arch_local_irq_restore arch/arm64/include/asm/irqflags.h:195 [inline] get_random_u16+0x328/0x628 drivers/char/random.c:531 cake_dequeue+0x1068/0x4060 net/sched/sch_cake.c:2100 dequeue_skb net/sched/sch_generic.c:293 [inline] qdisc_restart net/sched/sch_generic.c:398 [inline] __qdisc_run+0x150/0x1ac0 net/sched/sch_generic.c:416 __dev_xmit_skb net/core/dev.c:3878 [inline] __dev_queue_xmit+0x1bd0/0x33c8 net/core/dev.c:4389 dev_queue_xmit include/linux/netdevice.h:3105 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip6_finish_output2+0xaac/0x1f6c net/ipv6/ip6_output.c:137 __ip6_finish_output net/ipv6/ip6_output.c:211 [inline] ip6_finish_output+0x680/0xba4 net/ipv6/ip6_output.c:222 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0x1b0/0x714 net/ipv6/ip6_output.c:243 dst_output include/net/dst.h:450 [inline] ip6_local_out+0x80/0x130 net/ipv6/output_core.c:155 ip6tunnel_xmit include/net/ip6_tunnel.h:161 [inline] udp_tunnel6_xmit_skb+0x580/0xb3c net/ipv6/ip6_udp_tunnel.c:111 send6+0x3c0/0x960 drivers/net/wireguard/socket.c:152 wg_socket_send_skb_to_peer+0xbc/0x188 drivers/net/wireguard/socket.c:178 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x128/0x4e8 drivers/net/wireguard/send.c:276 process_one_work+0x7a0/0x1868 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x72c/0xb80 kernel/workqueue.c:3390 kthread+0x27c/0x300 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860