================================================================== BUG: KCSAN: data-race in __unmap_and_move / page_cache_delete write to 0xffffea0004984418 of 8 bytes by task 4195 on cpu 0: page_cache_delete+0x33e/0x390 mm/filemap.c:143 __filemap_remove_folio+0x3b/0xf0 mm/filemap.c:223 invalidate_complete_folio2 mm/truncate.c:594 [inline] invalidate_inode_pages2_range+0x450/0x670 mm/truncate.c:682 __iomap_dio_rw+0x6a6/0x1000 fs/iomap/direct-io.c:583 iomap_dio_rw+0x3c/0x80 fs/iomap/direct-io.c:690 ext4_dio_write_iter fs/ext4/file.c:566 [inline] ext4_file_write_iter+0xaa9/0x1210 fs/ext4/file.c:677 do_iter_write+0x494/0x750 fs/read_write.c:855 vfs_iter_write+0x4c/0x70 fs/read_write.c:896 iter_file_splice_write+0x44a/0x7c0 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0x80/0xa0 fs/splice.c:931 splice_direct_to_actor+0x305/0x620 fs/splice.c:886 do_splice_direct+0xfb/0x180 fs/splice.c:974 do_sendfile+0x3bf/0x910 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64 fs/read_write.c:1303 [inline] __x64_sys_sendfile64+0x10c/0x150 fs/read_write.c:1303 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffffea0004984418 of 8 bytes by task 4202 on cpu 1: __PageMovable include/linux/page-flags.h:674 [inline] __unmap_and_move+0xae/0xbd0 mm/migrate.c:987 unmap_and_move+0x120/0x900 mm/migrate.c:1162 migrate_pages+0x29e/0x7b0 mm/migrate.c:1441 do_mbind+0x79b/0x8b0 mm/mempolicy.c:1321 kernel_mbind mm/mempolicy.c:1468 [inline] __do_sys_mbind mm/mempolicy.c:1546 [inline] __se_sys_mbind+0x13b/0x3f0 mm/mempolicy.c:1542 __x64_sys_mbind+0x74/0x80 mm/mempolicy.c:1542 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0xffff888121565360 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 4202 Comm: syz-executor.4 Not tainted 6.0.0-rc2-syzkaller-00044-gdf0219d11b6f-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 ==================================================================