================================================================== BUG: KCSAN: data-race in kvm_mmu_notifier_invalidate_range_end / kvm_mmu_notifier_invalidate_range_end write to 0xffffc9000100a138 of 8 bytes by task 11275 on cpu 1: kvm_mmu_notifier_invalidate_range_end+0x67/0xb0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:419 __mmu_notifier_invalidate_range_end+0x144/0x1e0 mm/mmu_notifier.c:222 mmu_notifier_invalidate_range_only_end include/linux/mmu_notifier.h:384 [inline] wp_page_copy+0x1023/0x1120 mm/memory.c:2418 do_wp_page+0x192/0x11f0 mm/memory.c:2628 handle_pte_fault mm/memory.c:3865 [inline] __handle_mm_fault+0x1ab1/0x2c70 mm/memory.c:3973 handle_mm_fault+0x21b/0x530 mm/memory.c:4010 do_user_addr_fault arch/x86/mm/fault.c:1441 [inline] __do_page_fault+0x3fb/0x9e0 arch/x86/mm/fault.c:1506 do_page_fault+0x54/0x233 arch/x86/mm/fault.c:1530 page_fault+0x34/0x40 arch/x86/entry/entry_64.S:1202 __put_user_4+0x1c/0x30 arch/x86/lib/putuser.S:68 exit_mm kernel/exit.c:440 [inline] do_exit+0x2c5/0x18f0 kernel/exit.c:804 do_group_exit+0xb4/0x1c0 kernel/exit.c:921 get_signal+0x2a2/0x1320 kernel/signal.c:2734 do_signal+0x3b/0xbf0 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x250/0x2c0 arch/x86/entry/common.c:159 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x353/0x370 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffc9000100a138 of 8 bytes by task 11287 on cpu 0: kvm_mmu_notifier_invalidate_range_end+0x7b/0xb0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:422 __mmu_notifier_invalidate_range_end+0x144/0x1e0 mm/mmu_notifier.c:222 mmu_notifier_invalidate_range_only_end include/linux/mmu_notifier.h:384 [inline] wp_page_copy+0x1023/0x1120 mm/memory.c:2418 do_wp_page+0x192/0x11f0 mm/memory.c:2628 handle_pte_fault mm/memory.c:3865 [inline] __handle_mm_fault+0x1ab1/0x2c70 mm/memory.c:3973 handle_mm_fault+0x21b/0x530 mm/memory.c:4010 do_user_addr_fault arch/x86/mm/fault.c:1441 [inline] __do_page_fault+0x3fb/0x9e0 arch/x86/mm/fault.c:1506 do_page_fault+0x54/0x233 arch/x86/mm/fault.c:1530 page_fault+0x34/0x40 arch/x86/entry/entry_64.S:1202 __put_user_4+0x1c/0x30 arch/x86/lib/putuser.S:68 exit_mm kernel/exit.c:440 [inline] do_exit+0x2c5/0x18f0 kernel/exit.c:804 do_group_exit+0xb4/0x1c0 kernel/exit.c:921 get_signal+0x2a2/0x1320 kernel/signal.c:2734 do_signal+0x3b/0xbf0 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x250/0x2c0 arch/x86/entry/common.c:159 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x353/0x370 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 11287 Comm: syz-executor.2 Not tainted 5.4.0-rc6+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================