INFO: rcu detected stall in kvm_vcpu_ioctl

Status: upstream: reported C repro on 2025/06/05 19:21
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+20e139d318a0d1d22a4b@syzkaller.appspotmail.com
First crash: 540d, last: 89d
▶ ▼ Bug presence (2)
Date Name Commit Repro Result
2026/01/13 linux-5.15.y (ToT) 68efe5a6c16a C [report] INFO: rcu detected stall in kvm_vcpu_ioctl
2026/01/13 upstream (ToT) b54345928fa1 C Didn't crash
▶ ▼ Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in kvm_vcpu_ioctl (2) kvm-x86 1 1 841d 841d 0/30 auto-obsoleted due to no activity on 2024/11/06 13:35
upstream INFO: rcu detected stall in kvm_vcpu_ioctl (4) prio:high kvm kvm-x86 1 syz, C error 8 112d 335d 28/30 upstream: reported C repro on 2025/12/27 03:34
upstream INFO: rcu detected stall in kvm_vcpu_ioctl (3) kvm-x86 1 2 636d 701d 0/30 auto-obsoleted due to no activity on 2025/05/30 15:19
upstream INFO: rcu detected stall in kvm_vcpu_ioctl mm 1 syz, C error unreliable 251 1822d 2999d 0/30 closed as invalid on 2022/02/08 10:48
linux-4.19 INFO: rcu detected stall in kvm_vcpu_ioctl 1 syz, C error 46 1857d 2513d 0/1 upstream: reported C repro on 2020/01/10 19:56
linux-4.14 INFO: rcu detected stall in kvm_vcpu_ioctl 1 syz, C error 12 2414d 2571d 0/1 upstream: reported C repro on 2019/11/13 08:08
linux-4.19 BUG: soft lockup in kvm_vcpu_ioctl 1 syz, C error 2 2036d 2039d 0/1 upstream: reported C repro on 2021/04/28 21:34
android-5-15 BUG: soft lockup in kvm_vcpu_ioctl 1 1 958d 958d 0/2 auto-obsoleted due to no activity on 2024/07/12 20:15
▶ ▼ Last patch testing requests (4)
Created Duration User Patch Repo Result
2026/11/23 05:51 18m retest repro linux-5.15.y no crash job log log
2026/08/30 06:19 13m retest repro linux-5.15.y report job log log
2026/06/07 09:15 18m retest repro linux-5.15.y report log
2026/03/25 04:31 11m retest repro linux-5.15.y report log
▶ ▼ Fix bisection attempts (3)
Created Duration User Patch Repo Result
2026/03/27 01:33 12m fix candidate upstream error job log
2026/02/23 00:34 1m fix candidate upstream error job log
2026/01/23 11:10 1m fix candidate upstream error job log

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-...!: (2 GPs behind) idle=e8d/1/0x4000000000000000 softirq=42632/42633 fqs=178 
	(t=10500 jiffies g=57533 q=725)
rcu: rcu_preempt kthread starved for 10048 jiffies! g57533 f0x0 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:27384 pid:   15 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11ef/0x43c0 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 schedule_timeout+0x184/0x2d0 kernel/time/timer.c:2117
 rcu_gp_fqs_loop+0x2be/0x11d0 kernel/rcu/tree.c:1972
 rcu_gp_kthread+0x9b/0x370 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:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
NMI backtrace for cpu 0 skipped: idling at default_idle+0xb/0x10 arch/x86/kernel/process.c:729
NMI backtrace for cpu 1
CPU: 1 PID: 10942 Comm: syz.4.1430 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Call Trace:
 <IRQ>
 dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3a2/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_dump_cpu_stacks+0x22f/0x380 kernel/rcu/tree_stall.h:349
 print_cpu_stall+0x31d/0x5f0 kernel/rcu/tree_stall.h:633
 check_cpu_stall kernel/rcu/tree_stall.h:727 [inline]
 rcu_pending kernel/rcu/tree.c:3936 [inline]
 rcu_sched_clock_irq+0x6ea/0x1120 kernel/rcu/tree.c:2619
 update_process_times+0x193/0x200 kernel/time/timer.c:2021
 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+0x4ad/0xb70 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:preempt_latency_start kernel/sched/core.c:5492 [inline]
RIP: 0010:preempt_count_add+0xb5/0x190 kernel/sched/core.c:5515
Code: 0b 00 85 c0 74 09 31 db 31 ff e8 86 d1 0b 00 65 4c 8b 35 8e 0e b0 7e 49 81 c6 e8 14 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 51 cd 6b 00 49 89 1e 5b 41 5e 41 5f c3 89 fb e8
RSP: 0018:ffffc90003dcf3b0 EFLAGS: 00000246
RAX: 1ffff11004bb7a0d RBX: ffffffff810d4563 RCX: ffffffff962d8f00
RDX: dffffc0000000000 RSI: ffffffff8a2b2780 RDI: ffffffff810d4563
RBP: dffffc0000000000 R08: ffffffff901d2247 R09: 1ffffffff203a448
R10: dffffc0000000000 R11: fffffbfff203a449 R12: 0000000000000a02
R13: ffffc90002ffba68 R14: ffff888025dbd068 R15: dffffc0000000000
 get_kvmclock_ns+0xd3/0x360 arch/x86/kvm/x86.c:2879
 get_time_ref_counter arch/x86/kvm/hyperv.c:553 [inline]
 stimer_start arch/x86/kvm/hyperv.c:609 [inline]
 kvm_hv_process_stimers+0xdc6/0x1ac0 arch/x86/kvm/hyperv.c:863
 vcpu_enter_guest+0x4793/0x7010 arch/x86/kvm/x86.c:9874
 vcpu_run arch/x86/kvm/x86.c:10183 [inline]
 kvm_arch_vcpu_ioctl_run+0xdea/0x1f40 arch/x86/kvm/x86.c:10420
 kvm_vcpu_ioctl+0x8f7/0xc10 virt/kvm/kvm_main.c:3894
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
 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:0x7f0a1226ff79
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:00007f0a104ca028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0a124e9fa0 RCX: 00007f0a1226ff79
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000006
RBP: 00007f0a123067e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0a124ea038 R14: 00007f0a124e9fa0 R15: 00007ffe02e852f8
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/15 08:18 linux-5.15.y e45d5d41c134 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in kvm_vcpu_ioctl
2026/01/12 00:17 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 kvm_vcpu_ioctl
2026/01/11 21:22 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in kvm_vcpu_ioctl
2026/01/11 21:18 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in kvm_vcpu_ioctl
2025/11/26 22:09 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in kvm_vcpu_ioctl
2025/09/02 12:29 linux-5.15.y 01879f56bdde 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in kvm_vcpu_ioctl
2025/06/30 09:35 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in kvm_vcpu_ioctl
2025/06/12 21:12 linux-5.15.y 1c700860e8bc 98683f8f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in kvm_vcpu_ioctl
2025/06/05 19:21 linux-5.15.y 1c700860e8bc 6b6b5f21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in kvm_vcpu_ioctl
* Struck through repros no longer work on HEAD.