kvm: KVM_SET_TSS_ADDR need to be called before entering vcpu kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 1770 Comm: udevd Not tainted 4.15.0-rc6+ #245 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:ffff8801db307ca8 EFLAGS: 00010006 RAX: ffff8801d0150040 RBX: 00000000001606e0 RCX: ffffffff811a3242 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 00000000001606e0 RBP: ffff8801db307ca8 R08: 0000000000000000 R09: 1ffff1003a02bea6 R10: ffff8801d015f4f8 R11: 0000000000000002 R12: 0000000000000006 R13: ffff8801d0150040 R14: ffff8801db31a130 R15: ffff8801db31a130 FS: 00007f3391e097a0(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3391e10000 CR3: 00000001d00b2003 CR4: 00000000001626e0 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+0x34a/0x4b0 arch/x86/kvm/vmx.c:3588 kvm_arch_hardware_disable+0x35/0xd0 arch/x86/kvm/x86.c:8004 hardware_disable_nolock+0x30/0x40 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3310 flush_smp_call_function_queue+0x1f4/0x570 kernel/smp.c:243 generic_smp_call_function_single_interrupt+0x13/0x30 kernel/smp.c:192 smp_call_function_single_interrupt+0x103/0x640 arch/x86/kernel/smp.c:295 call_function_single_interrupt+0xa9/0xb0 arch/x86/entry/entry_64.S:942 RIP: 0010:shmem_unacct_size mm/shmem.c:154 [inline] RIP: 0010:shmem_evict_inode+0x31c/0xb30 mm/shmem.c:1065 RSP: 0018:ffff8801d015f410 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff04 RAX: dffffc0000000000 RBX: ffff8801d015f628 RCX: ffffffff81947ae4 RDX: 1ffff100382f9e08 RSI: 0000000000000003 RDI: ffff8801c17cf040 RBP: ffff8801d015f650 R08: 0000000000000000 R09: 1ffff1003a02bea6 R10: ffff8801d015f4f8 R11: 0000000000000002 R12: 1ffff1003a02be89 R13: ffff8801c17cf100 R14: ffff8801d1062940 R15: ffff8801c17cf000 evict+0x481/0x920 fs/inode.c:553 iput_final fs/inode.c:1515 [inline] iput+0x7b9/0xaf0 fs/inode.c:1542 dentry_unlink_inode+0x4b0/0x5e0 fs/dcache.c:375 __dentry_kill+0x3b7/0x6d0 fs/dcache.c:572 dentry_kill fs/dcache.c:613 [inline] dput.part.23+0x5a0/0x830 fs/dcache.c:823 dput+0x1f/0x30 fs/dcache.c:787 SYSC_renameat2 fs/namei.c:4597 [inline] SyS_renameat2 fs/namei.c:4482 [inline] SYSC_rename fs/namei.c:4633 [inline] SyS_rename+0x909/0xc90 fs/namei.c:4631 entry_SYSCALL_64_fastpath+0x23/0x9a RIP: 0033:0x7f3391496527 RSP: 002b:00007fffde0b1988 EFLAGS: 00000206 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f3391496527 RDX: 0000000000000000 RSI: 00007fffde0b1dd0 RDI: 00007fffde0b19d0 RBP: 00000000014ce7a0 R08: 00000000004207f1 R09: 00007f3391566e00 R10: 0000000000000022 R11: 0000000000000206 R12: 00007fffde0b19c9 R13: 0000000000000008 R14: 0000000000000008 R15: 00007fffde0b19c8 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: ffff8801db307ca8 ---[ end trace 734270f536bd5f1a ]---