pte_list_remove: 0000000067f113ab 0->BUG ------------[ cut here ]------------ kernel BUG at arch/x86/kvm/mmu.c:1208! invalid opcode: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 3592 Comm: syzkaller909625 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pte_list_remove+0x3ae/0x3c0 arch/x86/kvm/mmu.c:1207 RSP: 0018:ffff8801c1dd6f30 EFLAGS: 00010286 RAX: 0000000000000028 RBX: ffff8801c1511740 RCX: 0000000000000000 RDX: 0000000000000028 RSI: 1ffff100383bada6 RDI: ffffed00383badda RBP: ffff8801c1dd6f70 R08: 1ffff100383bad68 R09: 0000000000000000 R10: 000000000000000b R11: 0000000000000000 R12: ffff8801c0fb6000 R13: 0000000000000000 R14: ffff8801c2f09a38 R15: ffff8801c2f09a60 FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4e087d7000 CR3: 00000001c1a27000 CR4: 00000000001426e0 Call Trace: rmap_remove arch/x86/kvm/mmu.c:1284 [inline] drop_spte+0x15a/0x250 arch/x86/kvm/mmu.c:1366 mmu_page_zap_pte+0x224/0x340 arch/x86/kvm/mmu.c:2498 kvm_mmu_page_unlink_children arch/x86/kvm/mmu.c:2520 [inline] kvm_mmu_prepare_zap_page+0x1c5/0x1310 arch/x86/kvm/mmu.c:2564 kvm_zap_obsolete_pages arch/x86/kvm/mmu.c:5325 [inline] kvm_mmu_invalidate_zap_all_pages+0x4a0/0x680 arch/x86/kvm/mmu.c:5366 kvm_arch_flush_shadow_all+0x15/0x20 arch/x86/kvm/x86.c:8484 kvm_mmu_notifier_release+0x59/0x90 arch/x86/kvm/../../../virt/kvm/kvm_main.c:466 __mmu_notifier_release+0x1d5/0x690 mm/mmu_notifier.c:75 mmu_notifier_release include/linux/mmu_notifier.h:225 [inline] exit_mmap+0x42d/0x530 mm/mmap.c:2998 __mmput kernel/fork.c:971 [inline] mmput+0x223/0x6c0 kernel/fork.c:992 exit_mm kernel/exit.c:544 [inline] do_exit+0x90a/0x1ae0 kernel/exit.c:856 do_group_exit+0x149/0x400 kernel/exit.c:972 SYSC_exit_group kernel/exit.c:983 [inline] SyS_exit_group+0x1d/0x20 kernel/exit.c:981 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x449519 RSP: 002b:00007fff95356c78 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f81cea5b700 RCX: 0000000000449519 RDX: 0000000000447be1 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fff95356c20 R08: 00000000006dfbc0 R09: 0000000000000000 R10: 00000000006dfb44 R11: 0000000000000202 R12: 0000000000000000 R13: 00007fff95356c1f R14: 00007f81cea5b9c0 R15: 0000000000000000 Code: d9 18 61 00 48 8b 75 d0 48 c7 c7 00 61 62 85 e8 61 d9 4a 00 0f 0b e8 c2 18 61 00 48 8b 75 d0 48 c7 c7 c0 60 62 85 e8 4a d9 4a 00 <0f> 0b 4c 89 ef e8 e8 b6 97 00 e9 01 fe ff ff 0f 1f 00 55 48 89 RIP: pte_list_remove+0x3ae/0x3c0 arch/x86/kvm/mmu.c:1207 RSP: ffff8801c1dd6f30 ---[ end trace d66bccd92324d047 ]---