================================================================== BUG: KCSAN: data-race in filemap_splice_read / generic_write_end write to 0xffff8881095d1cd8 of 8 bytes by task 6178 on cpu 0: i_size_write include/linux/fs.h:901 [inline] generic_write_end+0x9f/0x240 fs/buffer.c:2304 ext4_da_write_end+0x49e/0x700 fs/ext4/inode.c:2988 generic_perform_write+0x26d/0x410 mm/filemap.c:3934 ext4_buffered_write_iter+0x1f6/0x370 fs/ext4/file.c:299 ext4_file_write_iter+0x283/0x1230 call_write_iter include/linux/fs.h:1877 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x4ab/0x7d0 fs/read_write.c:584 ksys_write+0xeb/0x1a0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:646 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff8881095d1cd8 of 8 bytes by task 6186 on cpu 1: i_size_read include/linux/fs.h:879 [inline] filemap_splice_read+0x1a0/0x810 mm/filemap.c:2921 ext4_file_splice_read+0x95/0xb0 fs/ext4/file.c:158 vfs_splice_read fs/splice.c:996 [inline] splice_direct_to_actor+0x28c/0x690 fs/splice.c:1072 do_splice_direct+0x10d/0x190 fs/splice.c:1197 do_sendfile+0x3b6/0x9a0 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00000000003f5000 -> 0x00000000003f6000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 6186 Comm: syz-executor.2 Not tainted 6.5.0-rc6-syzkaller-00253-g9e6c269de404 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ==================================================================