------------[ cut here ]------------ kernel BUG at arch/x86/kvm/../../../virt/kvm/kvm_main.c:516! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3188 Comm: syz-executor.5 Tainted: G W 5.10.90-syzkaller-00837-ga1bb21475ef8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kvm_mmu_notifier_invalidate_range_end+0xb2/0xc0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:516 Code: 49 8b 1e 48 c7 c7 ff ff ff ff 48 89 de e8 f6 80 64 00 48 85 db 78 0e e8 2c 7c 64 00 5b 41 5c 41 5e 41 5f 5d c3 e8 1e 7c 64 00 <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 90 55 48 89 e5 41 57 41 56 RSP: 0000:ffffc90009b5f7d0 EFLAGS: 00010293 RAX: ffffffff810867e2 RBX: ffffffffffffffff RCX: ffff888112ec93c0 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: ffffc90009b5f7f0 R08: ffffffff810867ca R09: 0000000000000003 R10: fffff5200136bee9 R11: 0000000000000004 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffc90009e5a160 R15: ffffc90009e51000 FS: 00005555565ea400(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555565ebf78 CR3: 000000014a6c1000 CR4: 00000000003526b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mn_hlist_invalidate_end mm/mmu_notifier.c:583 [inline] __mmu_notifier_invalidate_range_end+0x246/0x300 mm/mmu_notifier.c:603 mmu_notifier_invalidate_range_only_end include/linux/mmu_notifier.h:495 [inline] wp_page_copy+0xea0/0x17b0 mm/memory.c:3235 do_wp_page+0x73b/0xc80 mm/memory.c:3438 handle_pte_fault+0x575/0xac0 mm/memory.c:4721 ___handle_speculative_fault+0xd97/0x17d0 mm/memory.c:5088 __handle_speculative_fault+0xc3/0x2a0 mm/memory.c:5131 handle_speculative_fault include/linux/mm.h:1815 [inline] do_user_addr_fault+0x8c9/0xd70 arch/x86/mm/fault.c:1319 handle_page_fault arch/x86/mm/fault.c:1462 [inline] exc_page_fault+0x98/0x2d0 arch/x86/mm/fault.c:1518 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:571 RIP: 0033:0x7f01cc470e61 Code: 11 00 4c 29 e8 4b 8d 0c 2f 48 8b 6c 24 18 48 39 d3 48 89 4b 60 0f 95 c2 48 83 c8 01 0f b6 d2 48 c1 e2 02 4c 09 ea 48 83 ca 01 <49> 89 57 08 48 89 41 08 49 83 c7 10 eb b3 48 8d 3d 5a dc 09 00 e8 RSP: 002b:00007ffd4fae72a0 EFLAGS: 00010206 RAX: 000000000001ff71 RBX: 00007f01cc5875e0 RCX: 00005555565ec090 RDX: 0000000000000121 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000110 R08: 0000000000000003 R09: 00007f01cc587640 R10: 0000000000020022 R11: 0000000000000120 R12: 0000000000000010 R13: 0000000000000120 R14: 0000000000000012 R15: 00005555565ebf70 Modules linked in: ---[ end trace 7bf97b8e1ecfedd5 ]--- RIP: 0010:kvm_mmu_notifier_invalidate_range_end+0xb2/0xc0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:516 Code: 49 8b 1e 48 c7 c7 ff ff ff ff 48 89 de e8 f6 80 64 00 48 85 db 78 0e e8 2c 7c 64 00 5b 41 5c 41 5e 41 5f 5d c3 e8 1e 7c 64 00 <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 90 55 48 89 e5 41 57 41 56 RSP: 0000:ffffc90009b5f7d0 EFLAGS: 00010293 RAX: ffffffff810867e2 RBX: ffffffffffffffff RCX: ffff888112ec93c0 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: ffffc90009b5f7f0 R08: ffffffff810867ca R09: 0000000000000003 R10: fffff5200136bee9 R11: 0000000000000004 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffc90009e5a160 R15: ffffc90009e51000 FS: 00005555565ea400(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555565ebf78 CR3: 000000014a6c1000 CR4: 00000000003526b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400