syzbot


INFO: rcu detected stall in syscall_trace_enter

Status: upstream: reported on 2025/07/17 08:48
Reported-by: syzbot+5f39ba5cacfc566e75f4@syzkaller.appspotmail.com
First crash: 29d, last: 29d
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in syscall_trace_enter (2) mm 1 1 2081d 2081d 0/29 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in syscall_trace_enter kernel 1 5 2503d 2526d 0/29 auto-closed as invalid on 2019/04/06 08:39
upstream INFO: rcu detected stall in syscall_trace_enter (4) trace bpf 1 10 164d 364d 0/29 auto-obsoleted due to no activity on 2025/06/01 11:19
upstream INFO: rcu detected stall in syscall_trace_enter (3) kernel 1 1 505d 505d 0/29 auto-obsoleted due to no activity on 2024/06/26 05:41
linux-5.15 INFO: rcu detected stall in syscall_trace_enter origin:lts-only 1 syz inconclusive 39 20h43m 111d 0/3 upstream: reported syz repro on 2025/04/26 00:59

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	(detected by 1, t=10502 jiffies, g=45741, q=140 ncpus=2)
rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4295005426-4294994923), jiffies_till_next_fqs=1, root ->qsmask 0x0
rcu: rcu_preempt kthread starved for 10504 jiffies! g45741 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:26728 pid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0x14e2/0x4580 kernel/sched/core.c:6700
 schedule+0xbd/0x170 kernel/sched/core.c:6774
 schedule_timeout+0x160/0x280 kernel/time/timer.c:2167
 rcu_gp_fqs_loop+0x302/0x1560 kernel/rcu/tree.c:1667
 rcu_gp_kthread+0x99/0x380 kernel/rcu/tree.c:1866
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </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: 10220 Comm: syz.2.1230 Not tainted 6.6.98-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:psi_account_irqtime+0x43b/0x6e0 kernel/sched/psi.c:1042
Code: 2d 02 00 48 8b 44 24 30 0f b6 04 28 84 c0 0f 85 02 01 00 00 41 ff 45 00 49 8d 9e 4c 04 00 00 48 89 d8 48 c1 e8 03 0f b6 04 28 <84> c0 0f 85 02 01 00 00 f6 03 40 74 0f be 01 00 00 00 4c 89 f7 31
RSP: 0018:ffffc90000007bd8 EFLAGS: 00000803
RAX: 0000000000000000 RBX: ffffffff8cbf750c RCX: 1017c7ea6eb1e600
RDX: 0000000000000002 RSI: ffffffff8aaacac0 RDI: ffffffff8afc7880
RBP: dffffc0000000000 R08: ffffffff8e4a936f R09: 1ffffffff1c9526d
R10: dffffc0000000000 R11: fffffbfff1c9526e R12: 0000000000982dfd
R13: ffff8880b8e288c0 R14: ffffffff8cbf70c0 R15: ffff8880b8e28920
FS:  00007f1f54dde6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1f551b6088 CR3: 0000000024211000 CR4: 00000000003526f0
Call Trace:
 <IRQ>
 scheduler_tick+0x103/0x6a0 kernel/sched/core.c:5654
 update_process_times+0x17b/0x1b0 kernel/time/timer.c:2076
 tick_sched_handle kernel/time/tick-sched.c:254 [inline]
 tick_sched_timer+0x3a2/0x580 kernel/time/tick-sched.c:1492
 __run_hrtimer kernel/time/hrtimer.c:1755 [inline]
 __hrtimer_run_queues+0x4df/0xc40 kernel/time/hrtimer.c:1819
 hrtimer_interrupt+0x3c9/0x9c0 kernel/time/hrtimer.c:1881
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1077 [inline]
 __sysvec_apic_timer_interrupt+0xfb/0x3b0 arch/x86/kernel/apic/apic.c:1094
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
 sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1088
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:254 [inline]
RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:196
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 f3 0f 1e fa 89 f6 31 d2 e9 57 a0 19 03 0f 1f 80 00 00 00
RSP: 0018:ffffc9000c4ffcd8 EFLAGS: 00000246
RAX: 00000000000000f6 RBX: 0000000000000200 RCX: 000000000000083f
RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 000000000000083f
RBP: 0000000000000000 R08: ffffc9000c4ffc47 R09: 1ffff9200189ff88
R10: dffffc0000000000 R11: fffff5200189ff89 R12: ffff8880b8e35201
R13: dffffc0000000000 R14: ffff8880b8e35290 R15: 0000000000000020
 __apic_send_IPI_self arch/x86/include/asm/apic.h:454 [inline]
 arch_irq_work_raise+0x68/0x70 arch/x86/kernel/irq_work.c:31
 irq_work_queue+0x99/0x140 kernel/irq_work.c:124
 bpf_send_signal_common+0x2b6/0x420 kernel/trace/bpf_trace.c:875
 ____bpf_send_signal kernel/trace/bpf_trace.c:884 [inline]
 bpf_send_signal+0x19/0x20 kernel/trace/bpf_trace.c:882
 bpf_prog_7ba5217f62dcd359+0x40/0x44
 bpf_dispatcher_nop_func include/linux/bpf.h:1213 [inline]
 __bpf_prog_run include/linux/filter.h:612 [inline]
 bpf_prog_run include/linux/filter.h:619 [inline]
 __bpf_trace_run kernel/trace/bpf_trace.c:2322 [inline]
 bpf_trace_run2+0x1d1/0x3c0 kernel/trace/bpf_trace.c:2361
 trace_sys_enter+0x69/0x80 include/trace/events/syscalls.h:18
 syscall_trace_enter+0xf0/0x150 kernel/entry/common.c:81
 do_syscall_64+0x28/0xb0 arch/x86/entry/common.c:77
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f1f54f2ab19
Code: 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 c7 c0 0f 00 00 00 0f 05 <0f> 1f 80 00 00 00 00 48 81 ec 48 01 00 00 49 89 d0 64 48 8b 04 25
RSP: 002b:00007f1f54dddb40 EFLAGS: 00000246 ORIG_RAX: 000000000000000f
RAX: ffffffffffffffda RBX: 00007f1f551b6088 RCX: 00007f1f54f2ab19
RDX: 00007f1f54dddb40 RSI: 00007f1f54dddc70 RDI: 0000000000000011
RBP: 00007f1f551b6080 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1f551b608c
R13: 0000000000000000 R14: 00007ffdaa530e40 R15: 00007ffdaa530f28
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/17 08:47 linux-6.6.y 9247f4e6573a 44f8051e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_trace_enter
* Struck through repros no longer work on HEAD.