kvm: KVM_SET_TSS_ADDR need to be called before entering vcpu general protection fault: 0000 [#1] SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 1757 Comm: udevd Not tainted 4.15.0-rc3-next-20171214+ #67 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:native_write_cr4+0x4/0x10 arch/x86/include/asm/special_insns.h:76 RSP: 0018:ffff88021fd03f20 EFLAGS: 00010006 RAX: ffff880214e2a1c0 RBX: 00000000001606e0 RCX: ffffffff8108d968 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 00000000001606e0 RBP: ffff88021fd03f20 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000006 R13: ffff880214e2a1c0 R14: ffffffff81026eb0 R15: 0000000000000000 FS: 00007faf2e0f97a0(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faf2e100000 CR3: 0000000211a5a005 CR4: 00000000001626e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __write_cr4 arch/x86/include/asm/paravirt.h:76 [inline] __cr4_set arch/x86/include/asm/tlbflush.h:252 [inline] cr4_clear_bits arch/x86/include/asm/tlbflush.h:275 [inline] kvm_cpu_vmxoff arch/x86/kvm/vmx.c:3582 [inline] hardware_disable+0x1a0/0x210 arch/x86/kvm/vmx.c:3588 kvm_arch_hardware_disable+0x14/0x50 arch/x86/kvm/x86.c:7983 hardware_disable_nolock+0x30/0x40 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3291 flush_smp_call_function_queue+0x95/0x1e0 kernel/smp.c:243 generic_smp_call_function_single_interrupt+0x13/0x30 kernel/smp.c:192 smp_call_function_single_interrupt+0x42/0x240 arch/x86/kernel/smp.c:295 call_function_single_interrupt+0xa9/0xb0 arch/x86/entry/entry_64.S:942 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:777 [inline] RIP: 0010:kfree+0xed/0x220 mm/slab.c:3808 RSP: 0018:ffffc9000136fb78 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff04 RAX: ffff880214e2a1c0 RBX: ffff880216710580 RCX: 0000000000000006 RDX: 0000000000000604 RSI: ffff880214e2aa58 RDI: 0000000000000286 RBP: ffffc9000136fb90 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000286 R13: ffff880217800180 R14: ffff8802140a4780 R15: ffffc9000136fbb0 security_context_to_sid_core+0xbd/0x260 security/selinux/ss/services.c:1460 security_context_to_sid_force+0x33/0x40 security/selinux/ss/services.c:1517 selinux_inode_post_setxattr+0x5d/0x140 security/selinux/hooks.c:3253 security_inode_post_setxattr+0x5f/0x80 security/security.c:749 __vfs_setxattr_noperm+0x1e0/0x200 fs/xattr.c:184 vfs_setxattr+0xb4/0xc0 fs/xattr.c:224 setxattr+0x19f/0x220 fs/xattr.c:453 path_setxattr+0xbd/0xd0 fs/xattr.c:472 SYSC_lsetxattr fs/xattr.c:494 [inline] SyS_lsetxattr+0x38/0x50 fs/xattr.c:490 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x7faf2d80bffa RSP: 002b:00007ffc9c6c8728 EFLAGS: 00000206 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007faf2dab7e98 RCX: 00007faf2d80bffa RDX: 00000000022ebf30 RSI: 00007faf2dcdaf69 RDI: 00007ffc9c6c9180 RBP: 00007faf2dab7e40 R08: 0000000000000000 R09: 0000000000001fff R10: 000000000000001e R11: 0000000000000206 R12: 00007faf2dab7ec8 R13: 00000000022ebf20 R14: 0000000000000040 R15: 0000000000000010 Code: 0f 1f 80 00 00 00 00 55 48 89 e5 0f 20 d8 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 0f 22 df 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 <0f> 22 e7 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 44 0f 20 c0 5d RIP: native_write_cr4+0x4/0x10 arch/x86/include/asm/special_insns.h:76 RSP: ffff88021fd03f20 ---[ end trace 6c2d75ec41e49952 ]---