===================================================== WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected 5.12.0-rc4-syzkaller #0 Not tainted ----------------------------------------------------- syz-executor.2/20467 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: ffffc9000170a230 (&kvm->arch.pvclock_gtod_sync_lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:354 [inline] ffffc9000170a230 (&kvm->arch.pvclock_gtod_sync_lock){+.+.}-{2:2}, at: get_kvmclock_ns+0x2f/0x370 arch/x86/kvm/x86.c:2587 and this task is already holding: ffff8880b9c34c98 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1321 [inline] ffff8880b9c34c98 (&rq->lock){-.-.}-{2:2}, at: __schedule+0xd8/0xe70 kernel/sched/core.c:4990 which would create a new lock dependency: (&rq->lock){-.-.}-{2:2} -> (&kvm->arch.pvclock_gtod_sync_lock){+.+.}-{2:2} but this new dependency connects a HARDIRQ-irq-safe lock: (&rq->lock){-.-.}-{2:2} ... which became HARDIRQ-irq-safe at: lock_acquire+0x126/0x650 kernel/locking/lockdep.c:5510 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 rq_lock kernel/sched/sched.h:1321 [inline] scheduler_tick+0x9b/0x440 kernel/sched/core.c:4538 update_process_times+0x1cb/0x200 kernel/time/timer.c:1801 tick_periodic+0x19d/0x210 kernel/time/tick-common.c:100 tick_handle_periodic+0x46/0x160 kernel/time/tick-common.c:112 timer_interrupt+0x4d/0x60 arch/x86/kernel/time.c:57 __handle_irq_event_percpu+0x1b7/0x620 kernel/irq/handle.c:156 handle_irq_event_percpu kernel/irq/handle.c:196 [inline] handle_irq_event+0xbd/0x280 kernel/irq/handle.c:213 handle_edge_irq+0x245/0xbe0 kernel/irq/chip.c:819 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:231 [inline] __common_interrupt+0xce/0x1e0 arch/x86/kernel/irq.c:250 common_interrupt+0x9c/0xc0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:623 console_unlock+0xaab/0xe00 kernel/printk/printk.c:2586 vprintk_emit+0x1ab/0x270 kernel/printk/printk.c:2098 printk+0x62/0x83 kernel/printk/printk.c:2146 pid_idr_init+0xb8/0x120 kernel/pid.c:618 start_kernel+0x42b/0x544 init/main.c:1031 secondary_startup_64_no_verify+0xb0/0xbb to a HARDIRQ-irq-unsafe lock: (&kvm->arch.pvclock_gtod_sync_lock){+.+.}-{2:2} ... which became HARDIRQ-irq-unsafe at: ... lock_acquire+0x126/0x650 kernel/locking/lockdep.c:5510 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 spin_lock include/linux/spinlock.h:354 [inline] kvm_synchronize_tsc+0x867/0xde0 arch/x86/kvm/x86.c:2332 kvm_arch_vcpu_postcreate+0x74/0x160 arch/x86/kvm/x86.c:10183 kvm_vm_ioctl_create_vcpu arch/x86/kvm/../../../virt/kvm/kvm_main.c:3239 [inline] kvm_vm_ioctl+0x1f8a/0x2c40 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3839 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae other info that might help us debug this: Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&kvm->arch.pvclock_gtod_sync_lock); local_irq_disable(); lock(&rq->lock); lock(&kvm->arch.pvclock_gtod_sync_lock); lock(&rq->lock); *** DEADLOCK *** 5 locks held by syz-executor.2/20467: #0: ffff88802c5ed048 (&vcpu->mutex){+.+.}-{3:3}, at: kvm_vcpu_ioctl+0xff/0xa30 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3293 #1: ffffc9000170abe0 (&kvm->srcu){....}-{0:0}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:267 #2: ffffffff8c7cb940 (fs_reclaim){+.+.}-{0:0}, at: __fs_reclaim_acquire+0x0/0x30 mm/page_alloc.c:3995 #3: ffffffff8c7daca0 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: fs_reclaim_acquire+0x55/0xd0 mm/page_alloc.c:4346 #4: ffff8880b9c34c98 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1321 [inline] #4: ffff8880b9c34c98 (&rq->lock){-.-.}-{2:2}, at: __schedule+0xd8/0xe70 kernel/sched/core.c:4990 the dependencies between HARDIRQ-irq-safe lock and the holding lock: -> (&rq->lock){-.-.}-{2:2} { IN-HARDIRQ-W at: lock_acquire+0x126/0x650 kernel/locking/lockdep.c:5510 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 rq_lock kernel/sched/sched.h:1321 [inline] scheduler_tick+0x9b/0x440 kernel/sched/core.c:4538 update_process_times+0x1cb/0x200 kernel/time/timer.c:1801 tick_periodic+0x19d/0x210 kernel/time/tick-common.c:100 tick_handle_periodic+0x46/0x160 kernel/time/tick-common.c:112 timer_interrupt+0x4d/0x60 arch/x86/kernel/time.c:57 __handle_irq_event_percpu+0x1b7/0x620 kernel/irq/handle.c:156 handle_irq_event_percpu kernel/irq/handle.c:196 [inline] handle_irq_event+0xbd/0x280 kernel/irq/handle.c:213 handle_edge_irq+0x245/0xbe0 kernel/irq/chip.c:819 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:231 [inline] __common_interrupt+0xce/0x1e0 arch/x86/kernel/irq.c:250 common_interrupt+0x9c/0xc0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:623 console_unlock+0xaab/0xe00 kernel/printk/printk.c:2586 vprintk_emit+0x1ab/0x270 kernel/printk/printk.c:2098 printk+0x62/0x83 kernel/printk/printk.c:2146 pid_idr_init+0xb8/0x120 kernel/pid.c:618 start_kernel+0x42b/0x544 init/main.c:1031 secondary_startup_64_no_verify+0xb0/0xbb IN-SOFTIRQ-W at: lock_acquire+0x126/0x650 kernel/locking/lockdep.c:5510 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 rq_lock kernel/sched/sched.h:1321 [inline] ttwu_queue kernel/sched/core.c:3184 [inline] try_to_wake_up+0x5d6/0xa90 kernel/sched/core.c:3464 call_timer_fn+0x91/0x160 kernel/time/timer.c:1431 expire_timers kernel/time/timer.c:1476 [inline] __run_timers+0x6c0/0x8a0 kernel/time/timer.c:1745 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1758 __do_softirq+0x318/0x714 kernel/softirq.c:345 invoke_softirq kernel/softirq.c:221 [inline] __irq_exit_rcu+0x1d8/0x200 kernel/softirq.c:422 irq_exit_rcu+0x5/0x20 kernel/softirq.c:434 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 check_preemption_disabled+0x22/0x190 lib/smp_processor_id.c:13 delay_tsc+0x75/0xe0 arch/x86/lib/delay.c:90 try_check_zero+0x35b/0x3d0 kernel/rcu/srcutree.c:707 srcu_advance_state kernel/rcu/srcutree.c:1229 [inline] process_srcu+0x1a7/0xc60 kernel/rcu/srcutree.c:1327 process_one_work+0x789/0xfd0 kernel/workqueue.c:2275 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 INITIAL USE at: lock_acquire+0x126/0x650 kernel/locking/lockdep.c:5510 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x73/0xa0 kernel/locking/spinlock.c:159 rq_attach_root+0x23/0x2c0 kernel/sched/topology.c:470 sched_init+0x65d/0xca1 kernel/sched/core.c:8213 start_kernel+0x1b7/0x544 init/main.c:920 secondary_startup_64_no_verify+0xb0/0xbb } ... key at: [] sched_init.__key+0x0/0x40 ... acquired at: lock_acquire+0x126/0x650 kernel/locking/lockdep.c:5510 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 spin_lock include/linux/spinlock.h:354 [inline] get_kvmclock_ns+0x2f/0x370 arch/x86/kvm/x86.c:2587 kvm_xen_update_runstate arch/x86/kvm/xen.c:69 [inline] kvm_xen_update_runstate_guest+0x55/0x550 arch/x86/kvm/xen.c:100 kvm_xen_runstate_set_preempted arch/x86/kvm/xen.h:96 [inline] kvm_arch_vcpu_put+0x48e/0x510 arch/x86/kvm/x86.c:4062 kvm_sched_out+0x9e/0xf0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4876 __fire_sched_out_preempt_notifiers kernel/sched/core.c:3922 [inline] fire_sched_out_preempt_notifiers kernel/sched/core.c:3930 [inline] prepare_task_switch+0x6f2/0x740 kernel/sched/core.c:4126 context_switch kernel/sched/core.c:4274 [inline] __schedule+0x722/0xe70 kernel/sched/core.c:5073 preempt_schedule_irq+0x83/0x100 kernel/sched/core.c:5530 irqentry_exit_cond_resched kernel/entry/common.c:392 [inline] irqentry_exit+0xa7/0xb0 kernel/entry/common.c:428 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 lock_acquire+0x18d/0x650 arch/x86/include/asm/irqflags.h:45 fs_reclaim_acquire+0x75/0xd0 mm/page_alloc.c:4349 might_alloc include/linux/sched/mm.h:194 [inline] slab_pre_alloc_hook mm/slab.h:497 [inline] slab_alloc_node mm/slub.c:2826 [inline] slab_alloc mm/slub.c:2915 [inline] kmem_cache_alloc+0x3a/0x350 mm/slub.c:2920 mmu_memory_cache_alloc_obj arch/x86/kvm/../../../virt/kvm/kvm_main.c:351 [inline] kvm_mmu_topup_memory_cache+0xdb/0x290 arch/x86/kvm/../../../virt/kvm/kvm_main.c:363 mmu_topup_memory_caches arch/x86/kvm/mmu/mmu.c:679 [inline] kvm_mmu_load+0xd2/0x1090 arch/x86/kvm/mmu/mmu.c:4802 kvm_mmu_reload arch/x86/kvm/mmu.h:81 [inline] vcpu_enter_guest+0x5dd3/0x8b50 arch/x86/kvm/x86.c:9061 vcpu_run+0x316/0xb70 arch/x86/kvm/x86.c:9282 kvm_arch_vcpu_ioctl_run+0x4e8/0xa40 arch/x86/kvm/x86.c:9510 kvm_vcpu_ioctl+0x62a/0xa30 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3316 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae the dependencies between the lock to be acquired and HARDIRQ-irq-unsafe lock: -> (&kvm->arch.pvclock_gtod_sync_lock){+.+.}-{2:2} { HARDIRQ-ON-W at: lock_acquire+0x126/0x650 kernel/locking/lockdep.c:5510 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 spin_lock include/linux/spinlock.h:354 [inline] kvm_synchronize_tsc+0x867/0xde0 arch/x86/kvm/x86.c:2332 kvm_arch_vcpu_postcreate+0x74/0x160 arch/x86/kvm/x86.c:10183 kvm_vm_ioctl_create_vcpu arch/x86/kvm/../../../virt/kvm/kvm_main.c:3239 [inline] kvm_vm_ioctl+0x1f8a/0x2c40 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3839 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae SOFTIRQ-ON-W at: lock_acquire+0x126/0x650 kernel/locking/lockdep.c:5510 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 spin_lock include/linux/spinlock.h:354 [inline] kvm_synchronize_tsc+0x867/0xde0 arch/x86/kvm/x86.c:2332 kvm_arch_vcpu_postcreate+0x74/0x160 arch/x86/kvm/x86.c:10183 kvm_vm_ioctl_create_vcpu arch/x86/kvm/../../../virt/kvm/kvm_main.c:3239 [inline] kvm_vm_ioctl+0x1f8a/0x2c40 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3839 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae INITIAL USE at: lock_acquire+0x126/0x650 kernel/locking/lockdep.c:5510 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 spin_lock include/linux/spinlock.h:354 [inline] kvm_synchronize_tsc+0x867/0xde0 arch/x86/kvm/x86.c:2332 kvm_arch_vcpu_postcreate+0x74/0x160 arch/x86/kvm/x86.c:10183 kvm_vm_ioctl_create_vcpu arch/x86/kvm/../../../virt/kvm/kvm_main.c:3239 [inline] kvm_vm_ioctl+0x1f8a/0x2c40 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3839 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae } ... key at: [] kvm_arch_init_vm.__key.66+0x0/0x40 ... acquired at: lock_acquire+0x126/0x650 kernel/locking/lockdep.c:5510 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 spin_lock include/linux/spinlock.h:354 [inline] get_kvmclock_ns+0x2f/0x370 arch/x86/kvm/x86.c:2587 kvm_xen_update_runstate arch/x86/kvm/xen.c:69 [inline] kvm_xen_update_runstate_guest+0x55/0x550 arch/x86/kvm/xen.c:100 kvm_xen_runstate_set_preempted arch/x86/kvm/xen.h:96 [inline] kvm_arch_vcpu_put+0x48e/0x510 arch/x86/kvm/x86.c:4062 kvm_sched_out+0x9e/0xf0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4876 __fire_sched_out_preempt_notifiers kernel/sched/core.c:3922 [inline] fire_sched_out_preempt_notifiers kernel/sched/core.c:3930 [inline] prepare_task_switch+0x6f2/0x740 kernel/sched/core.c:4126 context_switch kernel/sched/core.c:4274 [inline] __schedule+0x722/0xe70 kernel/sched/core.c:5073 preempt_schedule_irq+0x83/0x100 kernel/sched/core.c:5530 irqentry_exit_cond_resched kernel/entry/common.c:392 [inline] irqentry_exit+0xa7/0xb0 kernel/entry/common.c:428 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 lock_acquire+0x18d/0x650 arch/x86/include/asm/irqflags.h:45 fs_reclaim_acquire+0x75/0xd0 mm/page_alloc.c:4349 might_alloc include/linux/sched/mm.h:194 [inline] slab_pre_alloc_hook mm/slab.h:497 [inline] slab_alloc_node mm/slub.c:2826 [inline] slab_alloc mm/slub.c:2915 [inline] kmem_cache_alloc+0x3a/0x350 mm/slub.c:2920 mmu_memory_cache_alloc_obj arch/x86/kvm/../../../virt/kvm/kvm_main.c:351 [inline] kvm_mmu_topup_memory_cache+0xdb/0x290 arch/x86/kvm/../../../virt/kvm/kvm_main.c:363 mmu_topup_memory_caches arch/x86/kvm/mmu/mmu.c:679 [inline] kvm_mmu_load+0xd2/0x1090 arch/x86/kvm/mmu/mmu.c:4802 kvm_mmu_reload arch/x86/kvm/mmu.h:81 [inline] vcpu_enter_guest+0x5dd3/0x8b50 arch/x86/kvm/x86.c:9061 vcpu_run+0x316/0xb70 arch/x86/kvm/x86.c:9282 kvm_arch_vcpu_ioctl_run+0x4e8/0xa40 arch/x86/kvm/x86.c:9510 kvm_vcpu_ioctl+0x62a/0xa30 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3316 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae stack backtrace: CPU: 0 PID: 20467 Comm: syz-executor.2 Not tainted 5.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x176/0x24e lib/dump_stack.c:120 print_bad_irq_dependency kernel/locking/lockdep.c:2460 [inline] check_irq_usage kernel/locking/lockdep.c:2689 [inline] check_prev_add kernel/locking/lockdep.c:2940 [inline] check_prevs_add+0x4ef0/0x5c20 kernel/locking/lockdep.c:3059 validate_chain kernel/locking/lockdep.c:3674 [inline] __lock_acquire+0x41f7/0x5e60 kernel/locking/lockdep.c:4900 lock_acquire+0x126/0x650 kernel/locking/lockdep.c:5510 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 spin_lock include/linux/spinlock.h:354 [inline] get_kvmclock_ns+0x2f/0x370 arch/x86/kvm/x86.c:2587 kvm_xen_update_runstate arch/x86/kvm/xen.c:69 [inline] kvm_xen_update_runstate_guest+0x55/0x550 arch/x86/kvm/xen.c:100 kvm_xen_runstate_set_preempted arch/x86/kvm/xen.h:96 [inline] kvm_arch_vcpu_put+0x48e/0x510 arch/x86/kvm/x86.c:4062 kvm_sched_out+0x9e/0xf0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4876 __fire_sched_out_preempt_notifiers kernel/sched/core.c:3922 [inline] fire_sched_out_preempt_notifiers kernel/sched/core.c:3930 [inline] prepare_task_switch+0x6f2/0x740 kernel/sched/core.c:4126 context_switch kernel/sched/core.c:4274 [inline] __schedule+0x722/0xe70 kernel/sched/core.c:5073 preempt_schedule_irq+0x83/0x100 kernel/sched/core.c:5530 irqentry_exit_cond_resched kernel/entry/common.c:392 [inline] irqentry_exit+0xa7/0xb0 kernel/entry/common.c:428 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:lock_acquire+0x18d/0x650 arch/x86/include/asm/irqflags.h:45 Code: 8d 7c 24 20 e8 44 99 60 00 f7 44 24 20 00 02 00 00 0f 85 38 02 00 00 41 f7 c7 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 50 0f 85 62 04 00 00 48 83 c4 58 5b 41 5c 41 5d 41 5e RSP: 0018:ffffc900022bf860 EFLAGS: 00000206 RAX: f7fae204345d5700 RBX: 0000000000000000 RCX: ffffffff815c7a82 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff92000457f10 R08: dffffc0000000000 R09: fffffbfff1f296b3 R10: fffffbfff1f296b3 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: ffffffff8c7daca0 R15: 0000000000000246 fs_reclaim_acquire+0x75/0xd0 mm/page_alloc.c:4349 might_alloc include/linux/sched/mm.h:194 [inline] slab_pre_alloc_hook mm/slab.h:497 [inline] slab_alloc_node mm/slub.c:2826 [inline] slab_alloc mm/slub.c:2915 [inline] kmem_cache_alloc+0x3a/0x350 mm/slub.c:2920 mmu_memory_cache_alloc_obj arch/x86/kvm/../../../virt/kvm/kvm_main.c:351 [inline] kvm_mmu_topup_memory_cache+0xdb/0x290 arch/x86/kvm/../../../virt/kvm/kvm_main.c:363 mmu_topup_memory_caches arch/x86/kvm/mmu/mmu.c:679 [inline] kvm_mmu_load+0xd2/0x1090 arch/x86/kvm/mmu/mmu.c:4802 kvm_mmu_reload arch/x86/kvm/mmu.h:81 [inline] vcpu_enter_guest+0x5dd3/0x8b50 arch/x86/kvm/x86.c:9061 vcpu_run+0x316/0xb70 arch/x86/kvm/x86.c:9282 kvm_arch_vcpu_ioctl_run+0x4e8/0xa40 arch/x86/kvm/x86.c:9510 kvm_vcpu_ioctl+0x62a/0xa30 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3316 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x466459 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:00007fc28c507188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007fff3266657f R14: 00007fc28c507300 R15: 0000000000022000