pte_list_remove: ffff8801d3627078 0->BUG ------------[ cut here ]------------ kernel BUG at arch/x86/kvm/mmu.c:1192! invalid opcode: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 4296 Comm: syz-executor5 Not tainted 4.13.0-rc2+ #10 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d5264740 task.stack: ffff8801cf150000 RIP: 0010:pte_list_remove+0x3ae/0x3c0 arch/x86/kvm/mmu.c:1191 RSP: 0018:ffff8801cf156920 EFLAGS: 00010286 RAX: 0000000000000028 RBX: ffff8801c5dd9ac0 RCX: 0000000000000000 RDX: 0000000000000028 RSI: 1ffff10039e2ace4 RDI: ffffed0039e2ad18 RBP: ffff8801cf156960 R08: 0000000000000001 R09: 0000000000000000 R10: ffff8801cf156cc8 R11: 0000000000000000 R12: 000000000000000f R13: 0000000000000000 R14: ffff8801c685dcf0 R15: ffff8801c685dd18 FS: 0000000000000000(0000) GS:ffff8801dc000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000b211f8 CR3: 00000001d360a000 CR4: 00000000001426f0 Call Trace: rmap_remove arch/x86/kvm/mmu.c:1268 [inline] drop_spte+0x16c/0x270 arch/x86/kvm/mmu.c:1350 mmu_page_zap_pte+0x224/0x350 arch/x86/kvm/mmu.c:2482 kvm_mmu_page_unlink_children arch/x86/kvm/mmu.c:2504 [inline] kvm_mmu_prepare_zap_page+0x1b7/0x1260 arch/x86/kvm/mmu.c:2548 kvm_zap_obsolete_pages arch/x86/kvm/mmu.c:5223 [inline] kvm_mmu_invalidate_zap_all_pages+0x4a0/0x680 arch/x86/kvm/mmu.c:5264 kvm_arch_flush_shadow_all+0x15/0x20 arch/x86/kvm/x86.c:8394 kvm_mmu_notifier_release+0x59/0x90 arch/x86/kvm/../../../virt/kvm/kvm_main.c:508 __mmu_notifier_release+0x1d5/0x690 mm/mmu_notifier.c:75 mmu_notifier_release include/linux/mmu_notifier.h:235 [inline] exit_mmap+0x3a3/0x470 mm/mmap.c:2972 __mmput kernel/fork.c:903 [inline] mmput+0x223/0x6e0 kernel/fork.c:925 exit_mm kernel/exit.c:544 [inline] do_exit+0x981/0x1b10 kernel/exit.c:852 do_group_exit+0x149/0x400 kernel/exit.c:969 get_signal+0x7e8/0x17e0 kernel/signal.c:2330 do_signal+0x94/0x1ee0 arch/x86/kernel/signal.c:808 exit_to_usermode_loop+0x21c/0x2d0 arch/x86/entry/common.c:157 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath+0x3a7/0x450 arch/x86/entry/common.c:263 entry_SYSCALL_64_fastpath+0xbc/0xbe RIP: 0033:0x4511b7 RSP: 002b:00007fb394c19038 EFLAGS: 00000206 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 0000000000000017 RCX: 00000000004511b7 RDX: 00007fb394c194b0 RSI: 000000004020ae46 RDI: 0000000000000005 RBP: 00000000201c9000 R08: 0000000000000001 R09: 0000000000000041 R10: 00000000000f4247 R11: 0000000000000206 R12: 00000000fec00000 R13: 0000000000000005 R14: 0000000000000005 R15: 0000000020000000 Code: c9 4e 5e 00 48 8b 75 d0 48 c7 c7 a0 57 62 84 e8 be c3 49 00 0f 0b e8 b2 4e 5e 00 48 8b 75 d0 48 c7 c7 60 57 62 84 e8 a7 c3 49 00 <0f> 0b 4c 89 ef e8 28 99 8f 00 e9 01 fe ff ff 0f 1f 00 55 48 89 RIP: pte_list_remove+0x3ae/0x3c0 arch/x86/kvm/mmu.c:1191 RSP: ffff8801cf156920 ---[ end trace 7a4db6a8a909f7fa ]---