================================================================== BUG: KCSAN: data-race in __ext4_update_other_inode_time / writeback_single_inode write to 0xffff88800e755298 of 8 bytes by task 10583 on cpu 0: inode_io_list_del_locked fs/fs-writeback.c:148 [inline] writeback_single_inode+0x2e9/0x580 fs/fs-writeback.c:1581 sync_inode fs/fs-writeback.c:2606 [inline] sync_inode_metadata+0x52/0x70 fs/fs-writeback.c:2626 ext4_fsync_nojournal fs/ext4/fsync.c:92 [inline] ext4_sync_file+0x359/0x6c0 fs/ext4/fsync.c:170 vfs_fsync_range+0x107/0x120 fs/sync.c:200 generic_write_sync include/linux/fs.h:2739 [inline] iomap_dio_complete+0x2c4/0x3a0 fs/iomap/direct-io.c:127 iomap_dio_rw+0x4e/0x70 fs/iomap/direct-io.c:608 ext4_dio_write_iter fs/ext4/file.c:552 [inline] ext4_file_write_iter+0xe06/0x1090 fs/ext4/file.c:662 call_write_iter include/linux/fs.h:1903 [inline] do_iter_readv_writev+0x2cb/0x360 fs/read_write.c:740 do_iter_write+0x112/0x4b0 fs/read_write.c:866 vfs_iter_write+0x4c/0x70 fs/read_write.c:907 iter_file_splice_write+0x42a/0x780 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0x80/0xa0 fs/splice.c:933 splice_direct_to_actor+0x345/0x650 fs/splice.c:888 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:1318 [inline] __se_sys_sendfile64 fs/read_write.c:1304 [inline] __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1304 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88800e755298 of 8 bytes by task 12405 on cpu 1: __ext4_update_other_inode_time+0x45/0x550 fs/ext4/inode.c:4955 ext4_update_other_inodes_time fs/ext4/inode.c:5002 [inline] ext4_do_update_inode fs/ext4/inode.c:5131 [inline] ext4_mark_iloc_dirty+0x1286/0x1650 fs/ext4/inode.c:5712 __ext4_mark_inode_dirty+0x450/0x610 fs/ext4/inode.c:5906 ext4_truncate+0x9e3/0xbb0 fs/ext4/inode.c:4277 ext4_evict_inode+0xa5e/0xe70 fs/ext4/inode.c:280 evict+0x19f/0x470 fs/inode.c:578 iput_final fs/inode.c:1654 [inline] iput+0x421/0x510 fs/inode.c:1680 dentry_unlink_inode+0x1f3/0x210 fs/dcache.c:374 d_delete+0x70/0xa0 fs/dcache.c:2470 vfs_rmdir+0x271/0x290 fs/namei.c:3727 do_rmdir+0x16e/0x300 fs/namei.c:3774 __do_sys_rmdir fs/namei.c:3792 [inline] __se_sys_rmdir fs/namei.c:3790 [inline] __x64_sys_rmdir+0x2c/0x30 fs/namei.c:3790 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: 12405 Comm: syz-executor.4 Not tainted 5.10.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================