pte_list_remove: 00000000d36e76e5 0->BUG
------------[ cut here ]------------
kernel BUG at arch/x86/kvm/mmu.c:1209!
invalid opcode: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
(ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 4201 Comm: syzkaller635184 Not tainted 4.16.0-rc1+ #317
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:1208
RSP: 0018:ffff8801b014f260 EFLAGS: 00010286
RAX: 0000000000000028 RBX: ffff8801ad8eeed0 RCX: 0000000000000000
RDX: 0000000000000028 RSI: 1ffff10036029e01 RDI: ffffed0036029e40
RBP: ffff8801b014f2a0 R08: 1ffff10036029d98 R09: 0000000000000000
R10: ffff8801b014f438 R11: 0000000000000000 R12: ffff8801af82f078
R13: 0000000000000000 R14: ffff8801ce73a868 R15: ffff8801ce73a890
FS: 00007f3f27b78700(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4e0d63c000 CR3: 00000001b32ed003 CR4: 00000000001626e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rmap_remove arch/x86/kvm/mmu.c:1285 [inline]
drop_spte+0x15a/0x250 arch/x86/kvm/mmu.c:1367
kvm_zap_rmapp+0x7e/0xd0 arch/x86/kvm/mmu.c:1621
kvm_unmap_rmapp+0x1d/0x30 arch/x86/kvm/mmu.c:1632
kvm_handle_hva_range+0x3ed/0x6e0 arch/x86/kvm/mmu.c:1786
kvm_unmap_hva_range+0x2e/0x40 arch/x86/kvm/mmu.c:1812
kvm_mmu_notifier_invalidate_range_start+0xa1/0x140 arch/x86/kvm/../../../virt/kvm/kvm_main.c:355
__mmu_notifier_invalidate_range_start+0x1cd/0x2d0 mm/mmu_notifier.c:186
mmu_notifier_invalidate_range_start include/linux/mmu_notifier.h:284 [inline]
unmap_vmas+0x14b/0x1b0 mm/memory.c:1585
unmap_region+0x2b9/0x4f0 mm/mmap.c:2511
do_munmap+0x726/0xdf0 mm/mmap.c:2726
mmap_region+0x59e/0x15a0 mm/mmap.c:1646
do_mmap+0x6c0/0xe00 mm/mmap.c:1483
do_mmap_pgoff include/linux/mm.h:2223 [inline]
vm_mmap_pgoff+0x1de/0x280 mm/util.c:355
SYSC_mmap_pgoff mm/mmap.c:1533 [inline]
SyS_mmap_pgoff+0x23b/0x5f0 mm/mmap.c:1491
SYSC_mmap arch/x86/kernel/sys_x86_64.c:100 [inline]
SyS_mmap+0x16/0x20 arch/x86/kernel/sys_x86_64.c:91
do_syscall_64+0x280/0x940 arch/x86/entry/common.c:287
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x448939
RSP: 002b:00007f3f27b77d98 EFLAGS: 00000212 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00000000006ddc3c RCX: 0000000000448939
RDX: 0000000000000003 RSI: 0000000000fff000 RDI: 0000000020000000
RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000000032 R11: 0000000000000212 R12: 00000000006ddc38
R13: 6d766b2f7665642f R14: 00007f3f27b789c0 R15: 0000000000000001
Code: d9 e4 61 00 48 8b 75 d0 48 c7 c7 00 6a e2 85 e8 f1 88 4b 00 0f 0b e8 c2 e4 61 00 48 8b 75 d0 48 c7 c7 c0 69 e2 85 e8 da 88 4b 00 <0f> 0b 4c 89 ef e8 28 37 9a 00 e9 01 fe ff ff 0f 1f 00 55 48 89
RIP: pte_list_remove+0x3ae/0x3c0 arch/x86/kvm/mmu.c:1208 RSP: ffff8801b014f260
---[ end trace eec49554649c629e ]---