INFO: rcu detected stall in wg_packet_encrypt_worker

Status: upstream: reported on 2026/11/30 00:29
Reported-by: syzbot+4fcf69a670067cf4e2c0@syzkaller.appspotmail.com
First crash: 23h09m, last: 23h09m
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in wg_packet_encrypt_worker wireguard 1 1 918d 918d 0/30 auto-obsoleted due to no activity on 2024/08/24 09:39

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-....: (4 ticks this GP) idle=605/1/0x4000000000000002 softirq=8595/8596 fqs=5248 
	(detected by 1, t=10502 jiffies, g=10061, q=1069)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4772 Comm: kworker/0:26 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: wg-crypt-wg0 wg_packet_encrypt_worker
RIP: 0010:unwind_next_frame+0xb3b/0x1cf0 arch/x86/kernel/unwind_orc.c:-1
Code: e9 4d 01 00 00 80 3d 46 4d 24 0d 00 0f 85 42 09 00 00 c6 05 39 4d 24 0d 01 48 c7 c7 20 9c 28 8a be 03 00 00 00 e9 e7 06 00 00 <4c> 89 7c 24 08 48 8d 7b 08 48 89 f8 48 c1 e8 03 80 3c 28 00 74 05
RSP: 0018:ffffc90000007108 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffffc90000007200 RCX: ffffffff8ee05f78
RDX: ffffc90000007a58 RSI: ffffffff8ee05f54 RDI: 0000000000000001
RBP: dffffc0000000000 R08: 0000000000000028 R09: ffffc90000007250
R10: dffffc0000000000 R11: fffff52000000e4c R12: 1ffffffff1efddf1
R13: 1ffffffff1efddf1 R14: ffffffff8f7eef89 R15: ffffffff8f7eef88
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa4ae7dc18b CR3: 000000000ce8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 perf_callchain_kernel+0x470/0x760 arch/x86/events/core.c:2783
 get_perf_callchain+0x356/0x460 kernel/events/callchain.c:200
 perf_callchain kernel/events/core.c:7627 [inline]
 perf_prepare_sample+0x352/0x1cb0 kernel/events/core.c:7654
 __perf_event_output kernel/events/core.c:7823 [inline]
 perf_event_output_forward+0x185/0x2e0 kernel/events/core.c:7843
 __perf_event_overflow+0x35f/0x550 kernel/events/core.c:9536
 perf_tp_event+0x324/0xbe0 kernel/events/core.c:10068
 perf_trace_run_bpf_submit+0xf3/0x1c0 kernel/events/core.c:10042
 perf_trace_preemptirq_template+0x2aa/0x360 include/trace/events/preemptirq.h:14
 trace_irq_enable_rcuidle+0x108/0x180 include/trace/events/preemptirq.h:40
 trace_hardirqs_on+0x57/0x80 kernel/trace/trace_preemptirq.c:44
 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:713
RIP: 0010:rcu_read_unlock_special+0x7f/0x4a0 kernel/rcu/tree_plugin.h:674
Code: eb 03 48 b8 f1 f1 f1 f1 f8 f2 f2 f2 4a 89 04 2b 42 c7 44 2b 08 f8 f3 f3 f3 65 44 8b 35 82 d0 9c 7e 41 f7 c6 00 00 f0 00 74 40 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 2b 00 00 00 00 42 c7 44 2b 08
RSP: 0018:ffffc90000007b00 EFLAGS: 00000206
RAX: 96ccdde6bc3bdb00 RBX: 1ffff92000000f64 RCX: 96ccdde6bc3bdb00
RDX: dffffc0000000000 RSI: ffffffff8a2b3160 RDI: ffffffff8a7a6b80
RBP: ffffc90000007bd8 R08: ffffffff910501cf R09: 1ffffffff220a039
R10: dffffc0000000000 R11: fffffbfff220a03a R12: ffffffff8d123700
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:772 [inline]
 ieee80211_iterate_active_interfaces_atomic+0x132/0x140 net/mac80211/util.c:831
 mac80211_hwsim_beacon+0x9b/0x180 drivers/net/wireless/mac80211_hwsim.c:1865
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4ea/0xb60 kernel/time/hrtimer.c:1749
 hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1766
 handle_softirqs+0x336/0x830 kernel/softirq.c:576
 __do_softirq kernel/softirq.c:610 [inline]
 invoke_softirq kernel/softirq.c:450 [inline]
 __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline]
RIP: 0010:__local_bh_enable_ip+0x13e/0x1c0 kernel/softirq.c:408
Code: 8a e8 e6 4d 82 08 65 66 8b 05 0e 3e ba 7e 66 85 c0 75 54 bf 01 00 00 00 e8 3f 27 09 00 e8 da 2e 36 00 fb 65 8b 05 ba 14 b9 7e <85> c0 75 05 e8 f9 21 b7 ff 48 c7 04 24 0e 36 e0 45 4b c7 04 37 00
RSP: 0018:ffffc9000419f660 EFLAGS: 00000286
RAX: 0000000080000000 RBX: 0000000000000201 RCX: 96ccdde6bc3bdb00
RDX: dffffc0000000000 RSI: ffffffff8a2b3160 RDI: ffffffff8a7a6b80
RBP: ffffc9000419f6f0 R08: ffffffff910501cf R09: 1ffffffff220a039
R10: dffffc0000000000 R11: fffffbfff220a03a R12: ffffffff85421c32
R13: 000000000000000f R14: dffffc0000000000 R15: 1ffff92000833ecc
 spin_unlock_bh include/linux/spinlock.h:409 [inline]
 ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline]
 wg_packet_encrypt_worker+0x2d2/0x1550 drivers/net/wireguard/send.c:293
 process_one_work+0x867/0xff0 kernel/workqueue.c:2310
 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
 kthread+0x42e/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/30 00:28 linux-5.15.y 4f2df9a01754 e1f06033 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in wg_packet_encrypt_worker
* Struck through repros no longer work on HEAD.