------------[ cut here ]------------ kernel BUG at arch/x86/kvm/../../../virt/kvm/kvm_main.c:516! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8211 Comm: syz-executor.4 Not tainted 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: 0018:ffffc90008957710 EFLAGS: 00010293 RAX: ffffffff810867e2 RBX: ffffffffffffffff RCX: ffff88810c344f00 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: ffffc90008957730 R08: ffffffff810867ca R09: 0000000000000003 R10: fffff5200112aed1 R11: 0000000000000004 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffc90009032160 R15: ffffc90009029000 FS: 00007f5c3026a700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c3026a6bc CR3: 00000001157f4000 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_end include/linux/mmu_notifier.h:488 [inline] copy_page_range+0xe36/0xff0 mm/memory.c:1240 dup_mmap+0xab4/0xf60 kernel/fork.c:611 dup_mm+0x91/0x320 kernel/fork.c:1408 copy_mm kernel/fork.c:1464 [inline] copy_process+0x1d1c/0x5340 kernel/fork.c:2148 kernel_clone+0x21f/0x9a0 kernel/fork.c:2510 __do_sys_fork+0xac/0x110 kernel/fork.c:2575 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f5c31114e99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5c3026a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000039 RAX: ffffffffffffffda RBX: 00007f5c31228030 RCX: 00007f5c31114e99 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f5c3116eff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd83404e1f R14: 00007f5c3026a300 R15: 0000000000022000 Modules linked in: ---[ end trace 76cf911e74d9c13a ]--- 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: 0018:ffffc90008957710 EFLAGS: 00010293 RAX: ffffffff810867e2 RBX: ffffffffffffffff RCX: ffff88810c344f00 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: ffffc90008957730 R08: ffffffff810867ca R09: 0000000000000003 R10: fffff5200112aed1 R11: 0000000000000004 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffc90009032160 R15: ffffc90009029000 FS: 00007f5c3026a700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c3026a6bc CR3: 00000001157f4000 CR4: 00000000003526a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400