================================================================== BUG: KCSAN: data-race in ext4_setattr / generic_file_buffered_read write to 0xffff88810ec32b90 of 8 bytes by task 10363 on cpu 1: i_size_write include/linux/fs.h:871 [inline] ext4_setattr+0xe27/0xf70 fs/ext4/inode.c:5470 notify_change+0x7b3/0xa50 fs/attr.c:336 do_truncate+0xe0/0x120 fs/open.c:64 handle_truncate fs/namei.c:2910 [inline] do_open fs/namei.c:3256 [inline] path_openat+0x1a37/0x20a0 fs/namei.c:3369 do_filp_open+0xbd/0x1d0 fs/namei.c:3396 do_sys_openat2+0xa3/0x240 fs/open.c:1168 do_sys_open fs/open.c:1184 [inline] __do_sys_open fs/open.c:1192 [inline] __se_sys_open fs/open.c:1188 [inline] __x64_sys_open+0xe2/0x110 fs/open.c:1188 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88810ec32b90 of 8 bytes by task 10356 on cpu 0: 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:1897 [inline] generic_file_splice_read+0x22a/0x310 fs/splice.c:311 do_splice_to fs/splice.c:788 [inline] splice_direct_to_actor+0x2aa/0x650 fs/splice.c:867 do_splice_direct+0xf5/0x170 fs/splice.c:976 do_sendfile+0x5db/0xca0 fs/read_write.c:1257 __do_sys_sendfile64 fs/read_write.c:1312 [inline] __se_sys_sendfile64 fs/read_write.c:1304 [inline] __x64_sys_sendfile64+0xa9/0x130 fs/read_write.c:1304 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: 0 PID: 10356 Comm: syz-executor.5 Not tainted 5.10.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================