syzbot


INFO: rcu detected stall in sys_sendto (2)

Status: upstream: reported syz repro on 2024/12/01 03:42
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+fcee7a696d46ee05ca8e@syzkaller.appspotmail.com
First crash: 20d, last: 20d
Bug presence (2)
Date Name Commit Repro Result
2024/12/01 linux-5.15.y (ToT) 0a51d2d4527b C [report] INFO: rcu detected stall in wg_packet_handshake_receive_worker
2024/12/01 upstream (ToT) bcc8eda6d349 C Didn't crash
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_sendto (2) kernel 93 1809d 1809d 0/28 closed as dup on 2020/01/08 06:15
upstream INFO: rcu detected stall in sys_sendto (6) net 1 393d 393d 0/28 closed as invalid on 2024/02/01 10:31
linux-6.1 INFO: rcu detected stall in sys_sendto origin:upstream C error 1 106d 330d 0/3 upstream: reported C repro on 2024/01/26 15:19
linux-5.15 INFO: rcu detected stall in sys_sendto 1 129d 129d 0/3 auto-obsoleted due to no activity on 2024/11/22 09:09
upstream INFO: rcu detected stall in sys_sendto kernel 357 1844d 1845d 0/28 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in sys_sendto (7) net mm C error 185 8m 213d 0/28 upstream: reported C repro on 2024/05/21 18:44
upstream INFO: rcu detected stall in sys_sendto (5) perf 7 1055d 1176d 0/28 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in sys_sendto (4) perf 1 1634d 1634d 0/28 auto-closed as invalid on 2020/09/29 07:17
upstream INFO: rcu detected stall in sys_sendto (3) kernel 1 1712d 1712d 0/28 closed as invalid on 2020/05/21 18:32
android-5-10 BUG: soft lockup in sys_sendto 2 493d 529d 0/2 auto-obsoleted due to no activity on 2023/11/14 13:19
android-5-15 BUG: soft lockup in sys_sendto 1 185d 185d 0/2 auto-obsoleted due to no activity on 2024/09/16 21:53

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...0: (2 GPs behind) idle=683/1/0x4000000000000000 softirq=6722/6726 fqs=5247 
	(detected by 1, t=10502 jiffies, g=6953, q=1562)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4274 Comm: syz-executor Not tainted 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:enqueue_hrtimer+0x112/0x390 kernel/time/hrtimer.c:1087
Code: 00 0f b6 5d 00 89 de 83 e6 10 31 ff e8 57 d1 10 00 83 e3 10 0f 84 ac 00 00 00 e8 e9 ce 10 00 49 8d 6d 08 48 89 e8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 cd 00 00 00 8b 6d 00 bf 20 00 00 00 89
RSP: 0018:ffffc90000007d28 EFLAGS: 00000802
RAX: 1ffff110171c5461 RBX: 0000000000000010 RCX: ffff88802ba18000
RDX: 0000000000010000 RSI: 0000000000000010 RDI: 0000000000000000
RBP: ffff8880b8e2a308 R08: ffffffff816fa4a9 R09: fffffbfff1c14b16
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8880b8e2a300 R14: ffff8880236deb40 R15: 1ffff110171c5460
FS:  000055556e751500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000600 CR3: 000000005ea52000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __run_hrtimer kernel/time/hrtimer.c:1705 [inline]
 __hrtimer_run_queues+0x6b6/0xcf0 kernel/time/hrtimer.c:1752
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
 __sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0x9b/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:__kasan_check_read+0x2/0x10 mm/kasan/shadow.c:31
Code: 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 57 e0 3c 8c eb 0a 48 c7 c7 8f e0 3c 8c 4c 89 fe e8 66 25 73 08 31 db eb d7 cc cc 89 f6 <48> 8b 0c 24 31 d2 e9 63 ef ff ff 0f 1f 00 89 f6 48 8b 0c 24 ba 01
RSP: 0018:ffffc90002f1f410 EFLAGS: 00000246
RAX: ffff8880b8f00000 RBX: dffffc0000000000 RCX: ffffffff8161ea54
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8dc41320
RBP: ffffffff8dc41320 R08: dffffc0000000000 R09: ffffed1005743001
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88813ff90000
R13: ffffffff8dc413b0 R14: ffffffff8dc41370 R15: dffffc0000000000
 instrument_atomic_read include/linux/instrumented.h:71 [inline]
 atomic_long_read include/linux/atomic/atomic-instrumented.h:1183 [inline]
 __mutex_owner kernel/locking/mutex.c:78 [inline]
 mutex_spin_on_owner+0x291/0x370 kernel/locking/mutex.c:352
 mutex_optimistic_spin+0x38/0x300 kernel/locking/mutex.c:469
 __mutex_lock_common+0x1ff/0x25a0 kernel/locking/mutex.c:599
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 nl80211_pre_doit+0x28/0x540 net/wireless/nl80211.c:14964
 genl_family_rcv_msg_doit net/netlink/genetlink.c:726 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
 genl_rcv_msg+0xf6a/0x14a0 net/netlink/genetlink.c:792
 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2504
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
 netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1352
 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1920
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 __sys_sendto+0x564/0x720 net/socket.c:2063
 __do_sys_sendto net/socket.c:2075 [inline]
 __se_sys_sendto net/socket.c:2071 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2071
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f5c8974c6dc
Code: 2a 5a 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5a 02 00 48 8b
RSP: 002b:00007ffd2ab0b140 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f5c8a43e620 RCX: 00007f5c8974c6dc
RDX: 0000000000000024 RSI: 00007f5c8a43e670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffd2ab0b194 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f5c8a43e670 R15: 0000000000000000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/01 03:41 linux-5.15.y 0a51d2d4527b 68914665 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_sendto
* Struck through repros no longer work on HEAD.