syzbot


INFO: rcu detected stall in schedule_timeout (2)

Status: upstream: reported C repro on 2025/09/02 23:57
Reported-by: syzbot+7dca4d8f5e1c02ee5ebf@syzkaller.appspotmail.com
First crash: 13d, last: 3h21m
Similar bugs (9)
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 2078d 2078d 0/29 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in schedule_timeout (7) kernel 1 C error error 28 2d11h 311d 0/29 upstream: reported C repro on 2024/11/09 08:24
upstream INFO: rcu detected stall in schedule_timeout (2) kernel 1 2 2078d 2078d 0/29 closed as invalid on 2020/01/08 05:23
upstream INFO: rcu detected stall in schedule_timeout (4) kernel 1 1 784d 784d 0/29 closed as invalid on 2023/09/01 06:44
linux-6.1 INFO: rcu detected stall in schedule_timeout 1 28 451d 516d 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 689d 724d 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 2113d 2115d 0/29 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in schedule_timeout (6) usb 1 C done 40 331d 488d 28/29 fixed on 2024/10/22 11:57
linux-5.15 INFO: rcu detected stall in schedule_timeout origin:upstream 1 C 12 3d16h 482d 0/3 upstream: reported C repro on 2024/05/22 14:45

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
	(detected by 0, t=10502 jiffies, g=10461, q=305 ncpus=2)
rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294956949-4294946447), jiffies_till_next_fqs=1, root ->qsmask 0x0
rcu: rcu_preempt kthread starved for 10502 jiffies! g10461 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
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:27464 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5244 [inline]
 __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561
 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6873
 irqentry_exit+0x63/0x70 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:timer_delete_sync+0x181/0x2a0 kernel/time/timer.c:1456
Code: d5 66 10 00 4d 89 ef 48 85 db 49 bd 00 00 00 00 00 fc ff df 75 07 e8 be 66 10 00 eb 06 e8 b7 66 10 00 fb 65 8b 1d 67 05 92 7e <89> de 81 e6 00 00 0f 00 31 ff e8 00 6a 10 00 81 e3 00 00 0f 00 74
RSP: 0018:ffffc90000157b00 EFLAGS: 00000293
RAX: ffffffff817069d9 RBX: 0000000080000000 RCX: ffff88813fea5940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000157bb0 R08: dffffc0000000000 R09: fffffbfff1c3eea6
R10: fffffbfff1c3eea6 R11: 1ffffffff1c3eea5 R12: 1ffff9200002af60
R13: dffffc0000000000 R14: 0000000000000000 R15: ffffc90000157be0
 del_timer_sync include/linux/timer.h:198 [inline]
 schedule_timeout+0x164/0x280 kernel/time/timer.c:1966
 rcu_gp_fqs_loop+0x2f2/0x1310 kernel/rcu/tree.c:1706
 rcu_gp_kthread+0x95/0x380 kernel/rcu/tree.c:1905
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4525 Comm: syz.1.18 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:__lock_acquire+0xd77/0x7c50 kernel/locking/lockdep.c:5019
Code: 49 b8 00 00 00 00 00 fc ff df 85 c0 0f 84 85 4c 00 00 4c 89 e7 4c 89 f6 ba 08 00 00 00 e8 b1 a5 00 00 85 c0 0f 84 5b 4c 00 00 <48> c7 c0 40 91 be 96 48 c1 e8 03 49 b8 00 00 00 00 00 fc ff df 42
RSP: 0018:ffffc900001e09c0 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffffffff9046d7b9 RCX: ffffffff8163aae4
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90ae2248
RBP: ffffc900001e0c10 R08: dffffc0000000000 R09: fffffbfff215c44a
R10: fffffbfff215c44a R11: 1ffffffff215c449 R12: ffff88802be05940
R13: 0000000000000008 R14: ffff88802be06420 R15: ffff88802be06440
FS:  00007ff73daf36c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000058 CR3: 00000000780e0000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
 seqcount_lockdep_reader_access+0xc6/0x1c0 include/linux/seqlock.h:102
 ktime_get+0x31/0x270 kernel/time/timekeeping.c:846
 clockevents_program_event+0xe2/0x310 kernel/time/clockevents.c:326
 hrtimer_interrupt+0x59d/0x9c0 kernel/time/hrtimer.c:1891
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
 __sysvec_apic_timer_interrupt+0x153/0x5a0 arch/x86/kernel/apic/apic.c:1124
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:__syscall_enter_from_user_work kernel/entry/common.c:97 [inline]
RIP: 0010:syscall_enter_from_user_mode+0x2a/0x80 kernel/entry/common.c:118
Code: 41 56 53 48 89 f3 49 89 fe 48 8b 7c 24 10 e8 ed fa ff ff 66 90 66 90 e8 84 e4 6f f7 e8 ff e2 6f f7 fb 65 48 8b 05 86 25 eb 75 <48> 8b 70 08 40 f6 c6 3f 74 0b 4c 89 f7 5b 41 5e e9 b1 8b 56 f7 48
RSP: 0018:ffffc900033a7f08 EFLAGS: 00000286
RAX: ffff88802be05940 RBX: 00000000000000ca RCX: 32cbac32c3979c00
RDX: dffffc0000000000 RSI: ffffffff8a8c0500 RDI: ffffffff8adefca0
RBP: ffffc900033a7f48 R08: dffffc0000000000 R09: fffffbfff1c3eea6
R10: fffffbfff1c3eea6 R11: 1ffffffff1c3eea5 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc900033a7f58 R15: 0000000000000000
 do_syscall_64+0x24/0xa0 arch/x86/entry/common.c:77
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7ff73cb8eba9
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:00007ff73daf30e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 00007ff73cdd5fa8 RCX: 00007ff73cb8eba9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007ff73cdd5fa8
RBP: 00007ff73cdd5fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff73cdd6038 R14: 00007ffeba785510 R15: 00007ffeba7855f8
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/16 19:25 linux-6.1.y 3db754f56897 e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in schedule_timeout
2025/09/02 23:56 linux-6.1.y f89b6e15694c 96a211bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in schedule_timeout
* Struck through repros no longer work on HEAD.