syzbot


INFO: rcu detected stall in wg_packet_handshake_send_worker (5)

Status: auto-obsoleted due to no activity on 2024/02/29 10:43
Subsystems: wireguard
[Documentation on labels]
First crash: 158d, last: 158d
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 1469d 1469d 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 30d 30d 0/3 upstream: reported on 2024/04/07 21:11
upstream INFO: rcu detected stall in wg_packet_handshake_send_worker (3) kernel 1 503d 503d 0/26 auto-obsoleted due to no activity on 2023/04/12 00:54
upstream INFO: rcu detected stall in wg_packet_handshake_send_worker (2) net 1 1376d 1376d 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 292d 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: { 1-...D } 2635 jiffies s: 95233 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 15145 Comm: kworker/u4:50 Not tainted 6.7.0-rc3-syzkaller-00106-g6172a5180fcc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Workqueue: wg-kex-wg2 wg_packet_handshake_send_worker
RIP: 0010:_raw_spin_lock_irqsave+0x5/0x50 kernel/locking/spinlock.c:161
Code: 7b 18 31 d2 31 f6 e8 6a d8 e4 f6 48 89 df 58 5b e9 b0 3c e5 f6 e8 9b 00 0b f7 eb c9 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 55 <53> 48 89 fb 9c 5d fa f7 c5 00 02 00 00 75 35 bf 01 00 00 00 e8 92
RSP: 0018:ffffc900001f0d30 EFLAGS: 00000006
RAX: ffffffff92a1e128 RBX: dffffc0000000000 RCX: ffffffff92a1e130
RDX: 0000000000000001 RSI: 61c8864680b583eb RDI: ffffffff92a1e130
RBP: ffffc900001f0e30 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000003 R12: 00000000000cfb88
R13: 1ffff9200003e1ac R14: ffffffff8acf3860 R15: ffff88808299f340
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001200 CR3: 000000000cd77000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 debug_object_deactivate lib/debugobjects.c:783 [inline]
 debug_object_deactivate+0x113/0x320 lib/debugobjects.c:771
 debug_hrtimer_deactivate kernel/time/hrtimer.c:427 [inline]
 debug_deactivate kernel/time/hrtimer.c:483 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1656 [inline]
 __hrtimer_run_queues+0x470/0xc20 kernel/time/hrtimer.c:1752
 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline]
 __sysvec_apic_timer_interrupt+0x105/0x400 arch/x86/kernel/apic/apic.c:1082
 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:get_current arch/x86/include/asm/current.h:41 [inline]
RIP: 0010:read_mems_allowed_begin include/linux/cpuset.h:146 [inline]
RIP: 0010:get_any_partial mm/slub.c:2366 [inline]
RIP: 0010:get_partial mm/slub.c:2408 [inline]
RIP: 0010:___slab_alloc+0xec2/0x1500 mm/slub.c:3218
Code: 00 00 00 b9 02 00 00 00 31 f6 48 89 df e8 c6 62 8a ff 48 8b 75 08 48 89 df e8 ca 53 8a ff 9c 58 f6 c4 02 5a 0f 85 db 02 00 00 <65> 48 8b 04 25 c0 bc 03 00 44 8b b0 e8 12 00 00 41 f6 c6 01 74 0f
RSP: 0018:ffffc9000d77f8d0 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffff888091caec30 RCX: 1ffffffff23ef66e
RDX: 0000000000000000 RSI: ffffffff8accb7e0 RDI: ffffffff8b2f0e80
RBP: ffffc9000d77f9c0 R08: 0000000000000001 R09: fffffbfff23e35ed
R10: ffffffff81ddbf26 R11: 0000000000000001 R12: 0000000000000002
R13: ffff88814165b640 R14: 0000000000000000 R15: ffff888091cad940
 __slab_alloc.constprop.0+0x56/0xa0 mm/slub.c:3322
 __slab_alloc_node mm/slub.c:3375 [inline]
 slab_alloc_node mm/slub.c:3468 [inline]
 kmem_cache_alloc_node+0x132/0x330 mm/slub.c:3523
 __alloc_skb+0x287/0x330 net/core/skbuff.c:641
 alloc_skb include/linux/skbuff.h:1286 [inline]
 wg_socket_send_buffer_to_peer+0x37/0x190 drivers/net/wireguard/socket.c:192
 wg_packet_send_handshake_initiation+0x223/0x350 drivers/net/wireguard/send.c:40
 wg_packet_handshake_send_worker+0x1c/0x30 drivers/net/wireguard/send.c:51
 process_one_work+0x886/0x15d0 kernel/workqueue.c:2630
 process_scheduled_works kernel/workqueue.c:2703 [inline]
 worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784
 kthread+0x2c6/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/01 10:39 net 6172a5180fcc f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: rcu detected stall in wg_packet_handshake_send_worker
* Struck through repros no longer work on HEAD.