INFO: rcu detected stall in schedule_timeout

Status: upstream: reported C repro on 2024/05/22 14:45
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+7cb65445f1326f641b08@syzkaller.appspotmail.com
First crash: 857d, last: 8d12h
Fix bisection: the issue occurs on the latest tested release (bisect log)
  
▶ ▼ Bug presence (1)
Date Name Commit Repro Result
2024/05/23 upstream (ToT) c760b3725e52 C [report] INFO: rcu detected stall in schedule_timeout
▶ ▼ Similar bugs (10)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in schedule_timeout (3) cgroups mm 1 11 2453d 2454d 0/29 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in schedule_timeout (7) prio:low kernel 1 syz, C error error 56 14h37m 687d 0/29 upstream: reported C repro on 2024/11/09 08:24
linux-6.1 INFO: rcu detected stall in schedule_timeout (2) origin:lts-only 1 syz, C inconclusive 8 9d11h 389d 0/3 upstream: reported C repro on 2025/09/02 23:57
upstream INFO: rcu detected stall in schedule_timeout (2) kernel 1 2 2454d 2454d 0/29 closed as invalid on 2020/01/08 05:23
upstream INFO: rcu detected stall in schedule_timeout (4) kernel 1 1 1159d 1159d 0/29 closed as invalid on 2023/09/01 06:44
linux-6.1 INFO: rcu detected stall in schedule_timeout 1 28 827d 892d 0/3 auto-obsoleted due to no activity on 2024/08/31 04:44
upstream INFO: rcu detected stall in schedule_timeout (5) kernel 1 2 1064d 1099d 0/29 auto-obsoleted due to no activity on 2024/01/26 16:31
upstream INFO: rcu detected stall in schedule_timeout cgroups mm 1 69 2488d 2490d 0/29 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in schedule_timeout (6) usb 1 syz, C done 40 706d 863d 28/29 fixed on 2024/10/22 11:57
linux-6.6 INFO: rcu detected stall in schedule_timeout origin:upstream 1 syz, C error 13 19d 326d 0/2 upstream: reported C repro on 2025/11/04 19:17
▶ ▼ Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/08/26 20:16 19m retest repro linux-5.15.y report job log log
2026/08/04 02:43 26m retest repro linux-5.15.y report log
2026/07/19 08:38 17m retest repro linux-5.15.y report log
2026/07/19 08:38 17m retest repro linux-5.15.y report log
2026/07/19 08:38 21m retest repro linux-5.15.y report log
2026/06/11 04:25 17m retest repro linux-5.15.y report log
2026/05/18 03:16 16m retest repro linux-5.15.y report log
2026/04/28 05:12 18m retest repro linux-5.15.y report log
2026/04/28 05:12 20m retest repro linux-5.15.y report log
2026/04/28 05:12 21m retest repro linux-5.15.y report log
▶ ▼ Fix bisection attempts (14)
Created Duration User Patch Repo Result
2026/01/11 18:15 2h28m bisect fix linux-5.15.y OK (0) job log
2025/12/09 03:03 3h13m bisect fix linux-5.15.y OK (0) job log log
2025/11/07 09:13 2h33m bisect fix linux-5.15.y OK (0) job log log
2025/07/28 12:27 1h21m bisect fix linux-5.15.y OK (0) job log log
2025/06/27 16:40 2h07m bisect fix linux-5.15.y OK (0) job log log
2025/05/28 13:53 1h57m bisect fix linux-5.15.y OK (0) job log log
2025/04/24 11:55 2h20m bisect fix linux-5.15.y OK (0) job log log
2025/03/20 08:51 2h13m bisect fix linux-5.15.y OK (0) job log log
2025/02/17 10:09 1h32m bisect fix linux-5.15.y OK (0) job log log
2025/01/17 09:51 1h35m bisect fix linux-5.15.y OK (0) job log log
2024/11/28 09:00 1h06m bisect fix linux-5.15.y OK (0) job log log
2024/10/20 04:58 1h50m bisect fix linux-5.15.y OK (0) job log log
2024/09/03 16:59 1h37m bisect fix linux-5.15.y OK (0) job log log
2024/07/27 12:36 1h26m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
	(detected by 1, t=10502 jiffies, g=7209, q=150)
rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4294955276-4294944773), jiffies_till_next_fqs=1, root ->qsmask 0x0
rcu: rcu_preempt kthread starved for 10504 jiffies! g7209 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:28112 pid:   15 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11c3/0x4350 kernel/sched/core.c:6395
 preempt_schedule_irq+0xbb/0x160 kernel/sched/core.c:6799
 irqentry_exit+0x63/0x70 kernel/entry/common.c:435
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:schedule+0x108/0x1e0 kernel/sched/core.c:6480
Code: e8 5d cd f4 f7 49 8b 07 4c 39 f8 74 0d 4c 89 f7 be 01 00 00 00 e8 38 82 04 fa 49 89 de 49 c1 ee 03 eb 09 48 f7 03 08 00 00 00 <74> 39 bf 01 00 00 00 e8 cc dc 88 f7 31 ff e8 95 bb ff ff bf 01 00
RSP: 0018:ffffc90000d47b90 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffff88813fe23b80 RCX: ffffffff89c97b52
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88813fe23b80
RBP: 0000000000208040 R08: ffff88813fe23b87 R09: 1ffff11027fc4770
R10: dffffc0000000000 R11: ffffed1027fc4771 R12: dffffc0000000000
R13: ffffc90000d47be0 R14: 1ffff11027fc4770 R15: dffffc0000000000
 schedule_timeout+0x184/0x2d0 kernel/time/timer.c:2117
 rcu_gp_fqs_loop+0x2be/0x11f0 kernel/rcu/tree.c:1972
 rcu_gp_kthread+0x9a/0x370 kernel/rcu/tree.c:2145
 kthread+0x42e/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:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4377 Comm: syz.1.18 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:get_signal+0x5ef/0x12e0 kernel/signal.c:-1
Code: c0 0f 85 2b 09 00 00 48 8b 44 24 40 0f b7 18 89 de 81 e6 80 00 00 00 31 ff e8 4d 8e 2d 00 81 e3 80 00 00 00 0f 85 9f 0a 00 00 <48> 8b 44 24 60 42 80 3c 20 00 48 8b 5c 24 48 74 08 48 89 df e8 08
RSP: 0018:ffffc9000333fbd0 EFLAGS: 00000046
RAX: ffffffff814b8933 RBX: 0000000000000000 RCX: ffff88801a990000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88801a990030 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000667f58 R12: dffffc0000000000
R13: ffff88807b1aa500 R14: ffff88801a990930 R15: ffff88801a99002c
FS:  00007f9d5949c6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000058 CR3: 00000000735ee000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867
 handle_signal_work kernel/entry/common.c:157 [inline]
 exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:181
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:217
 __syscall_exit_to_user_mode_work kernel/entry/common.c:299 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:310
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f9d59e3c159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9d5949c0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f9d5a0c3fa8 RCX: 00007f9d59e3c159
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f9d5a0c3fa8
RBP: 00007f9d5a0c3fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9d5a0c4038 R14: 00007ffc35401f50 R15: 00007ffc35402038
 </TASK>

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/18 22:03 linux-5.15.y 0248c33e835e 853b104b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in schedule_timeout
2025/09/13 04:10 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 schedule_timeout
2025/09/13 00:10 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 schedule_timeout
2024/05/23 05:50 linux-5.15.y 83655231580b 4d098039 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in schedule_timeout
2025/09/13 06:02 linux-5.15.y 43bb85222e53 e2beed91 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in schedule_timeout
2025/09/01 03:21 linux-5.15.y 01879f56bdde 807a3b61 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in schedule_timeout
2026/09/08 09:55 linux-5.15.y 0996e0926f6b 680aa3e1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in schedule_timeout
2026/02/21 10:18 linux-5.15.y 3330a8d33e08 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in schedule_timeout
2024/06/10 21:57 linux-5.15.y c61bd26ae81a 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in schedule_timeout
2024/06/10 21:53 linux-5.15.y c61bd26ae81a 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in schedule_timeout
2024/05/23 03:37 linux-5.15.y 83655231580b 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in schedule_timeout
2024/05/22 14:44 linux-5.15.y 83655231580b 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in schedule_timeout
2024/12/05 01:45 linux-5.15.y 0a51d2d4527b b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: rcu detected stall in schedule_timeout
2024/09/18 12:18 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: rcu detected stall in schedule_timeout
2024/08/01 21:04 linux-5.15.y 7e89efd3ae1c 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: rcu detected stall in schedule_timeout
* Struck through repros no longer work on HEAD.