================================================================== BUG: KCSAN: data-race in kvm_set_memslot / vcpu_mmio_gva_to_gpa write to 0xffff88806ef80800 of 8 bytes by task 1087 on cpu 1: install_new_memslots arch/x86/kvm/../../../virt/kvm/kvm_main.c:1148 [inline] kvm_set_memslot+0x866/0x910 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1224 __kvm_set_memory_region+0x708/0x910 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1370 kvm_set_memory_region arch/x86/kvm/../../../virt/kvm/kvm_main.c:1391 [inline] kvm_vm_ioctl_set_memory_region arch/x86/kvm/../../../virt/kvm/kvm_main.c:1403 [inline] kvm_vm_ioctl+0x81d/0x17c0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3704 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:739 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:739 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88806ef80800 of 8 bytes by task 1081 on cpu 0: vcpu_match_mmio_gen arch/x86/kvm/x86.h:189 [inline] vcpu_match_mmio_gva arch/x86/kvm/x86.h:208 [inline] vcpu_mmio_gva_to_gpa+0x9d/0x5a0 arch/x86/kvm/x86.c:5763 emulator_read_write_onepage+0xe7/0x490 arch/x86/kvm/x86.c:5888 emulator_read_write+0x170/0x300 arch/x86/kvm/x86.c:5948 emulator_read_emulated+0x37/0x40 arch/x86/kvm/x86.c:5975 read_emulated arch/x86/kvm/emulate.c:1457 [inline] segmented_read arch/x86/kvm/emulate.c:1481 [inline] x86_emulate_insn+0x39b/0x2c80 arch/x86/kvm/emulate.c:5637 x86_emulate_instruction+0xbbd/0x2ba0 arch/x86/kvm/x86.c:7031 kvm_mmu_page_fault+0x336/0x410 arch/x86/kvm/mmu/mmu.c:5500 handle_ept_misconfig+0x99/0x230 arch/x86/kvm/vmx/vmx.c:5361 vmx_handle_exit+0x558/0xc30 arch/x86/kvm/vmx/vmx.c:6125 vcpu_enter_guest+0x1ada/0x2660 arch/x86/kvm/x86.c:8655 vcpu_run+0x26e/0x740 arch/x86/kvm/x86.c:8720 kvm_arch_vcpu_ioctl_run+0x38d/0x6a0 arch/x86/kvm/x86.c:8937 kvm_vcpu_ioctl+0x565/0x950 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3230 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:739 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:739 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1081 Comm: syz-executor.5 Not tainted 5.9.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================