------------[ cut here ]------------ kernel BUG at arch/x86/kvm/../../../virt/kvm/kvm_main.c:516! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 23353 Comm: syz-executor.3 Not tainted 5.10.92-syzkaller-00909-g7dd0d263fe9f #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 36 81 64 00 48 85 db 78 0e e8 6c 7c 64 00 5b 41 5c 41 5e 41 5f 5d c3 e8 5e 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: 0018:ffffc90003e577d0 EFLAGS: 00010287 RAX: ffffffff810867e2 RBX: ffffffffffffffff RCX: 0000000000040000 RDX: ffffc90001d41000 RSI: 0000000000002777 RDI: 0000000000002778 RBP: ffffc90003e577f0 R08: ffffffff810867ca R09: 0000000000000003 R10: fffff520007caee9 R11: 0000000000000004 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffc90003efa160 R15: ffffc90003ef1000 FS: 00007fefeb3ab700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020404030 CR3: 0000000151f76000 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:0x7fefec1dbe5c Code: aa 59 ff ff 41 39 5c 24 2c 7f d3 31 c0 48 8d 3d 67 21 0b 00 e8 95 59 ff ff 48 8b 44 24 08 c7 44 24 1c ff ff ff ff 44 8b 60 78 80 c8 00 00 00 00 45 85 e4 0f 8e 83 00 00 00 48 8b 44 24 08 8b RSP: 002b:00007fefeb3ab190 EFLAGS: 00010202 RAX: 00007fefec347f60 RBX: 0000000000000004 RCX: 00007fefec2989f1 RDX: 000000000011214e RSI: 0000000000000000 RDI: 00007fefec28dfad RBP: 00007fefec28f08d R08: 00007ffe6bff4080 R09: 00007ffe6bff40b8 R10: 000000000003a834 R11: 00000000000004ee R12: 0000000000000000 R13: 00007ffe6bf6f32f R14: 00007fefeb3ab300 R15: 0000000000022000 Modules linked in: ---[ end trace 71428628ee487660 ]--- 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 36 81 64 00 48 85 db 78 0e e8 6c 7c 64 00 5b 41 5c 41 5e 41 5f 5d c3 e8 5e 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: 0018:ffffc90003e577d0 EFLAGS: 00010287 RAX: ffffffff810867e2 RBX: ffffffffffffffff RCX: 0000000000040000 RDX: ffffc90001d41000 RSI: 0000000000002777 RDI: 0000000000002778 RBP: ffffc90003e577f0 R08: ffffffff810867ca R09: 0000000000000003 R10: fffff520007caee9 R11: 0000000000000004 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffc90003efa160 R15: ffffc90003ef1000 FS: 00007fefeb3ab700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33423000 CR3: 0000000151f76000 CR4: 00000000003526a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400