syzbot


INFO: rcu detected stall in sys_sendmmsg (4)

Status: upstream: reported C repro on 2025/10/10 06:08
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+3f46bf226b6ddefd5156@syzkaller.appspotmail.com
First crash: 98d, last: 15d
Bug presence (2)
Date Name Commit Repro Result
2025/12/31 linux-5.15.y (ToT) 68efe5a6c16a C [report] INFO: rcu detected stall in sys_recvmmsg
2025/12/31 upstream (ToT) 9528d5c091c5 C Didn't crash
Similar bugs (18)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_sendmmsg (2) mm 1 2 2236d 2236d 0/29 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in sys_sendmmsg (6) mm 1 3 765d 812d 0/29 auto-obsoleted due to no activity on 2024/03/11 17:33
linux-6.1 INFO: rcu detected stall in sys_sendmmsg 1 2 540d 587d 0/3 auto-obsoleted due to no activity on 2024/11/01 14:13
linux-6.1 INFO: rcu detected stall in sys_sendmmsg (3) 1 1 49d 49d 0/3 upstream: reported on 2025/11/28 13:27
linux-6.1 BUG: soft lockup in sys_sendmmsg 1 2 930d 959d 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 1 1017d 1017d 0/3 auto-obsoleted due to no activity on 2023/08/02 15:37
upstream INFO: rcu detected stall in sys_sendmmsg (3) kernel 1 3 1471d 1570d 0/29 closed as invalid on 2022/02/08 10:00
linux-5.15 INFO: rcu detected stall in sys_sendmmsg (2) 1 1 617d 617d 0/3 auto-obsoleted due to no activity on 2024/08/17 11:17
upstream INFO: rcu detected stall in sys_sendmmsg (5) net 1 3 956d 970d 0/29 auto-obsoleted due to no activity on 2023/09/03 00:09
linux-5.15 INFO: rcu detected stall in sys_sendmmsg (3) 1 16 259d 478d 0/3 auto-obsoleted due to no activity on 2025/08/10 13:38
upstream INFO: rcu detected stall in sys_sendmmsg (7) net 1 101 2d13h 411d 0/29 upstream: reported on 2024/11/30 18:05
linux-6.1 INFO: rcu detected stall in sys_sendmmsg (2) 1 1 238d 238d 0/3 auto-obsoleted due to no activity on 2025/08/31 10:43
upstream INFO: rcu detected stall in sys_sendmmsg net 1 2 2320d 2320d 13/29 fixed on 2019/10/09 10:54
upstream INFO: rcu detected stall in sys_sendmmsg (4) net 1 1 1269d 1269d 0/29 auto-obsoleted due to no activity on 2022/10/25 00:28
android-5-15 BUG: soft lockup in sys_sendmmsg 1 1 600d 600d 0/2 auto-obsoleted due to no activity on 2024/08/24 08:55
android-6-1 BUG: soft lockup in sys_sendmmsg 1 1 812d 812d 0/2 auto-obsoleted due to no activity on 2024/01/25 01:21
android-5-10 BUG: soft lockup in sys_sendmmsg 1 2 515d 515d 0/2 auto-obsoleted due to no activity on 2024/11/17 00:13
android-5-10 BUG: soft lockup in sys_sendmmsg (2) 1 syz 19 11d 388d 0/2 premoderation: reported syz repro on 2024/12/23 13:44

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
	(detected by 0, t=10502 jiffies, g=8293, q=167)
rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294961065-4294950563), jiffies_till_next_fqs=1, root ->qsmask 0x0
rcu: rcu_preempt kthread starved for 10502 jiffies! g8293 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:R  running task     stack:27528 pid:   15 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11bb/0x4390 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1914
 rcu_gp_fqs_loop+0x29e/0x11b0 kernel/rcu/tree.c:1972
 rcu_gp_kthread+0x98/0x350 kernel/rcu/tree.c:2145
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
NMI backtrace for cpu 0
CPU: 0 PID: 4420 Comm: syz.3.24 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
 <IRQ>
 dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
 rcu_check_gp_kthread_starvation+0x1cd/0x250 kernel/rcu/tree_stall.h:487
 print_other_cpu_stall+0x10c8/0x1220 kernel/rcu/tree_stall.h:592
 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline]
 rcu_pending kernel/rcu/tree.c:3936 [inline]
 rcu_sched_clock_irq+0x831/0x1110 kernel/rcu/tree.c:2619
 update_process_times+0x193/0x200 kernel/time/timer.c:1818
 tick_sched_handle kernel/time/tick-sched.c:254 [inline]
 tick_sched_timer+0x37d/0x560 kernel/time/tick-sched.c:1473
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4fe/0xc40 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
 __sysvec_apic_timer_interrupt+0x137/0x4a0 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+0x134/0x280 kernel/sched/core.c:4804
Code: be ff ff ff ff e8 ec 75 4e 08 85 c0 74 4a 4d 85 ff 75 66 0f 1f 44 00 00 48 89 df e8 96 da 57 08 e8 11 76 2a 00 fb 48 83 c4 08 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 48 89 df e8 d9 0f fe ff 43 80 3c
RSP: 0018:ffffc9000390f2c8 EFLAGS: 00000282
RAX: 17a0722c3e27c600 RBX: ffff8880b903a340 RCX: 17a0722c3e27c600
RDX: dffffc0000000000 RSI: ffffffff8a0b1be0 RDI: ffffffff8a59e800
RBP: 1ffff11017207613 R08: dffffc0000000000 R09: ffffed1017207469
R10: ffffed1017207469 R11: 1ffff11017207468 R12: 0000000000000000
R13: dffffc0000000000 R14: ffffffff815805e0 R15: 0000000000000000
 finish_task_switch+0x12f/0x640 kernel/sched/core.c:4921
 context_switch kernel/sched/core.c:5052 [inline]
 __schedule+0x11c3/0x4390 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 schedule_timeout+0x97/0x280 kernel/time/timer.c:1890
 unix_wait_for_peer+0x1e5/0x2e0 net/unix/af_unix.c:1315
 unix_dgram_sendmsg+0x106f/0x1890 net/unix/af_unix.c:1910
 sock_sendmsg_nosec net/socket.c:706 [inline]
 __sock_sendmsg net/socket.c:718 [inline]
 ____sys_sendmsg+0x5a2/0x8c0 net/socket.c:2446
 ___sys_sendmsg+0x1f0/0x260 net/socket.c:2500
 __sys_sendmmsg+0x27c/0x4a0 net/socket.c:2586
 __do_sys_sendmmsg net/socket.c:2615 [inline]
 __se_sys_sendmmsg net/socket.c:2612 [inline]
 __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2612
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fcbfc3aa749
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:00007fcbfba19038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007fcbfc600fa0 RCX: 00007fcbfc3aa749
RDX: 0000000004000097 RSI: 00002000000bd000 RDI: 0000000000000004
RBP: 00007fcbfc42ef91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcbfc601038 R14: 00007fcbfc600fa0 R15: 00007fff48bd1c88
 </TASK>

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/31 18:26 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_sendmmsg
2025/11/24 19:59 linux-5.15.y cc5ec8769306 bf6fe8fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_sendmmsg
2025/11/21 04:39 linux-5.15.y cc5ec8769306 2cc4c24a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_sendmmsg
2025/11/04 21:20 linux-5.15.y cc5ec8769306 686bf657 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_sendmmsg
2025/10/21 11:07 linux-5.15.y ac56c046adf4 9832ed61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_sendmmsg
2025/10/13 19:16 linux-5.15.y 29e53a5b1c4f b6605ba8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_sendmmsg
2025/10/10 06:08 linux-5.15.y 29e53a5b1c4f ff1712fe .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.