kernel msg: ebtables bug: please report to author: counter_offset != totalcnt pte_list_remove: 00000000b919a374 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: 10315 Comm: syz-executor7 Not tainted 4.16.0-rc2+ #328 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:ffff8801b6716988 EFLAGS: 00010282 RAX: 0000000000000028 RBX: ffff8801c2152280 RCX: 0000000000000000 RDX: 0000000000000028 RSI: 1ffff10036ce2ce6 RDI: ffffed0036ce2d25 RBP: ffff8801b67169c8 R08: 1ffff10036ce2c7d R09: 0000000000000000 R10: ffff8801b6716d70 R11: 0000000000000000 R12: ffff8801cba9e078 R13: 0000000000000000 R14: ffff8801d8f3c000 R15: ffff8801d8f3c028 FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f900cbf4000 CR3: 0000000006e22002 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 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:960 [inline] mmput+0x223/0x6d0 kernel/fork.c:981 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:0x453de9 RSP: 002b:00007f7ec242dc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000018 RBX: 00007f7ec242e6d4 RCX: 0000000000453de9 RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000013 RBP: 000000000072c0c8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000020f R14: 00000000006f3208 R15: 0000000000000003 Code: 79 e5 61 00 48 8b 75 d0 48 c7 c7 00 6a 22 86 e8 81 89 4b 00 0f 0b e8 62 e5 61 00 48 8b 75 d0 48 c7 c7 c0 69 22 86 e8 6a 89 4b 00 <0f> 0b 4c 89 ef e8 48 4f 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: ffff8801b6716988 ---[ end trace af77c13d6bc21e8c ]---