kvm: vcpu 0: requested 34784 ns lapic timer period limited to 200000 ns kvm: vcpu 0: requested 34784 ns lapic timer period limited to 200000 ns ------------[ cut here ]------------ kernel BUG at arch/x86/kvm/x86.c:357! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8792 Comm: syz-executor0 Not tainted 5.0.0-rc3+ #44 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kvm_spurious_fault+0x9/0x10 arch/x86/kvm/x86.c:357 Code: e8 3c 24 76 00 41 bd 03 00 00 00 5b 44 89 e8 41 5c 41 5d 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 17 24 76 00 <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 49 89 d6 41 55 41 54 RSP: 0018:ffff88805900f230 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90005ffc000 RDX: 00000000000263ff RSI: ffffffff810bdcb9 RDI: 0000000000000007 RBP: ffff88805900f230 R08: ffff8880531b8080 R09: fffff5200182e247 R10: fffff5200182e246 R11: ffffc9000c171237 R12: 0000000000000000 R13: ffff888098ad4000 R14: ffff88805900f300 R15: ffff8880a8646000 FS: 00007f5f86e04700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff88805900f300 CR3: 000000009fc66000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_static_branch arch/x86/include/asm/jump_label.h:23 [inline] vmcs_load arch/x86/kvm/vmx/ops.h:200 [inline] vmx_vcpu_load+0x4e9/0x1030 arch/x86/kvm/vmx/vmx.c:1255 kvm_arch_vcpu_load+0x241/0x970 arch/x86/kvm/x86.c:3207 kvm_sched_in+0x82/0xa0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4111 __fire_sched_in_preempt_notifiers kernel/sched/core.c:2487 [inline] fire_sched_in_preempt_notifiers kernel/sched/core.c:2493 [inline] finish_task_switch+0x3c7/0xac0 kernel/sched/core.c:2685 context_switch kernel/sched/core.c:2834 [inline] __schedule+0x89f/0x1e60 kernel/sched/core.c:3472 schedule+0xfe/0x350 kernel/sched/core.c:3516 kvm_vcpu_block+0x210/0x1010 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2279 vcpu_block arch/x86/kvm/x86.c:7924 [inline] vcpu_run arch/x86/kvm/x86.c:7973 [inline] kvm_arch_vcpu_ioctl_run+0x7ce/0x16e0 arch/x86/kvm/x86.c:8171 kvm_vcpu_ioctl+0x558/0x12d0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2678 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x107b/0x17d0 fs/ioctl.c:696 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458099 Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f5f86e03c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458099 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5f86e046d4 R13: 00000000004c1016 R14: 00000000004d2d18 R15: 00000000ffffffff Modules linked in: kobject: 'loop3' (000000005665881d): kobject_uevent_env ---[ end trace a3a906b49929c7b6 ]--- RIP: 0010:kvm_spurious_fault+0x9/0x10 arch/x86/kvm/x86.c:357 Code: e8 3c 24 76 00 41 bd 03 00 00 00 5b 44 89 e8 41 5c 41 5d 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 17 24 76 00 <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 49 89 d6 41 55 41 54 kobject: 'loop3' (000000005665881d): fill_kobj_path: path = '/devices/virtual/block/loop3' RSP: 0018:ffff88805900f230 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90005ffc000 RDX: 00000000000263ff RSI: ffffffff810bdcb9 RDI: 0000000000000007 RBP: ffff88805900f230 R08: ffff8880531b8080 R09: fffff5200182e247 R10: fffff5200182e246 R11: ffffc9000c171237 R12: 0000000000000000 R13: ffff888098ad4000 R14: ffff88805900f300 R15: ffff8880a8646000 kobject: 'kvm' (00000000557c8c44): kobject_uevent_env FS: 00007f5f86e04700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff88805900f300 CR3: 000000009fc66000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 kobject: 'kvm' (00000000557c8c44): fill_kobj_path: path = '/devices/virtual/misc/kvm' DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400