================================================================== BUG: KCSAN: data-race in filemap_fault / generic_write_end write to 0xffff888125ce87c8 of 8 bytes by task 7022 on cpu 1: i_size_write include/linux/fs.h:878 [inline] generic_write_end+0x98/0x230 fs/buffer.c:2183 ext4_da_write_end+0x446/0x510 fs/ext4/inode.c:3068 generic_perform_write+0x26a/0x3f0 mm/filemap.c:3798 ext4_buffered_write_iter+0x199/0x280 fs/ext4/file.c:270 ext4_file_write_iter+0x211/0xdf0 do_iter_readv_writev+0x27b/0x300 do_iter_write+0x16f/0x5c0 fs/read_write.c:852 vfs_iter_write+0x4c/0x70 fs/read_write.c:893 iter_file_splice_write+0x44a/0x7c0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0x80/0xa0 fs/splice.c:936 splice_direct_to_actor+0x345/0x660 fs/splice.c:891 do_splice_direct+0xfb/0x180 fs/splice.c:979 do_sendfile+0x3ad/0x900 fs/read_write.c:1246 __do_sys_sendfile64 fs/read_write.c:1311 [inline] __se_sys_sendfile64 fs/read_write.c:1297 [inline] __x64_sys_sendfile64+0x10c/0x150 fs/read_write.c:1297 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+0x44/0xae read to 0xffff888125ce87c8 of 8 bytes by task 7025 on cpu 0: i_size_read include/linux/fs.h:856 [inline] filemap_fault+0x505/0x740 mm/filemap.c:3205 __do_fault mm/memory.c:3915 [inline] do_cow_fault+0x225/0x610 mm/memory.c:4270 do_fault+0x351/0xb20 mm/memory.c:4371 handle_pte_fault mm/memory.c:4627 [inline] __handle_mm_fault mm/memory.c:4763 [inline] handle_mm_fault+0x825/0xa40 mm/memory.c:4861 faultin_page mm/gup.c:878 [inline] __get_user_pages+0x306/0xb80 mm/gup.c:1099 populate_vma_page_range mm/gup.c:1442 [inline] __mm_populate+0x26e/0x3a0 mm/gup.c:1555 mm_populate include/linux/mm.h:2701 [inline] vm_mmap_pgoff+0x160/0x1f0 mm/util.c:524 ksys_mmap_pgoff+0x265/0x320 mm/mmap.c:1628 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+0x44/0xae value changed: 0x0000000000c1f000 -> 0x0000000000c20000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 7025 Comm: syz-executor.2 Not tainted 5.18.0-rc5-syzkaller-00006-g9050ba3a61a4-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================