------------[ cut here ]------------ kernel BUG at arch/x86/kvm/../../../virt/kvm/kvm_main.c:516! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 27262 Comm: syz-executor.1 Not tainted 5.10.75-syzkaller-01082-g234d53d2bb60 #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 46 96 64 00 48 85 db 78 0e e8 7c 91 64 00 5b 41 5c 41 5e 41 5f 5d c3 e8 6e 91 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:ffffc900034377d0 EFLAGS: 00010293 RAX: ffffffff81086782 RBX: ffffffffffffffff RCX: ffff88810e96e2c0 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: ffffc900034377f0 R08: ffffffff8108676a R09: 0000000000000003 R10: fffff52000686ee9 R11: 0000000000000004 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffc9000346a160 R15: ffffc90003461000 FS: 00005555572ee400(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f05bbf600f0 CR3: 000000011cc9d000 CR4: 00000000003526a0 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+0xe51/0x1750 mm/memory.c:3235 do_wp_page+0x73b/0xc80 mm/memory.c:3436 handle_pte_fault+0x575/0xac0 mm/memory.c:4719 ___handle_speculative_fault+0xd97/0x17d0 mm/memory.c:5086 __handle_speculative_fault+0xc3/0x2a0 mm/memory.c:5129 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:0x7f05bbe087f2 Code: 00 00 48 63 44 24 70 48 69 c0 c0 00 00 00 4c 01 f0 80 78 21 00 0f 85 2c 06 00 00 0f b6 9c 24 8f 00 00 00 48 89 2d 56 77 15 00 <4c> 89 60 10 48 8b 54 24 58 88 58 20 48 8b 5c 24 78 c7 40 0c 00 00 RSP: 002b:00007ffda4729780 EFLAGS: 00010246 RAX: 00007f05bbf600e0 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 00007ffda47298f0 RSI: 00007f05bbf600e8 RDI: 00007ffda4729908 RBP: 00007f05bbf600e0 R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000004 R11: 0000000000000012 R12: 00007f05bbf65fe8 R13: 00007ffda4729880 R14: 00007f05bbf5ff60 R15: 0000000000069e00 Modules linked in: ---[ end trace 39ecd4937e2324c1 ]--- 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 46 96 64 00 48 85 db 78 0e e8 7c 91 64 00 5b 41 5c 41 5e 41 5f 5d c3 e8 6e 91 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:ffffc900034377d0 EFLAGS: 00010293 RAX: ffffffff81086782 RBX: ffffffffffffffff RCX: ffff88810e96e2c0 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: ffffc900034377f0 R08: ffffffff8108676a R09: 0000000000000003 R10: fffff52000686ee9 R11: 0000000000000004 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffc9000346a160 R15: ffffc90003461000 FS: 00005555572ee400(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffef5d20c28 CR3: 000000011cc9d000 CR4: 00000000003526a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400