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: 0 PID: 3642 Comm: udevd Not tainted 4.15.0-rc7-next-20180112+ #96 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:ffff8801db207ca8 EFLAGS: 00010006 RAX: ffff8801bccf4300 RBX: 00000000001606f0 RCX: ffffffff811a4b82 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 00000000001606f0 RBP: ffff8801db207ca8 R08: 000060fe24a02930 R09: ffffed003acdae62 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000006 R13: ffff8801bccf4300 R14: ffff8801db21d130 R15: ffff8801db21d130 FS: 00007f13b97b17a0(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f13b97b8000 CR3: 00000001be364006 CR4: 00000000001626f0 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:3737 [inline] hardware_disable+0x34a/0x4b0 arch/x86/kvm/vmx.c:3743 kvm_arch_hardware_disable+0x35/0xd0 arch/x86/kvm/x86.c:8110 hardware_disable_nolock+0x30/0x40 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3284 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:948 RIP: 0010:memset_erms+0xb/0x10 arch/x86/lib/memset_64.S:66 RSP: 0018:ffff8801bcc87848 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff04 RAX: 1ffff1003acdaefc RBX: 1ffff1003acdae62 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00000000000000fc RDI: ffffed003acdae62 RBP: ffff8801bcc87880 R08: 000060fe24a02930 R09: ffffed003acdae62 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801d66d7300 R13: 00000000014080c0 R14: ffff8801d66d7310 R15: ffff8801dae270c0 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:489 slab_post_alloc_hook mm/slab.h:443 [inline] slab_alloc mm/slab.c:3379 [inline] kmem_cache_alloc+0x11b/0x760 mm/slab.c:3539 kmem_cache_zalloc include/linux/slab.h:694 [inline] file_alloc_security security/selinux/hooks.c:369 [inline] selinux_file_alloc_security+0xae/0x190 security/selinux/hooks.c:3455 security_file_alloc+0x6d/0xa0 security/security.c:873 get_empty_filp+0x189/0x4f0 fs/file_table.c:128 path_openat+0xed/0x3530 fs/namei.c:3514 do_filp_open+0x25b/0x3b0 fs/namei.c:3572 do_sys_open+0x502/0x6d0 fs/open.c:1059 SYSC_open fs/open.c:1077 [inline] SyS_open+0x2d/0x40 fs/open.c:1072 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x7f13b8eb9120 RSP: 002b:00007ffe13a22f98 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffe13a22d50 RCX: 00007f13b8eb9120 RDX: 00007ffe13a22fb0 RSI: 0000000000000002 RDI: 00007ffe13a22fa0 RBP: 00007ffe13a22d40 R08: 0000000000000008 R09: 0000000001a84010 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe13a22ec0 R14: 00007f13b9392e00 R15: ffffffffffffff00 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: ffff8801db207ca8 ---[ end trace 874a7cffceb5a6a2 ]---