rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=68805, q=104) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4295000921-4294990419), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g68805 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:25912 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x1fd/0x770 kernel/rcu/tree.c:1957 rcu_gp_kthread+0xa5/0x350 kernel/rcu/tree.c:2130 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 21719 Comm: syz-executor.4 Not tainted 5.15.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_check_gp_kthread_starvation+0x1ff/0x270 kernel/rcu/tree_stall.h:481 print_other_cpu_stall kernel/rcu/tree_stall.h:586 [inline] check_cpu_stall kernel/rcu/tree_stall.h:729 [inline] rcu_pending kernel/rcu/tree.c:3880 [inline] rcu_sched_clock_irq+0x23d5/0x2bc0 kernel/rcu/tree.c:2599 update_process_times+0x197/0x200 kernel/time/timer.c:1785 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1421 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:preempt_count_add+0xe4/0x130 kernel/sched/core.c:5403 Code: 38 84 c0 75 4b 83 3d 32 b1 82 0c 00 75 81 48 c7 c7 40 42 4e 8a 48 c7 c6 80 42 4e 8a 31 c0 e8 f3 45 f4 ff 0f 0b e9 65 ff ff ff <48> c7 c1 00 39 93 90 80 e1 07 80 c1 03 38 c1 0f 8c 36 ff ff ff 48 RSP: 0018:ffffc90004127460 EFLAGS: 00000202 RAX: 1ffffffff2126704 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90012304000 RSI: 000000000003ffff RDI: 0000000000000001 RBP: ffffc90004127b88 R08: ffffffff8111cf99 R09: ffffed100ddd9808 R10: ffffed100ddd9808 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000000 R14: ffffc90004127600 R15: dffffc0000000000 vcpu_enter_guest+0x5ce2/0x9650 arch/x86/kvm/x86.c:9594 vcpu_run+0x4d3/0xe50 arch/x86/kvm/x86.c:9819 kvm_arch_vcpu_ioctl_run+0x5c0/0xdb0 arch/x86/kvm/x86.c:10051 kvm_vcpu_ioctl+0x894/0xe20 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3779 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fce9e284a39 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fce9b7fa188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fce9e397f60 RCX: 00007fce9e284a39 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005 RBP: 00007fce9e2dee8f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff0c3f2aaf R14: 00007fce9b7fa300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 38 84 c0 75 4b 83 3d cmp %al,0x3d834b75(%rax,%rax,8) 7: 32 b1 82 0c 00 75 xor 0x75000c82(%rcx),%dh d: 81 48 c7 c7 40 42 4e orl $0x4e4240c7,-0x39(%rax) 14: 8a 48 c7 mov -0x39(%rax),%cl 17: c6 80 42 4e 8a 31 c0 movb $0xc0,0x318a4e42(%rax) 1e: e8 f3 45 f4 ff callq 0xfff44616 23: 0f 0b ud2 25: e9 65 ff ff ff jmpq 0xffffff8f * 2a: 48 c7 c1 00 39 93 90 mov $0xffffffff90933900,%rcx <-- trapping instruction 31: 80 e1 07 and $0x7,%cl 34: 80 c1 03 add $0x3,%cl 37: 38 c1 cmp %al,%cl 39: 0f 8c 36 ff ff ff jl 0xffffff75 3f: 48 rex.W