kvm: KVM_SET_TSS_ADDR need to be called before entering vcpu WARNING: CPU: 0 PID: 3574 at arch/x86/kvm/x86.c:7375 kvm_arch_vcpu_ioctl_run+0x1c7/0x5cb0 arch/x86/kvm/x86.c:7375 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 3574 Comm: syz-executor4 Not tainted 4.15.0-rc4-next-20171221+ #78 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 WARNING: CPU: 1 PID: 3586 at arch/x86/kvm/x86.c:7375 kvm_arch_vcpu_ioctl_run+0x1c7/0x5cb0 arch/x86/kvm/x86.c:7375 Modules linked in: CPU: 1 PID: 3586 Comm: syz-executor6 Not tainted 4.15.0-rc4-next-20171221+ #78 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kvm_arch_vcpu_ioctl_run+0x1c7/0x5cb0 arch/x86/kvm/x86.c:7375 RSP: 0018:ffff8801d024f6b0 EFLAGS: 00010293 RAX: ffff8801d0760640 RBX: ffff8801d0006000 RCX: ffffffff810df6b7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8801cff21d20 RBP: ffff8801d024fa40 R08: 1ffff10039fe4e3b R09: 0000000000000001 R10: ffff8801d024f690 R11: 0000000000000004 R12: 0000000000000000 R13: ffff8801d51b7800 R14: ffff8801cff21b00 R15: ffff8801cff21b00 FS: 00007f001199b700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f443e885db8 CR3: 00000001be1d6006 CR4: 00000000001626e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvm_vcpu_ioctl+0x6f1/0xff0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2554 vfs_ioctl fs/ioctl.c:46 [inline] do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:686 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452ac9 RSP: 002b:00007f001199ac58 EFLAGS: 00000212 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452ac9 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000004 RBP: 00000000000001fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f1028 R13: 00000000ffffffff R14: 00007f001199b6d4 R15: 0000000000000000 Code: 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 00 59 00 00 49 83 bf 98 2b 00 00 00 0f 84 71 21 00 00 e8 29 3c 62 00 <0f> ff e8 22 3c 62 00 48 8d 7b 01 48 b8 00 00 00 00 00 fc ff df ---[ end trace bc1224196aa9c837 ]--- WARNING: CPU: 1 PID: 3605 at arch/x86/kvm/x86.c:7375 kvm_arch_vcpu_ioctl_run+0x1c7/0x5cb0 arch/x86/kvm/x86.c:7375 Modules linked in: CPU: 1 PID: 3605 Comm: syz-executor1 Tainted: G W 4.15.0-rc4-next-20171221+ #78 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kvm_arch_vcpu_ioctl_run+0x1c7/0x5cb0 arch/x86/kvm/x86.c:7375 RSP: 0018:ffff8801d050f6b0 EFLAGS: 00010293 RAX: ffff8801cfe183c0 RBX: ffff8801d4174000 RCX: ffffffff810df6b7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8801cf129fe0 RBP: ffff8801d050fa40 R08: 1ffff10039e25e93 R09: 0000000000000001 R10: ffff8801d050f690 R11: 0000000000000004 R12: 0000000000000000 R13: ffff8801c5973a00 R14: ffff8801cf129dc0 R15: ffff8801cf129dc0 FS: 00007f26a9836700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f32fca36000 CR3: 00000001d6340001 CR4: 00000000001626e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvm_vcpu_ioctl+0x6f1/0xff0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2554 vfs_ioctl fs/ioctl.c:46 [inline] do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:686 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452ac9 RSP: 002b:00007f26a9835c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452ac9 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000004 RBP: 00000000000003a3 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f37e8 R13: 00000000ffffffff R14: 00007f26a98366d4 R15: 0000000000000000 Code: 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 00 59 00 00 49 83 bf 98 2b 00 00 00 0f 84 71 21 00 00 e8 29 3c 62 00 <0f> ff e8 22 3c 62 00 48 8d 7b 01 48 b8 00 00 00 00 00 fc ff df ---[ end trace bc1224196aa9c838 ]--- Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 panic+0x1e4/0x41c kernel/panic.c:183 __warn+0x1dc/0x200 kernel/panic.c:547 report_bug+0x211/0x2d0 lib/bug.c:184 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:177 fixup_bug arch/x86/kernel/traps.c:246 [inline] do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:295 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314 invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:1079 RIP: 0010:kvm_arch_vcpu_ioctl_run+0x1c7/0x5cb0 arch/x86/kvm/x86.c:7375 RSP: 0018:ffff8801d001f6b0 EFLAGS: 00010293 RAX: ffff8801d0b842c0 RBX: ffff8801d2c95000 RCX: ffffffff810df6b7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8801d05e9be0 RBP: ffff8801d001fa40 R08: 1ffff1003a0bde13 R09: 0000000000000001 R10: ffff8801d001f690 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8801d51b7b00 R14: ffff8801d05e99c0 R15: ffff8801d05e99c0 kvm_vcpu_ioctl+0x6f1/0xff0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2554 vfs_ioctl fs/ioctl.c:46 [inline] do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:686 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452ac9 RSP: 002b:00007f783a4fec58 EFLAGS: 00000212 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452ac9 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000004 RBP: 00000000000003a3 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f37e8 R13: 00000000ffffffff R14: 00007f783a4ff6d4 R15: 0000000000000000 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..