================================================================== BUG: KCSAN: data-race in ext4_mark_iloc_dirty / ext4_setattr write to 0xffff888125ad2680 of 8 bytes by task 15959 on cpu 0: ext4_setattr+0xa13/0x1620 fs/ext4/inode.c:5632 notify_change+0x7e1/0xaa0 fs/attr.c:337 do_truncate+0xfb/0x180 fs/open.c:64 handle_truncate fs/namei.c:2998 [inline] do_last fs/namei.c:3414 [inline] path_openat+0x2f4a/0x36e0 fs/namei.c:3525 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 ksys_open include/linux/syscalls.h:1385 [inline] __do_sys_creat fs/open.c:1155 [inline] __se_sys_creat fs/open.c:1153 [inline] __x64_sys_creat+0x45/0x60 fs/open.c:1153 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888125ad2680 of 8 bytes by task 15964 on cpu 1: ext4_do_update_inode fs/ext4/inode.c:5280 [inline] ext4_mark_iloc_dirty+0x810/0x1580 fs/ext4/inode.c:5876 ext4_mark_inode_dirty+0xe9/0x420 fs/ext4/inode.c:6055 ext4_dirty_inode+0x86/0xb0 fs/ext4/inode.c:6086 __mark_inode_dirty+0x5d4/0x940 fs/fs-writeback.c:2255 generic_update_time+0x184/0x270 fs/inode.c:1667 update_time fs/inode.c:1683 [inline] touch_atime+0x172/0x190 fs/inode.c:1754 file_accessed include/linux/fs.h:2202 [inline] generic_file_buffered_read mm/filemap.c:2257 [inline] generic_file_read_iter+0x116e/0x1440 mm/filemap.c:2323 ext4_file_read_iter fs/ext4/file.c:77 [inline] ext4_file_read_iter+0xfa/0x240 fs/ext4/file.c:65 call_read_iter include/linux/fs.h:1889 [inline] generic_file_splice_read+0x35c/0x500 fs/splice.c:307 do_splice_to+0xf2/0x130 fs/splice.c:877 splice_direct_to_actor+0x1a1/0x510 fs/splice.c:954 do_splice_direct+0x161/0x1e0 fs/splice.c:1063 do_sendfile+0x384/0x7f0 fs/read_write.c:1464 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 15964 Comm: syz-executor.4 Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================