syzbot


INFO: rcu detected stall in sys_sendmmsg (3)

Status: upstream: reported on 2024/09/24 23:49
Reported-by: syzbot+e8871fffda61739f0615@syzkaller.appspotmail.com
First crash: 71d, last: 2d20h
Similar bugs (14)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_sendmmsg (2) kernel 2 1829d 1829d 0/28 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in sys_sendmmsg (6) mm net 3 358d 405d 0/28 auto-obsoleted due to no activity on 2024/03/11 17:33
linux-6.1 INFO: rcu detected stall in sys_sendmmsg 2 133d 180d 0/3 auto-obsoleted due to no activity on 2024/11/01 14:13
linux-6.1 BUG: soft lockup in sys_sendmmsg 2 523d 552d 0/3 auto-obsoleted due to no activity on 2023/10/08 22:57
linux-5.15 INFO: rcu detected stall in sys_sendmmsg 1 610d 610d 0/3 auto-obsoleted due to no activity on 2023/08/02 15:37
upstream INFO: rcu detected stall in sys_sendmmsg (3) kernel 3 1064d 1163d 0/28 closed as invalid on 2022/02/08 10:00
linux-5.15 INFO: rcu detected stall in sys_sendmmsg (2) 1 210d 210d 0/3 auto-obsoleted due to no activity on 2024/08/17 11:17
upstream INFO: rcu detected stall in sys_sendmmsg (5) net 3 549d 563d 0/28 auto-obsoleted due to no activity on 2023/09/03 00:09
upstream INFO: rcu detected stall in sys_sendmmsg (7) bpf netfilter 36 4h42m 4d19h 0/28 upstream: reported on 2024/11/30 18:05
upstream INFO: rcu detected stall in sys_sendmmsg net 2 1913d 1913d 13/28 fixed on 2019/10/09 10:54
upstream INFO: rcu detected stall in sys_sendmmsg (4) net 1 862d 862d 0/28 auto-obsoleted due to no activity on 2022/10/25 00:28
android-5-15 BUG: soft lockup in sys_sendmmsg 1 193d 193d 0/2 auto-obsoleted due to no activity on 2024/08/24 08:55
android-6-1 BUG: soft lockup in sys_sendmmsg 1 405d 405d 0/2 auto-obsoleted due to no activity on 2024/01/25 01:21
android-5-10 BUG: soft lockup in sys_sendmmsg 2 108d 108d 0/2 auto-obsoleted due to no activity on 2024/11/17 00:13

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...0: (1 GPs behind) idle=6dd/1/0x4000000000000000 softirq=57383/57387 fqs=5244 
	(detected by 1, t=10502 jiffies, g=72037, q=1436)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 18439 Comm: syz.6.3044 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+0x1a3/0x390 kernel/time/hrtimer.c:1092
Code: 89 f8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 9a 00 00 00 41 c6 46 38 01 49 83 c5 50 4c 89 ef 4c 89 f6 e8 40 d7 c8 02 0f b6 c0 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 e8 3d ce 10 00 0f 0b e9 4d ff ff
RSP: 0018:ffffc90000007d28 EFLAGS: 00000086
RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffff888018fcd940
RDX: 0000000000010000 RSI: ffff8880b8e2a350 RDI: ffff888025536340
RBP: ffff8880b8e2a244 R08: dffffc0000000000 R09: ffff888025536348
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8880b8e2a350 R14: ffff888025536340 R15: 1ffff110171c5460
FS:  00007f08ffe946c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c33eb64 CR3: 0000000066635000 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:finish_lock_switch+0x91/0x100 kernel/sched/core.c:4782
Code: 45 31 c9 68 f7 aa 59 81 e8 9c 11 09 00 48 83 c4 08 4c 89 ff e8 50 db fe ff 66 90 4c 89 ff e8 06 91 ee 08 e8 c1 46 2d 00 fb 5b <41> 5c 41 5d 41 5e 41 5f c3 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 87
RSP: 0018:ffffc9000414f298 EFLAGS: 00000286
RAX: ac1189556522cf00 RBX: ffff888022aed974 RCX: ffffffff96a8ef03
RDX: dffffc0000000000 RSI: ffffffff8aab2a80 RDI: ffffffff8af9ed00
RBP: ffffc9000414f310 R08: ffffffff8186f220 R09: ffffed10171c7461
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff110171c760b R14: ffff8880b8e3b058 R15: ffff8880b8e3a300
 finish_task_switch+0x134/0x630 kernel/sched/core.c:4899
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x12cc/0x45b0 kernel/sched/core.c:6373
 schedule+0x11b/0x1f0 kernel/sched/core.c:6456
 schedule_timeout+0xac/0x300 kernel/time/timer.c:1890
 unix_wait_for_peer+0x24b/0x330 net/unix/af_unix.c:1304
 unix_dgram_sendmsg+0x1441/0x2090 net/unix/af_unix.c:1899
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2436
 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2490
 __sys_sendmmsg+0x2bf/0x560 net/socket.c:2576
 __do_sys_sendmmsg net/socket.c:2605 [inline]
 __se_sys_sendmmsg net/socket.c:2602 [inline]
 __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2602
 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:0x7f090201df19
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f08ffe94058 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f09021e3fa0 RCX: 00007f090201df19
RDX: 0000000000000651 RSI: 0000000020000000 RDI: 0000000000000007
RBP: 00007f0902091986 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f09021e3fa0 R15: 00007ffd63ed0ff8
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/02 17:01 linux-5.15.y 0a51d2d4527b b499ea68 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_sendmmsg
2024/09/24 23:49 linux-5.15.y 3a5928702e71 5643e0e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_sendmmsg
* Struck through repros no longer work on HEAD.