================================================================== BUG: KCSAN: data-race in kvm_mmu_notifier_invalidate_range_end / kvm_mmu_notifier_invalidate_range_start read-write to 0xffffc9000423e1b8 of 8 bytes by task 10108 on cpu 1: kvm_mmu_notifier_invalidate_range_start+0x56/0x1e0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:485 mn_hlist_invalidate_range_start mm/mmu_notifier.c:493 [inline] __mmu_notifier_invalidate_range_start+0x22a/0x380 mm/mmu_notifier.c:525 mmu_notifier_invalidate_range_start include/linux/mmu_notifier.h:453 [inline] page_mkclean_one+0x138/0x2d0 mm/rmap.c:916 rmap_walk_file+0x260/0x4f0 mm/rmap.c:1927 rmap_walk mm/rmap.c:1945 [inline] page_mkclean+0x17a/0x210 mm/rmap.c:998 clear_page_dirty_for_io+0x116/0x300 mm/page-writeback.c:2698 mpage_submit_page fs/ext4/inode.c:2081 [inline] mpage_process_page_bufs+0x41e/0x5d0 fs/ext4/inode.c:2215 mpage_prepare_extent_to_map+0x4d6/0x630 fs/ext4/inode.c:2627 ext4_writepages+0x674/0x1e50 fs/ext4/inode.c:2755 do_writepages+0x7b/0x150 mm/page-writeback.c:2352 __writeback_single_inode+0x84/0x560 fs/fs-writeback.c:1461 writeback_sb_inodes+0x6a0/0x1020 fs/fs-writeback.c:1721 __writeback_inodes_wb+0xb0/0x2a0 fs/fs-writeback.c:1790 wb_writeback+0x290/0x660 fs/fs-writeback.c:1896 wb_check_old_data_flush fs/fs-writeback.c:1998 [inline] wb_do_writeback+0x520/0x5d0 fs/fs-writeback.c:2051 wb_workfn+0xb8/0x410 fs/fs-writeback.c:2080 process_one_work+0x3e1/0x950 kernel/workqueue.c:2275 worker_thread+0x635/0xb90 kernel/workqueue.c:2421 kthread+0x1fd/0x220 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 read to 0xffffc9000423e1b8 of 8 bytes by task 12823 on cpu 0: kvm_mmu_notifier_invalidate_range_end+0x59/0x90 arch/x86/kvm/../../../virt/kvm/kvm_main.c:519 mn_hlist_invalidate_end mm/mmu_notifier.c:560 [inline] __mmu_notifier_invalidate_range_end+0x18e/0x210 mm/mmu_notifier.c:580 mmu_notifier_invalidate_range_end include/linux/mmu_notifier.h:479 [inline] page_mkclean_one+0x290/0x2d0 mm/rmap.c:966 rmap_walk_file+0x260/0x4f0 mm/rmap.c:1927 rmap_walk mm/rmap.c:1945 [inline] page_mkclean+0x17a/0x210 mm/rmap.c:998 clear_page_dirty_for_io+0x116/0x300 mm/page-writeback.c:2698 mpage_submit_page fs/ext4/inode.c:2081 [inline] mpage_map_and_submit_buffers fs/ext4/inode.c:2349 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2488 [inline] ext4_writepages+0xdf5/0x1e50 fs/ext4/inode.c:2801 do_writepages+0x7b/0x150 mm/page-writeback.c:2352 __filemap_fdatawrite_range+0x19d/0x1d0 mm/filemap.c:422 filemap_write_and_wait_range+0x8b/0x2a0 mm/filemap.c:655 ext4_punch_hole+0x145/0x9e0 fs/ext4/inode.c:4021 ext4_fallocate+0xea/0x540 fs/ext4/extents.c:4655 vfs_fallocate+0x471/0x6c0 fs/open.c:309 madvise_remove+0x19c/0x200 mm/madvise.c:865 madvise_vma mm/madvise.c:927 [inline] do_madvise+0x4c9/0xdc0 mm/madvise.c:1132 __do_sys_madvise mm/madvise.c:1158 [inline] __se_sys_madvise mm/madvise.c:1156 [inline] __x64_sys_madvise+0x5d/0x70 mm/madvise.c:1156 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: 12823 Comm: syz-executor.4 Not tainted 5.11.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================