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: 8220 Comm: syz-executor0 Not tainted 4.16.0-rc1+ #317 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__kvm_memslots include/linux/kvm_host.h:573 [inline] RIP: 0010:gfn_to_rmap+0x624/0x770 arch/x86/kvm/mmu.c:1252 RSP: 0018:ffff8801ce70e848 EFLAGS: 00010293 RAX: dffffc0000000000 RBX: ffff88019f865c38 RCX: ffffffff811007da RDX: 0000000000000000 RSI: ffff88019f870f88 RDI: ffff88019f865c40 RBP: ffff8801ce70e9c8 R08: 1ffff10039ce1d15 R09: 0000000000000004 R10: ffff8801ce70ed70 R11: 0000000000000004 R12: 0000000000000002 R13: 000000000000000f R14: 000000000000000f R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006fbbb4 CR3: 0000000006a22002 CR4: 00000000001626f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rmap_remove arch/x86/kvm/mmu.c:1284 [inline] drop_spte+0x14f/0x250 arch/x86/kvm/mmu.c:1367 mmu_page_zap_pte+0x224/0x340 arch/x86/kvm/mmu.c:2499 kvm_mmu_page_unlink_children arch/x86/kvm/mmu.c:2521 [inline] kvm_mmu_prepare_zap_page+0x1c5/0x1310 arch/x86/kvm/mmu.c:2565 kvm_zap_obsolete_pages arch/x86/kvm/mmu.c:5348 [inline] kvm_mmu_invalidate_zap_all_pages+0x4a0/0x680 arch/x86/kvm/mmu.c:5389 kvm_arch_flush_shadow_all+0x15/0x20 arch/x86/kvm/x86.c:8707 kvm_mmu_notifier_release+0x59/0x90 arch/x86/kvm/../../../virt/kvm/kvm_main.c:468 __mmu_notifier_release+0x1da/0x6a0 mm/mmu_notifier.c:75 mmu_notifier_release include/linux/mmu_notifier.h:244 [inline] exit_mmap+0x3ff/0x500 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/0x1ad0 kernel/exit.c:852 do_group_exit+0x149/0x400 kernel/exit.c:968 get_signal+0x73a/0x16d0 kernel/signal.c:2469 do_signal+0x90/0x1e90 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0x258/0x2f0 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:265 [inline] do_syscall_64+0x6e5/0x940 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453bf7 RSP: 002b:00007fe78547a098 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 000000000000000f RCX: 0000000000453bf7 RDX: 00007fe78547a510 RSI: 000000004020ae46 RDI: 0000000000000017 RBP: 0000000020fd6000 R08: 0000000000000001 R09: 0000000000000045 R10: 0000000000000017 R11: 0000000000000246 R12: 00000000fec00000 R13: 0000000000000017 R14: 00000000006f92b0 R15: 0000000000000001 Code: 3f 02 00 00 48 c7 c7 40 75 e2 85 c6 05 80 1e 14 06 01 e8 a0 78 46 00 e9 46 fb ff ff e8 f6 03 61 00 48 b8 00 00 00 00 00 fc ff df <80> 38 00 0f 85 32 01 00 00 4c 8b 24 25 00 00 00 00 31 db e9 ef RIP: __kvm_memslots include/linux/kvm_host.h:573 [inline] RSP: ffff8801ce70e848 RIP: gfn_to_rmap+0x624/0x770 arch/x86/kvm/mmu.c:1252 RSP: ffff8801ce70e848 ---[ end trace 452e85725827f325 ]---