------------[ cut here ]------------ kernel BUG at arch/x86/kvm/x86.c:357! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 16220 Comm: syz-executor.4 Not tainted 5.0.0-rc7-next-20190222 #41 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 4c 40 66 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 27 40 66 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:ffff88809242f790 EFLAGS: 00010202 RAX: 0000000000040000 RBX: ffff888054ba7808 RCX: ffffc9000e880000 RDX: 00000000000011f0 RSI: ffffffff810a1569 RDI: 0000000000000007 RBP: ffff88809242f790 R08: ffff8880a5364000 R09: ffff88805c994000 R10: ffffed100b9329ff R11: ffff88805c994fff R12: 1ffff11012485ef5 R13: ffff88805c994000 R14: ffff88809242f808 R15: 000000000000ae41 FS: 00007f60c1f26700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f60c1ee3db8 CR3: 000000009bb90000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vmcs_clear arch/x86/kvm/vmx/ops.h:185 [inline] loaded_vmcs_init+0x95/0x250 arch/x86/kvm/vmx/vmx.c:570 alloc_loaded_vmcs+0x86/0x180 arch/x86/kvm/vmx/vmx.c:2444 vmx_create_vcpu+0x24e/0x2580 arch/x86/kvm/vmx/vmx.c:6611 kvm_arch_vcpu_create+0x80/0x120 arch/x86/kvm/x86.c:8729 kvm_vm_ioctl_create_vcpu arch/x86/kvm/../../../virt/kvm/kvm_main.c:2569 [inline] kvm_vm_ioctl+0x5ce/0x1900 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3100 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0xd6e/0x1390 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+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457e29 Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f60c1f25c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457e29 RDX: 0000000000000000 RSI: 000000000000ae41 RDI: 0000000000000004 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f60c1f266d4 R13: 00000000004c0924 R14: 00000000004d2738 R15: 00000000ffffffff Modules linked in: ---[ end trace a1d231c7fef6d920 ]--- RIP: 0010:kvm_spurious_fault+0x9/0x10 arch/x86/kvm/x86.c:357 Code: e8 4c 40 66 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 27 40 66 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:ffff88809242f790 EFLAGS: 00010202 RAX: 0000000000040000 RBX: ffff888054ba7808 RCX: ffffc9000e880000 RDX: 00000000000011f0 RSI: ffffffff810a1569 RDI: 0000000000000007 RBP: ffff88809242f790 R08: ffff8880a5364000 R09: ffff88805c994000 R10: ffffed100b9329ff R11: ffff88805c994fff R12: 1ffff11012485ef5 R13: ffff88805c994000 R14: ffff88809242f808 R15: 000000000000ae41 FS: 00007f60c1f26700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f30e4c26000 CR3: 000000009bb90000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400