================================================================== BUG: KCSAN: data-race in filemap_read / generic_write_end write to 0xffff88810a608c18 of 8 bytes by task 10129 on cpu 1: i_size_write include/linux/fs.h:888 [inline] generic_write_end+0xb4/0x360 fs/buffer.c:2211 ext4_da_write_end+0x4bd/0x630 fs/ext4/inode.c:3174 generic_perform_write+0x253/0x3d0 mm/filemap.c:3937 ext4_buffered_write_iter+0x234/0x3e0 fs/ext4/file.c:289 ext4_file_write_iter+0xd7/0x10e0 call_write_iter include/linux/fs.h:1851 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x463/0x760 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 0xffff88810a608c18 of 8 bytes by task 10141 on cpu 0: i_size_read include/linux/fs.h:866 [inline] filemap_read+0x1ca/0x680 mm/filemap.c:2690 generic_file_read_iter+0x76/0x320 mm/filemap.c:2840 ext4_file_read_iter+0x1cc/0x290 do_iter_read+0x3fd/0x6d0 fs/read_write.c:796 vfs_readv fs/read_write.c:916 [inline] do_preadv+0x159/0x230 fs/read_write.c:1008 __do_sys_preadv fs/read_write.c:1058 [inline] __se_sys_preadv fs/read_write.c:1053 [inline] __x64_sys_preadv+0x58/0x60 fs/read_write.c:1053 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: 0x0000000000483000 -> 0x0000000000484000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 10141 Comm: syz-executor.1 Not tainted 6.3.0-rc5-syzkaller-00005-g148341f0a2f5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 ==================================================================