syzbot


INFO: rcu detected stall in wg_packet_handshake_send_worker (3)

Status: auto-obsoleted due to no activity on 2023/04/12 00:54
Subsystems: kernel
[Documentation on labels]
First crash: 503d, last: 503d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in wg_packet_handshake_send_worker (4) wireguard 1 294d 294d 0/26 auto-obsoleted due to no activity on 2023/10/15 22:40
upstream INFO: rcu detected stall in wg_packet_handshake_send_worker net 1 1468d 1468d 0/26 auto-closed as invalid on 2020/07/28 10:33
linux-5.15 INFO: rcu detected stall in wg_packet_handshake_send_worker 1 29d 29d 0/3 upstream: reported on 2024/04/07 21:11
upstream INFO: rcu detected stall in wg_packet_handshake_send_worker (5) wireguard 1 157d 157d 0/26 auto-obsoleted due to no activity on 2024/02/29 10:43
upstream INFO: rcu detected stall in wg_packet_handshake_send_worker (2) net 1 1375d 1375d 0/26 auto-closed as invalid on 2020/10/29 22:12
android-5-15 BUG: soft lockup in wg_packet_handshake_send_worker 2 291d 298d 0/2 auto-obsoleted due to no activity on 2023/10/18 09:06
android-5-10 BUG: soft lockup in wg_packet_handshake_send_worker 6 264d 304d 0/2 auto-obsoleted due to no activity on 2023/11/15 02:30

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2667 jiffies s: 206201 root: 0x1/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 26402 Comm: kworker/u4:2 Not tainted 6.1.0-syzkaller-07448-g9054b41c4e1b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: wg-kex-wg0 wg_packet_handshake_send_worker
RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline]
RIP: 0010:lock_release+0x5ca/0x810 kernel/locking/lockdep.c:5679
Code: 2c 2a 9f 7e 48 c7 c0 a0 04 5f 8e 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 ed 01 00 00 48 8b 05 26 af fb 0c <e8> 61 5c 06 00 85 c0 74 17 65 ff 0d f6 29 9f 7e 0f 85 07 fb ff ff
RSP: 0018:ffffc90000007d30 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000003 RCX: ffffffff81635089
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff8e73cb50
RBP: 1ffff92000000fa8 R08: 0000000000000000 R09: ffffffff8e73cb57
R10: fffffbfff1ce796a R11: 0000000000000001 R12: ffff8880b9829658
R13: ffff8880b9829640 R14: 0000000000000000 R15: ffffc90000007ea8
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a527d25430 CR3: 00000000205eb000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:157 [inline]
 _raw_spin_unlock_irq+0x16/0x50 kernel/locking/spinlock.c:202
 expire_timers+0x2b6/0x5c0 kernel/time/timer.c:1750
 __run_timers kernel/time/timer.c:2022 [inline]
 __run_timers kernel/time/timer.c:1995 [inline]
 run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035
 __do_softirq+0x1fb/0xadc kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:fmul+0x212/0x260 arch/x86/crypto/curve25519-x86_64.c:161
Code: 0f 38 f6 d3 f3 4c 0f 38 f6 56 10 c4 e2 a3 f6 46 38 66 4d 0f 38 f6 dd f3 4c 0f 38 f6 5e 18 66 48 0f 38 f6 c1 f3 48 0f 38 f6 c1 <48> 0f af c2 49 01 c0 66 4c 0f 38 f6 c9 4c 89 4f 08 66 4c 0f 38 f6
RSP: 0018:ffffc90016e175e0 EFLAGS: 00000246
RAX: 000000000000000f RBX: 0000000000000021 RCX: 0000000000000000
RDX: 0000000000000026 RSI: ffffc90016e17660 RDI: ffffc90016e17760
RBP: ffffc90016e17760 R08: bbb2643c5045aa8a R09: c1464ad59a2ca96b
R10: 9df94e6992f86c1d R11: 2784f77fce911231 R12: ffffc90016e17918
R13: 0000000000000019 R14: ac36d2d1e26fa0da R15: ffffc90016e17918
 montgomery_ladder.constprop.0+0x385/0x560 arch/x86/crypto/curve25519-x86_64.c:1098
 curve25519_ever64 arch/x86/crypto/curve25519-x86_64.c:1252 [inline]
 curve25519_arch+0x18b/0x230 arch/x86/crypto/curve25519-x86_64.c:1599
 curve25519 include/crypto/curve25519.h:39 [inline]
 mix_dh+0x7d/0x130 drivers/net/wireguard/noise.c:411
 wg_noise_handshake_create_initiation+0x2a1/0x5f0 drivers/net/wireguard/noise.c:550
 wg_packet_send_handshake_initiation+0x182/0x340 drivers/net/wireguard/send.c:34
 wg_packet_handshake_send_worker+0x1c/0x30 drivers/net/wireguard/send.c:51
 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289
 worker_thread+0x669/0x1090 kernel/workqueue.c:2436
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/21 00:07 net-next-old 9054b41c4e1b d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: rcu detected stall in wg_packet_handshake_send_worker
* Struck through repros no longer work on HEAD.