================================================================== BUG: KCSAN: data-race in ext4_mark_iloc_dirty / generic_update_time read to 0xffff888120daa2a0 of 8 bytes by task 21 on cpu 0: ext4_do_update_inode fs/ext4/inode.c:4983 [inline] ext4_mark_iloc_dirty+0x3bc/0x1580 fs/ext4/inode.c:5603 ext4_mark_inode_dirty+0xe6/0x420 fs/ext4/inode.c:5796 __ext4_ext_dirty.isra.0+0xf2/0x110 fs/ext4/extents.c:169 ext4_convert_unwritten_extents_endio fs/ext4/extents.c:3713 [inline] ext4_ext_handle_unwritten_extents+0x2c2/0x18c0 fs/ext4/extents.c:3837 ext4_ext_map_blocks+0xa7e/0x1fb0 fs/ext4/extents.c:4098 ext4_map_blocks+0x230/0xcf0 fs/ext4/inode.c:621 ext4_convert_unwritten_extents+0x18b/0x3b0 fs/ext4/extents.c:4729 ext4_convert_unwritten_io_end_vec+0xe0/0x1b0 fs/ext4/extents.c:4764 ext4_end_io_end fs/ext4/page-io.c:187 [inline] ext4_do_flush_completed_IO fs/ext4/page-io.c:260 [inline] ext4_end_io_rsv_work+0x2c2/0x400 fs/ext4/page-io.c:274 process_one_work+0x424/0x930 kernel/workqueue.c:2268 worker_thread+0x9a/0x7e0 kernel/workqueue.c:2414 kthread+0x203/0x230 kernel/kthread.c:268 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 write to 0xffff888120daa2a0 of 16 bytes by task 8614 on cpu 1: generic_update_time+0xc2/0x270 fs/inode.c:1673 update_time+0x7d/0x90 fs/inode.c:1695 file_update_time+0x205/0x2d0 fs/inode.c:1910 file_modified fs/inode.c:1933 [inline] file_modified+0x60/0x80 fs/inode.c:1918 ext4_write_checks+0x4a/0x70 fs/ext4/file.c:249 ext4_buffered_write_iter+0x87/0x280 fs/ext4/file.c:265 ext4_file_write_iter+0xf4/0xd30 fs/ext4/file.c:642 call_write_iter include/linux/fs.h:1907 [inline] new_sync_write+0x303/0x400 fs/read_write.c:484 __vfs_write+0x9e/0xb0 fs/read_write.c:497 vfs_write fs/read_write.c:559 [inline] vfs_write+0x189/0x380 fs/read_write.c:543 ksys_write+0xc5/0x1a0 fs/read_write.c:612 __do_sys_write fs/read_write.c:624 [inline] __se_sys_write fs/read_write.c:621 [inline] __x64_sys_write+0x49/0x60 fs/read_write.c:621 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8614 Comm: rs:main Q:Reg Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================