audit: type=1400 audit(1513519940.368:8): avc: denied { map } for pid=3117 comm="syz-execprog" path="/root/syzkaller-shm359063531" dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file permissive=1 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: 1599 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: ffff880214e30700 RBX: 00000000001606e0 RCX: ffffffff8108d968 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 00000000001606e0 RBP: ffff88021fd03f20 R08: 0000000000000001 R09: 0000000000000002 R10: ffffc90000fbfa20 R11: 0000000000000002 R12: 0000000000000006 R13: ffff880214e30700 R14: ffffffff81026eb0 R15: 0000000000000000 FS: 00007f4b9c5337a0(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4b9c53a000 CR3: 0000000214104004 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+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:__sanitizer_cov_trace_pc+0x0/0x50 RSP: 0018:ffffc90000fbfb10 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff04 RAX: ffff880214e30700 RBX: 0000000000000000 RCX: ffffffff8164c6ee RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000286 RBP: ffffc90000fbfb60 R08: 0000000000000000 R09: 0000000000000002 R10: ffffc90000fbfa20 R11: 0000000000000002 R12: 0000000000000000 R13: 0000000000800004 R14: ffff880214ea7280 R15: 0000000000000000 security_inode_permission+0x56/0x80 security/security.c:697 __inode_permission+0x86/0x1f0 fs/namei.c:433 inode_permission+0x25/0x70 fs/namei.c:475 may_o_create fs/namei.c:3014 [inline] lookup_open+0x678/0x920 fs/namei.c:3171 do_last fs/namei.c:3309 [inline] path_openat+0x532/0x1050 fs/namei.c:3537 do_filp_open+0xaa/0x120 fs/namei.c:3572 do_sys_open+0x280/0x340 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:0x7f4b9bc3b120 RSP: 002b:00007fff4911f668 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00000000022b7b30 RCX: 00007f4b9bc3b120 RDX: 00000000000001b6 RSI: 0000000000000242 RDI: 00007fff4911f760 RBP: 00007fff4911f6e0 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff4911f760 R14: 00000000000005cc R15: 00000000022fcc70 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 05de1c55ce918f18 ]---