================================================================== BUG: KCSAN: data-race in __mark_inode_dirty / inode_sync_complete read to 0xffff88821aee5570 of 8 bytes by task 27541 on cpu 1: __mark_inode_dirty+0xb8/0x940 fs/fs-writeback.c:2272 mark_buffer_dirty+0x29c/0x2c0 fs/buffer.c:1156 __ext4_handle_dirty_metadata+0x284/0x3e0 fs/ext4/ext4_jbd2.c:314 ext4_do_update_inode fs/ext4/inode.c:4998 [inline] ext4_mark_iloc_dirty+0xdb3/0x1580 fs/ext4/inode.c:5547 ext4_mark_inode_dirty+0xe9/0x420 fs/ext4/inode.c:5740 ext4_rmdir fs/ext4/namei.c:3134 [inline] ext4_rmdir+0x623/0x700 fs/ext4/namei.c:3067 vfs_rmdir fs/namei.c:3882 [inline] vfs_rmdir+0x119/0x300 fs/namei.c:3861 do_rmdir+0x2cb/0x300 fs/namei.c:3944 __do_sys_rmdir fs/namei.c:3962 [inline] __se_sys_rmdir fs/namei.c:3960 [inline] __x64_sys_rmdir+0x2f/0x40 fs/namei.c:3960 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff88821aee5570 of 8 bytes by task 11911 on cpu 0: inode_sync_complete+0x3a/0x70 fs/fs-writeback.c:1197 writeback_sb_inodes+0x791/0xa50 fs/fs-writeback.c:1744 __writeback_inodes_wb+0xe8/0x1b0 fs/fs-writeback.c:1785 wb_writeback+0x557/0x6a0 fs/fs-writeback.c:1894 wb_check_background_flush fs/fs-writeback.c:1962 [inline] wb_do_writeback fs/fs-writeback.c:2050 [inline] wb_workfn+0x696/0x970 fs/fs-writeback.c:2078 process_one_work+0x3d4/0x890 kernel/workqueue.c:2264 worker_thread+0xa0/0x800 kernel/workqueue.c:2410 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 11911 Comm: kworker/u4:1 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfn (flush-8:0) ==================================================================