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: 0 PID: 3133 Comm: udevd Not tainted 4.15.0-rc2-mm1+ #39 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: ffff8801c76ec080 RBX: 00000000001606f0 RCX: ffffffff811a2d22 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 00000000001606f0 RBP: ffff8801db207ca8 R08: 0000000000000002 R09: 0000000000000006 R10: 0000000000000000 R11: ffffffff87892d20 R12: 0000000000000006 R13: ffff8801c76ec080 R14: ffff8801db21a130 R15: ffff8801db21a130 FS: 00007fb6346d57a0(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb6346dc000 CR3: 00000001c71fa004 CR4: 00000000001626f0 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:7969 hardware_disable_nolock+0x30/0x40 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3283 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:index_inside_part lib/flex_array.c:161 [inline] RIP: 0010:flex_array_get+0x1ab/0x230 lib/flex_array.c:332 RSP: 0018:ffff8801c72af4f8 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff04 RAX: 0000000000000000 RBX: ffff8801d1222880 RCX: ffffffff825094c5 RDX: 1ffff1003a244511 RSI: 0000000000000001 RDI: ffff8801d1222888 RBP: ffff8801c72af528 R08: 0000000000000002 R09: 0000000000000006 R10: 0000000000000000 R11: ffffffff87892d20 R12: 0000000000000001 R13: ffff8801d1222898 R14: 0000000000000008 R15: 0000000000000000 flex_array_get_ptr+0x1d/0x60 lib/flex_array.c:349 sym_name security/selinux/ss/policydb.h:374 [inline] context_struct_to_string+0x1c2/0x720 security/selinux/ss/services.c:1211 security_sid_to_context_core+0x18a/0x250 security/selinux/ss/services.c:1291 security_sid_to_context_force+0x28/0x30 security/selinux/ss/services.c:1316 selinux_inode_init_security+0x546/0x840 security/selinux/hooks.c:2969 security_inode_init_security+0x164/0x390 security/security.c:480 shmem_mknod+0x9b/0x1b0 mm/shmem.c:2998 shmem_create+0x2b/0x40 mm/shmem.c:3053 lookup_open+0x11d0/0x1900 fs/namei.c:3218 do_last fs/namei.c:3309 [inline] path_openat+0xd7c/0x3530 fs/namei.c:3537 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+0x1f/0x96 RIP: 0033:0x7fb633ddd120 RSP: 002b:00007ffc0476e7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000001023f20 RCX: 00007fb633ddd120 RDX: 00000000000001b6 RSI: 0000000000080241 RDI: 00007ffc0476eca0 RBP: 0000000000000005 R08: 0000000000000004 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000001000 R13: 0000000000f02150 R14: 00007ffc0476d198 R15: 0000000000000000 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 edba63d16d698875 ]---