BUG: soft lockup in wg_packet_decrypt_worker

Status: upstream: reported on 2026/04/27 09:11
Subsystems: wireguard
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+27a6e390f71f14f4fecf@syzkaller.appspotmail.com
First crash: 218d, last: 17h02m
▶ ▼ ✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision
2b3db82c repro-c 💥 BUG: soft lockup in wg_packet_decrypt_worker 2026/08/09 13:07 2026/08/09 13:20 2026/08/09 15:10 5d63f80b
ea281bb5 assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ✅ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ BUG: soft lockup in wg_packet_decrypt_worker 2026/05/22 22:47 2026/05/22 22:47 2026/05/22 23:13 df8ac09c
▶ ▼ Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly wireguard report (Sep 2026) 0 (1) 2026/09/21 12:33
[syzbot] [wireguard?] BUG: soft lockup in wg_packet_decrypt_worker 0 (1) 2026/04/27 09:11

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [kworker/0:4:3574]
Modules linked in:
irq event stamp: 60288
hardirqs last  enabled at (60287): [<ffff800084aebe0c>] __napi_schedule+0xe4/0x158 net/core/dev.c:6967
hardirqs last disabled at (60288): [<ffff800085a98350>] __el1_irq arch/arm64/kernel/entry-common.c:566 [inline]
hardirqs last disabled at (60288): [<ffff800085a98350>] el1_interrupt+0x28/0x60 arch/arm64/kernel/entry-common.c:582
softirqs last  enabled at (60284): [<ffff800080089558>] get_cpu_fpsimd_context arch/arm64/kernel/fpsimd.c:238 [inline]
softirqs last  enabled at (60284): [<ffff800080089558>] get_cpu_fpsimd_context arch/arm64/kernel/fpsimd.c:221 [inline]
softirqs last  enabled at (60284): [<ffff800080089558>] kernel_neon_begin+0x2f0/0x398 arch/arm64/kernel/fpsimd.c:1883
softirqs last disabled at (60282): [<ffff800080089548>] __lse_atomic64_or arch/arm64/include/asm/atomic_lse.h:132 [inline]
softirqs last disabled at (60282): [<ffff800080089548>] arch_atomic64_or arch/arm64/include/asm/atomic.h:65 [inline]
softirqs last disabled at (60282): [<ffff800080089548>] raw_atomic64_or include/linux/atomic/atomic-arch-fallback.h:3798 [inline]
softirqs last disabled at (60282): [<ffff800080089548>] raw_atomic_long_or include/linux/atomic/atomic-long.h:1069 [inline]
softirqs last disabled at (60282): [<ffff800080089548>] arch_set_bit include/asm-generic/bitops/atomic.h:18 [inline]
softirqs last disabled at (60282): [<ffff800080089548>] set_bit include/asm-generic/bitops/instrumented-atomic.h:29 [inline]
softirqs last disabled at (60282): [<ffff800080089548>] set_ti_thread_flag include/linux/thread_info.h:104 [inline]
softirqs last disabled at (60282): [<ffff800080089548>] kernel_neon_begin+0x2e0/0x398 arch/arm64/kernel/fpsimd.c:1917
CPU: 0 UID: 0 PID: 3574 Comm: kworker/0:4 Not tainted syzkaller #0 PREEMPT 
Hardware name: linux,dummy-virt (DT)
Workqueue: wg-crypt-wg2 wg_packet_decrypt_worker
pstate: 10000005 (nzcV daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __napi_schedule+0x7c/0x158 net/core/dev.c:6968
lr : __napi_schedule+0xe4/0x158 net/core/dev.c:6967
sp : ffff8000a2a77a50
x29: ffff8000a2a77a50 x28: ffff0000199bc558 x27: ffff0000167e11c0
x26: ffff600002cfc239 x25: 1fffe00002cfc238 x24: ffff00001911ba38
x23: 0000000000000000 x22: 0000000000000000 x21: ffff0000199bcc90
x20: ffff80008841a990 x19: ffff8000883cd040 x18: 0000000000000000
x17: 0000000000000000 x16: 0000000000000003 x15: ffff80008841a998
x14: 1ffff00011083533 x13: ffff7fffe1a29000 x12: ffff6000031eec3d
x11: 1fffe000031eec3c x10: ffff6000031eec3c x9 : dfff800000000000
x8 : ffff8000a2a778f0 x7 : ffff8000a2a77a60 x6 : ffff8000a2a77a10
x5 : ffff8000a2a77950 x4 : 0000000000000002 x3 : 1fffe00002c6d001
x2 : 0000000000000000 x1 : 000000000000eb7f x0 : 00000000000000c0
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)
 __napi_schedule+0x7c/0x158 net/core/dev.c:6967 (P)
 napi_schedule include/linux/netdevice.h:573 [inline]
 wg_queue_enqueue_per_peer_rx drivers/net/wireguard/queueing.h:198 [inline]
 wg_packet_decrypt_worker+0x270/0x3a4 drivers/net/wireguard/receive.c:503
 process_one_work+0x844/0x1970 kernel/workqueue.c:3497
 process_scheduled_works kernel/workqueue.c:3580 [inline]
 worker_thread+0x42c/0xc90 kernel/workqueue.c:3661
 kthread+0x2ec/0x384 kernel/kthread.c:436
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 3411 Comm: syz-executor Not tainted syzkaller #0 PREEMPT 
Hardware name: linux,dummy-virt (DT)
pstate: 10000005 (nzcV daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : arch_local_irq_restore arch/arm64/include/asm/irqflags.h:197 [inline]
pc : lock_acquire kernel/locking/lockdep.c:5946 [inline]
pc : lock_acquire+0x2e8/0x3fc kernel/locking/lockdep.c:5899
lr : lockdep_recursion_finish kernel/locking/lockdep.c:470 [inline]
lr : lock_acquire kernel/locking/lockdep.c:5945 [inline]
lr : lock_acquire+0x2c4/0x3fc kernel/locking/lockdep.c:5899
sp : ffff8000a26c75a0
x29: ffff8000a26c7600 x28: ffff000015798000 x27: 0000000000000000
x26: 0000000000000000 x25: 0000000000000000 x24: ffff800084a5c180
x23: 0000000000000001 x22: 0000000000000000 x21: 0000000000000000
x20: ffff00002130d1e0 x19: ffff8000883b5348 x18: 00000000f2040000
x17: 00000000f3f3f3f3 x16: 00000000f3000000 x15: 0000ffffc6253e6c
x14: dfff800000000000 x13: 0000000000000000 x12: 0000000000000000
x11: ffff8000883b4ef4 x10: 0000000000000000 x9 : 000000000000058a
x8 : ffff8000a26c75a0 x7 : 0000000043000000 x6 : 8f5c28f5c28f5c29
x5 : 0000000000000000 x4 : d24ee0f1bd786c9b x3 : 1fffe00002af3001
x2 : 0000000000000000 x1 : ffff7fffe1a29000 x0 : 00000000000000c0
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)
 lock_acquire kernel/locking/lockdep.c:5946 [inline] (P)
 lock_acquire+0x2e8/0x3fc kernel/locking/lockdep.c:5899 (P)
 lock_sock_nested+0x38/0xe8 net/core/sock.c:3909
 lock_sock include/net/sock.h:1717 [inline]
 sockopt_lock_sock net/core/sock.c:1155 [inline]
 sockopt_lock_sock+0x58/0x78 net/core/sock.c:1146
 do_ip_getsockopt+0x23c/0x152c net/ipv4/ip_sockglue.c:1703
 ip_getsockopt+0x90/0x294 net/ipv4/ip_sockglue.c:1773
 tcp_getsockopt+0x7c/0xd0 net/ipv4/tcp.c:4887
 sock_common_getsockopt+0x70/0xd4 net/core/sock.c:4099
 do_sock_getsockopt+0x2d8/0x620 net/socket.c:2505
 __sys_getsockopt+0xc8/0x160 net/socket.c:2536
 __do_sys_getsockopt net/socket.c:2543 [inline]
 __se_sys_getsockopt net/socket.c:2540 [inline]
 __arm64_sys_getsockopt+0xa8/0x104 net/socket.c:2540
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x74/0x240 arch/arm64/kernel/syscall.c:49
 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:121
 do_el0_svc+0x40/0x58 arch/arm64/kernel/syscall.c:140
 el0_svc+0x58/0x21c arch/arm64/kernel/entry-common.c:797
 el0t_64_sync_handler+0xa0/0xe4 arch/arm64/kernel/entry-common.c:816
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/30 20:45 https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux master fe6ff8d5d675 f1f6b8bf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 BUG: soft lockup in wg_packet_decrypt_worker
2026/09/21 10:05 https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux master 73ae59e97596 853b104b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat BUG: soft lockup in wg_packet_decrypt_worker
2026/04/26 14:26 https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux master 897d54018cc9 9c2d0995 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat BUG: soft lockup in wg_packet_decrypt_worker
2026/07/09 00:24 linux-next b9810cd75b9f b9f1ceaa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in wg_packet_decrypt_worker
* Struck through repros no longer work on HEAD.