syzbot


INFO: rcu detected stall in sys_getpid (2)

Status: upstream: reported C repro on 2024/11/30 21:19
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+4f1638fef5ef98110679@syzkaller.appspotmail.com
First crash: 287d, last: 23h21m
Bug presence (2)
Date Name Commit Repro Result
2024/11/30 linux-5.15.y (ToT) 0a51d2d4527b syz [report] BUG: workqueue lockup
2024/11/30 upstream (ToT) 0e287d31b62b syz Didn't crash
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 INFO: rcu detected stall in sys_getpid origin:lts-only 1 C 2 3d23h 7d15h 0/2 upstream: reported C repro on 2025/09/06 16:11
linux-5.15 INFO: rcu detected stall in sys_getpid 1 1 444d 444d 0/3 auto-obsoleted due to no activity on 2024/10/04 19:18
linux-6.1 INFO: rcu detected stall in sys_getpid 1 1 141d 141d 0/3 auto-obsoleted due to no activity on 2025/08/03 12:49
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/07/02 13:35 13m retest repro linux-5.15.y report log
2025/04/20 08:25 14m retest repro linux-5.15.y report log
2025/02/09 05:40 18m retest repro linux-5.15.y report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2025/03/04 18:32 1m fix candidate upstream error job log
2025/01/09 09:40 1h38m fix candidate upstream error job log

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
	(detected by 0, t=10502 jiffies, g=7681, q=310)
rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294957797-4294947295), jiffies_till_next_fqs=1, root ->qsmask 0x0
rcu: rcu_preempt kthread starved for 10502 jiffies! g7681 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:27496 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: 4445 Comm: syz.1.33 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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:1690 [inline]
 __hrtimer_run_queues+0x4fe/0xc40 kernel/time/hrtimer.c:1754
 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1816
 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:lock_acquire+0x1f2/0x3f0 kernel/locking/lockdep.c:5627
Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f6 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 66 43 c7 44 3d 09 00 00 43 c6 44 3d 0b
RSP: 0018:ffffc900040dfda0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: d8538ec39eb7c800
RDX: 0000000000000000 RSI: ffffffff8a0b2ac0 RDI: ffffffff8a59a480
RBP: ffffc900040dfec0 R08: dffffc0000000000 R09: fffffbfff1ff7819
R10: fffffbfff1ff7819 R11: 1ffffffff1ff7818 R12: ffffffff8c11c660
R13: 1ffff9200081bfc0 R14: 0000000000000246 R15: dffffc0000000000
 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312
 rcu_read_lock include/linux/rcupdate.h:739 [inline]
 __task_pid_nr_ns+0x21/0x420 kernel/pid.c:497
 task_tgid_vnr include/linux/sched.h:1585 [inline]
 __ia32_sys_getpid+0x19/0x20 kernel/sys.c:945
 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:0x7f24d8865b67
Code: 0b e9 68 fe ff ff 48 83 c4 18 48 8d 3d 32 6d d8 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 23 f8 fb ff 0f 1f 00 b8 27 00 00 00 0f 05 <c3> 0f 1f 84 00 00 00 00 00 b8 6e 00 00 00 0f 05 c3 0f 1f 84 00 00
RSP: 002b:00007f24d7eddb08 EFLAGS: 00000202 ORIG_RAX: 0000000000000027
RAX: ffffffffffffffda RBX: 00007f24d7eddc70 RCX: 00007f24d8865b67
RDX: 00007f24d7eddb40 RSI: 00007f24d7eddc70 RDI: 0000000000000021
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 00007f24d8ab6038 R14: 00007ffdc76e5210 R15: 00007ffdc76e52f8
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/13 08:06 linux-5.15.y 43bb85222e53 e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_getpid
2024/11/30 21:18 linux-5.15.y 0a51d2d4527b 68914665 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: rcu detected stall in sys_getpid
2025/09/12 01:52 linux-5.15.y 43bb85222e53 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_getpid
2025/06/18 09:15 linux-5.15.y 1c700860e8bc e77fae15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_getpid
2025/06/01 05:25 linux-5.15.y 98f47d0e9b8c 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_getpid
2025/05/23 13:31 linux-5.15.y 98f47d0e9b8c fa44301a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: rcu detected stall in sys_getpid
* Struck through repros no longer work on HEAD.