================================================================== BUG: KCSAN: data-race in generic_file_buffered_read / generic_write_end write to 0xffff88810d747600 of 8 bytes by task 11961 on cpu 0: i_size_write include/linux/fs.h:871 [inline] generic_write_end+0x98/0x250 fs/buffer.c:2186 ext4_da_write_end+0x58d/0x750 fs/ext4/inode.c:3091 generic_perform_write+0x23e/0x3a0 mm/filemap.c:3544 ext4_buffered_write_iter+0x2ce/0x3b0 fs/ext4/file.c:269 ext4_file_write_iter+0x480/0x10b0 fs/ext4/file.c:501 call_write_iter include/linux/fs.h:1887 [inline] new_sync_write fs/read_write.c:503 [inline] vfs_write+0x630/0x6b0 fs/read_write.c:586 ksys_write+0xce/0x180 fs/read_write.c:639 __do_sys_write fs/read_write.c:651 [inline] __se_sys_write fs/read_write.c:648 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:648 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88810d747600 of 8 bytes by task 11966 on cpu 1: i_size_read include/linux/fs.h:849 [inline] generic_file_buffered_read+0x13df/0x2110 mm/filemap.c:2294 generic_file_read_iter+0x80/0x3d0 mm/filemap.c:2535 ext4_file_read_iter+0x2d0/0x420 fs/ext4/file.c:74 call_read_iter include/linux/fs.h:1881 [inline] generic_file_splice_read+0x22a/0x310 fs/splice.c:311 do_splice_to fs/splice.c:889 [inline] splice_direct_to_actor+0x2ab/0x660 fs/splice.c:969 do_splice_direct+0xf5/0x170 fs/splice.c:1078 do_sendfile+0x574/0xb70 fs/read_write.c:1238 __do_sys_sendfile64 fs/read_write.c:1299 [inline] __se_sys_sendfile64 fs/read_write.c:1285 [inline] __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1285 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: 1 PID: 11966 Comm: syz-executor.2 Not tainted 5.9.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================