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: 8 Comm: rcu_sched 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: ffff8801d9f4a200 RBX: 00000000001606f0 RCX: ffffffff811a2d22 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 00000000001606f0 RBP: ffff8801db207ca8 R08: ffff8801d9f57280 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000006 R13: ffff8801d9f4a200 R14: ffff8801db21a130 R15: ffff8801db21a130 FS: 0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5985c05000 CR3: 0000000006225002 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:arch_local_irq_enable arch/x86/include/asm/paravirt.h:787 [inline] RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] RIP: 0010:_raw_spin_unlock_irq+0x56/0x70 kernel/locking/spinlock.c:199 RSP: 0018:ffff8801d9f577a8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff04 RAX: dffffc0000000000 RBX: ffffffff86348200 RCX: 0000000000000000 RDX: 1ffffffff0c59733 RSI: 0000000000000001 RDI: ffffffff862cb998 RBP: ffff8801d9f577b0 R08: ffff8801d9f57280 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffed003b3eaf23 R14: dffffc0000000000 R15: ffffffff86348200 rcu_gp_cleanup kernel/rcu/tree.c:2129 [inline] rcu_gp_kthread+0xbf8/0x18e0 kernel/rcu/tree.c:2280 kthread+0x37a/0x440 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:524 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 c6a2fb7419f080ff ]--- Kernel panic - not syncing: Fatal exception in interrupt kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#2] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 3399 Comm: syz-executor6 Tainted: G D 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:ffff8801db307e88 EFLAGS: 00010082 RAX: dffffc0000000000 RBX: 00000000001606e0 RCX: 0000000000000000 RDX: 1ffffffff0c59710 RSI: ffff8801db307f00 RDI: 00000000001606e0 RBP: ffff8801db307e88 R08: ffff8801db307f40 R09: ffff8801db307f80 R10: ffff8801bdb1efc8 R11: ffffed0037b63d83 R12: 0000000000000082 R13: 1ffff1003b660fd4 R14: 1ffff1003b660fe0 R15: ffff8801db307fc0 FS: 00007f69b1646700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5985c06000 CR3: 0000000006225003 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] cpu_vmxoff arch/x86/include/asm/virtext.h:44 [inline] __cpu_emergency_vmxoff arch/x86/include/asm/virtext.h:59 [inline] cpu_emergency_vmxoff arch/x86/include/asm/virtext.h:67 [inline] smp_reboot_interrupt+0x3ea/0x510 arch/x86/kernel/smp.c:179 reboot_interrupt+0xa9/0xb0 arch/x86/entry/entry_64.S:913 RIP: 0010:rep_nop arch/x86/include/asm/processor.h:659 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/processor.h:664 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:108 [inline] RIP: 0010:smp_call_function_single+0x364/0x560 kernel/smp.c:302 RSP: 0018:ffff8801bdb1ee60 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff07 RAX: ffff8801d8f780c0 RBX: 1ffff10037b63dd4 RCX: ffffffff81651132 RDX: 0000000000000000 RSI: 00000000000000fb RDI: ffff8801bdb1ef58 RBP: ffff8801bdb1efb0 R08: ffff8801bdb1ec08 R09: ffff8801d8f780c0 R10: ffff8801bdb1efc8 R11: ffffed0037b63d83 R12: ffff8801bdb1ef58 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffed0037b63de0 smp_call_function_many+0x773/0x930 kernel/smp.c:434 smp_call_function kernel/smp.c:492 [inline] on_each_cpu+0x3d/0x1b0 kernel/smp.c:602 hardware_disable_all_nolock+0x3e/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3301 hardware_disable_all arch/x86/kvm/../../../virt/kvm/kvm_main.c:3307 [inline] kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:734 [inline] kvm_put_kvm+0x956/0xde0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:747 kvm_vm_release+0x42/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:758 __fput+0x333/0x7f0 fs/file_table.c:210 ____fput+0x15/0x20 fs/file_table.c:244 task_work_run+0x199/0x270 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x9bb/0x1ae0 kernel/exit.c:869 do_group_exit+0x149/0x400 kernel/exit.c:972 get_signal+0x73f/0x16c0 kernel/signal.c:2337 do_signal+0x94/0x1ee0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0x258/0x2f0 arch/x86/entry/common.c:161 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath+0x490/0x550 arch/x86/entry/common.c:264 entry_SYSCALL_64_fastpath+0x94/0x96 RIP: 0033:0x452a39 RSP: 002b:00007f69b1645ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 0000000000758100 RCX: 0000000000452a39 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000758100 RBP: 0000000000758100 R08: 0000000000000000 R09: 00000000007580d8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe173d109f R14: 00007f69b16469c0 R15: 0000000000000003 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: ffff8801db307e88 ---[ end trace c6a2fb7419f08100 ]--- Shutting down cpus with NMI invalid opcode: 0000 [#3] SMP KASAN Dumping ftrace buffer: (ftrac[i n k e2d7 i.n9:21