syzbot


INFO: rcu detected stall in kvm_vm_ioctl (2)

Status: auto-obsoleted due to no activity on 2025/01/13 09:22
Subsystems: kernel
[Documentation on labels]
First crash: 112d, last: 97d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in kvm_vm_ioctl kernel 1 545d 545d 0/28 auto-obsoleted due to no activity on 2023/09/23 08:44

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-...D } 2628 jiffies s: 14317 root: 0x1/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 16332 Comm: syz.0.4725 Not tainted 6.12.0-rc3-syzkaller-00013-geca631b8fe80 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4831 [inline]
RIP: 0010:__lock_acquire+0x495/0x3ce0 kernel/locking/lockdep.c:5152
Code: 0f b6 14 11 48 89 f9 83 e1 07 38 ca 7f 08 84 d2 0f 85 3d 2b 00 00 45 84 e4 0f b6 98 c5 00 00 00 0f 84 06 03 00 00 49 8d 7d 21 <48> b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 48
RSP: 0018:ffffc90000007b48 EFLAGS: 00000002
RAX: ffffffff96e28af0 RBX: 0000000000000001 RCX: 0000000000000005
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88805aaf2979
RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff2dc4d88
R10: ffffffff96e26c47 R11: 0000000000000002 R12: 0000000000000002
R13: ffff88805aaf2958 R14: 0000000000000022 R15: ffff88805aaf1e00
FS:  00007fe871fc06c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3270fff8 CR3: 0000000030de4000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825
 rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
 rcu_read_lock include/linux/rcupdate.h:849 [inline]
 advance_sched+0x67f/0xc60 net/sched/sch_taprio.c:985
 __run_hrtimer kernel/time/hrtimer.c:1691 [inline]
 __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1755
 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1817
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1026 [inline]
 __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1043
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline]
 sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1037
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire.part.0+0x155/0x380 kernel/locking/lockdep.c:5790
Code: b8 ff ff ff ff 65 0f c1 05 f0 d5 97 7e 83 f8 01 0f 85 d0 01 00 00 9c 58 f6 c4 02 0f 85 e5 01 00 00 48 85 ed 0f 85 b6 01 00 00 <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7
RSP: 0018:ffffc90016e1f638 EFLAGS: 00000206
RAX: 0000000000000046 RBX: 1ffff92002dc3ec8 RCX: 0000000000000001
RDX: 0000000000000001 RSI: ffffffff8b6cd340 RDI: ffffffff8bd1a1c0
RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff2dc4d88
R10: ffffffff96e26c47 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff8e079148 R14: 0000000000000000 R15: 0000000000000000
 __mutex_lock_common kernel/locking/mutex.c:608 [inline]
 __mutex_lock+0x175/0x9c0 kernel/locking/mutex.c:752
 arch_jump_label_transform_queue+0x73/0x120 arch/x86/kernel/jump_label.c:136
 __jump_label_update+0x125/0x420 kernel/jump_label.c:513
 jump_label_update+0x1d7/0x400 kernel/jump_label.c:920
 static_key_slow_inc_cpuslocked kernel/jump_label.c:168 [inline]
 static_key_slow_inc_cpuslocked+0x82/0x120 kernel/jump_label.c:151
 static_key_slow_inc+0x1a/0x30 kernel/jump_label.c:191
 kvm_create_lapic+0x39c/0x500 arch/x86/kvm/lapic.c:2867
 kvm_arch_vcpu_create+0x24c/0xa60 arch/x86/kvm/x86.c:12266
 kvm_vm_ioctl_create_vcpu virt/kvm/kvm_main.c:4261 [inline]
 kvm_vm_ioctl+0xf78/0x3de0 virt/kvm/kvm_main.c:5166
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl fs/ioctl.c:893 [inline]
 __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe87117dff9
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:00007fe871fc0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fe871335f80 RCX: 00007fe87117dff9
RDX: 0000000000000000 RSI: 000000000000ae41 RDI: 0000000000000004
RBP: 00007fe8711f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe871335f80 R15: 00007ffe0c106f58
 </TASK>
IPVS: fo: UDP 224.0.0.2:0 - no destination available
IPVS: fo: UDP 224.0.0.2:0 - no destination available
IPVS: fo: UDP 224.0.0.2:0 - no destination available
IPVS: fo: UDP 224.0.0.2:0 - no destination available
IPVS: fo: UDP 224.0.0.2:0 - no destination available
IPVS: fo: UDP 224.0.0.2:0 - no destination available
IPVS: fo: UDP 224.0.0.2:0 - no destination available
IPVS: fo: UDP 224.0.0.2:0 - no destination available
IPVS: fo: UDP 224.0.0.2:0 - no destination available

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/15 09:13 upstream eca631b8fe80 14943bb8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in kvm_vm_ioctl
2024/09/30 07:46 upstream 9852d85ec9d4 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in kvm_vm_ioctl
* Struck through repros no longer work on HEAD.