syzbot
BUG: soft lockup in wg_packet_handshake_send_worker
Status:
moderation: reported on 2026/10/22 04:46
Subsystems:
wireguard
Labels:
prio:low
[Documentation on labels]
Reported-by: syzbot+27fd4111ee7a5c84ce5b@syzkaller.appspotmail.com
First crash: 29d, last: 8d14h
Sample crash report:
virtqueue callback for 83f9a180 (80e62b38)
virtqueue interrupt with no work for 83f9a0c0
virtqueue interrupt with no work for 83f9a000
watchdog: BUG: soft lockup - CPU#0 stuck for 368s! [kworker/u8:6:13990]
Modules linked in:
CPU: 0 UID: 0 PID: 13990 Comm: kworker/u8:6 Tainted: G L syzkaller #0 PREEMPT
Tainted: [L]=SOFTLOCKUP
Hardware name: ARM-Versatile Express
Workqueue: wg-kex-wg2 wg_packet_handshake_send_worker
PC is at arch_spin_lock arch/arm/include/asm/spinlock.h:74 [inline]
PC is at do_raw_spin_lock include/linux/spinlock.h:188 [inline]
PC is at __raw_spin_lock include/linux/spinlock_api_smp.h:191 [inline]
PC is at _raw_spin_lock+0x40/0x58 kernel/locking/spinlock.c:173
LR is at __raw_spin_lock include/linux/spinlock_api_smp.h:189 [inline]
LR is at _raw_spin_lock+0x18/0x58 kernel/locking/spinlock.c:173
pc : [<81c1e74c>] lr : [<81c1e724>] psr: 80000013
sp : eb159ad0 ip : eb159ad0 fp : eb159ae4
r10: 00000000 r9 : 00000000 r8 : 878d5000
r7 : 871af000 r6 : 878d5144 r5 : 8855dc00 r4 : 878d50cc
r3 : 00005877 r2 : 00005878 r1 : 00000000 r0 : 00000001
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 30c5387d Table: 873d1bc0 DAC: fffffffd
Call trace:
[<81c1e70c>] (_raw_spin_lock) from [<81709af8>] (spin_lock include/linux/spinlock.h:347 [inline])
[<81c1e70c>] (_raw_spin_lock) from [<81709af8>] (__dev_xmit_skb net/core/dev.c:4445 [inline])
[<81c1e70c>] (_raw_spin_lock) from [<81709af8>] (__dev_queue_xmit+0xb20/0x12d8 net/core/dev.c:5046)
r5:8855dc00 r4:88b103c0
[<81708fd8>] (__dev_queue_xmit) from [<819daa7c>] (dev_queue_xmit include/linux/netdevice.h:3485 [inline])
[<81708fd8>] (__dev_queue_xmit) from [<819daa7c>] (neigh_hh_output include/net/neighbour.h:538 [inline])
[<81708fd8>] (__dev_queue_xmit) from [<819daa7c>] (neigh_output include/net/neighbour.h:552 [inline])
[<81708fd8>] (__dev_queue_xmit) from [<819daa7c>] (ip6_finish_output2+0x384/0x9c0 net/ipv6/ip6_output.c:138)
r10:00000013 r9:873cf100 r8:871d5200 r7:00000010 r6:00000000 r5:88b103c0
r4:0000000e
[<819da6f8>] (ip6_finish_output2) from [<819dc808>] (__ip6_finish_output+0x15c/0x290 net/ipv6/ip6_output.c:210)
r10:00000070 r9:84c1e000 r8:894adc00 r7:00010000 r6:85b14980 r5:870ca000
r4:88b103c0
[<819dc6ac>] (__ip6_finish_output) from [<819dc9d4>] (ip6_finish_output net/ipv6/ip6_output.c:221 [inline])
[<819dc6ac>] (__ip6_finish_output) from [<819dc9d4>] (NF_HOOK_COND include/linux/netfilter.h:314 [inline])
[<819dc6ac>] (__ip6_finish_output) from [<819dc9d4>] (ip6_output+0x84/0x1f4 net/ipv6/ip6_output.c:248)
r10:00000070 r9:84c1e000 r8:894adc00 r7:85b14980 r6:870ca000 r5:00000001
r4:88b103c0
[<819dc950>] (ip6_output) from [<81a69adc>] (dst_output include/net/dst.h:471 [inline])
[<819dc950>] (ip6_output) from [<81a69adc>] (ip6_local_out+0x40/0x44 net/ipv6/output_core.c:128)
r9:000000c4 r8:87530900 r7:85508c80 r6:85b14980 r5:870ca000 r4:88b103c0
[<81a69a9c>] (ip6_local_out) from [<81a6d6f8>] (ip6tunnel_xmit include/net/ip6_tunnel.h:175 [inline])
[<81a69a9c>] (ip6_local_out) from [<81a6d6f8>] (udp_tunnel6_xmit_skb+0x24c/0x634 net/ipv6/ip6_udp_tunnel.c:112)
r7:85508c80 r6:84c1e000 r5:832dea4c r4:87530940
[<81a6d4ac>] (udp_tunnel6_xmit_skb) from [<80e24b34>] (send6+0x144/0x2d8 drivers/net/wireguard/socket.c:151)
r10:886f9f98 r9:85b14980 r8:8912bf00 r7:00000000 r6:886f9f6c r5:84c1e000
r4:88b103c0
[<80e249f0>] (send6) from [<80e24d74>] (wg_socket_send_skb_to_peer+0x5c/0xc8 drivers/net/wireguard/socket.c:177)
r10:87c44a05 r9:eb159e18 r8:00000088 r7:00000094 r6:886f9fa0 r5:88b103c0
r4:886f9f10
[<80e24d18>] (wg_socket_send_skb_to_peer) from [<80e24e6c>] (wg_socket_send_buffer_to_peer+0x8c/0xcc drivers/net/wireguard/socket.c:199)
r8:00000088 r7:886f9f10 r6:00000070 r5:00000094 r4:88b103c0
[<80e24de0>] (wg_socket_send_buffer_to_peer) from [<80e212e8>] (wg_packet_send_handshake_initiation+0xe4/0x138 drivers/net/wireguard/send.c:40)
r9:0000022a r8:95da45b0 r7:83c12a00 r6:886fa0d0 r5:886f9f10 r4:bfe037b0
[<80e21204>] (wg_packet_send_handshake_initiation) from [<80e215b4>] (wg_packet_handshake_send_worker+0x18/0x24 drivers/net/wireguard/send.c:51)
r9:02000000 r8:85508c80 r6:87c44a00 r5:886fa0d8 r4:886f9f10
[<80e2159c>] (wg_packet_handshake_send_worker) from [<80278ba4>] (process_one_work+0x1f8/0x5cc kernel/workqueue.c:3495)
r5:886fa0d8 r4:87a95a80
[<802789ac>] (process_one_work) from [<80279b50>] (process_scheduled_works kernel/workqueue.c:3578 [inline])
[<802789ac>] (process_one_work) from [<80279b50>] (worker_thread+0x16c/0x318 kernel/workqueue.c:3659)
r10:83c12a00 r9:87a95ab0 r8:85508c80 r7:83403d80 r6:83c12a20 r5:83c12a00
r4:87a95a80
[<802799e4>] (worker_thread) from [<80284798>] (kthread+0x11c/0x154 kernel/kthread.c:436)
r10:00000000 r9:ea9a1e88 r8:8a13e300 r7:87a95a80 r6:802799e4 r5:85508c80
r4:89ad7240
[<8028467c>] (kthread) from [<80200114>] (ret_from_fork+0x14/0x20 arch/arm/kernel/entry-common.S:137)
Exception stack(0xeb159fb0 to 0xeb159ff8)
9fa0: 00000000 00000000 00000000 00000000
9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:8028467c r4:89ad7240
Sending NMI from CPU 0 to CPUs 1:
After 10 seconds, these CPUS still haven't responded to the NMI: 1
* Struck through repros no longer work on HEAD.