================================================================== BUG: KCSAN: data-race in other_inode_match / writeback_single_inode write to 0xffff888128e1da70 of 8 bytes by task 23814 on cpu 1: writeback_single_inode+0x214/0x310 fs/fs-writeback.c:1562 sync_inode fs/fs-writeback.c:2602 [inline] sync_inode_metadata+0x74/0xa0 fs/fs-writeback.c:2622 ext4_fsync_nojournal fs/ext4/fsync.c:94 [inline] ext4_sync_file+0x470/0x8c0 fs/ext4/fsync.c:172 vfs_fsync_range+0x82/0x150 fs/sync.c:197 vfs_fsync fs/sync.c:211 [inline] do_fsync+0x5d/0xa0 fs/sync.c:221 __do_sys_fdatasync fs/sync.c:234 [inline] __se_sys_fdatasync fs/sync.c:232 [inline] __x64_sys_fdatasync+0x2d/0x40 fs/sync.c:232 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888128e1da70 of 8 bytes by task 23812 on cpu 0: other_inode_match+0x6b/0x5c0 fs/ext4/inode.c:4849 find_inode_nowait+0x135/0x160 fs/inode.c:1445 ext4_update_other_inodes_time fs/ext4/inode.c:4897 [inline] ext4_do_update_inode fs/ext4/inode.c:5023 [inline] ext4_mark_iloc_dirty+0x12a8/0x1580 fs/ext4/inode.c:5578 ext4_mark_inode_dirty+0xe9/0x420 fs/ext4/inode.c:5771 ext4_dirty_inode+0xb1/0xe0 fs/ext4/inode.c:5802 __mark_inode_dirty+0x5d4/0x940 fs/fs-writeback.c:2258 mark_inode_dirty include/linux/fs.h:2183 [inline] ext4_setattr+0xc9a/0x1270 fs/ext4/inode.c:5373 notify_change+0x82b/0xb00 fs/attr.c:336 do_truncate+0xfb/0x180 fs/open.c:64 handle_truncate fs/namei.c:3083 [inline] do_last fs/namei.c:3496 [inline] path_openat+0x12e0/0x3150 fs/namei.c:3607 do_filp_open+0x11e/0x1b0 fs/namei.c:3637 do_sys_openat2+0x4f5/0x620 fs/open.c:1149 do_sys_open+0xa3/0x110 fs/open.c:1165 __do_sys_openat fs/open.c:1179 [inline] __se_sys_openat fs/open.c:1174 [inline] __x64_sys_openat+0x62/0x80 fs/open.c:1174 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 23812 Comm: syz-executor.3 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================