================================================================== BUG: KCSAN: data-race in __mark_inode_dirty / __mark_inode_dirty write to 0xffff888128cfb180 of 8 bytes by task 420 on cpu 1: __mark_inode_dirty+0x601/0x940 fs/fs-writeback.c:2288 mark_inode_dirty_sync include/linux/fs.h:2177 [inline] dquot_claim_block include/linux/quotaops.h:367 [inline] ext4_da_update_reserve_space+0x32a/0x3a0 fs/ext4/inode.c:361 ext4_ext_map_blocks+0x1e48/0x2320 fs/ext4/extents.c:4541 ext4_map_blocks+0x23a/0xff0 fs/ext4/inode.c:623 mpage_map_one_extent fs/ext4/inode.c:2366 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2419 [inline] ext4_writepages+0x135e/0x2500 fs/ext4/inode.c:2771 do_writepages+0x6b/0x170 mm/page-writeback.c:2344 __writeback_single_inode+0xaf/0x8e0 fs/fs-writeback.c:1452 writeback_sb_inodes+0x4ba/0xa50 fs/fs-writeback.c:1716 wb_writeback+0x1f9/0x6a0 fs/fs-writeback.c:1892 wb_do_writeback fs/fs-writeback.c:2037 [inline] wb_workfn+0x22e/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 read to 0xffff888128cfb180 of 8 bytes by task 14776 on cpu 0: __mark_inode_dirty+0xb8/0x940 fs/fs-writeback.c:2272 mark_buffer_dirty+0x29c/0x2c0 fs/buffer.c:1156 __block_write_begin_int+0x72e/0xf10 fs/buffer.c:2020 __block_write_begin fs/buffer.c:2058 [inline] block_page_mkwrite+0x19f/0x230 fs/buffer.c:2520 ext4_page_mkwrite+0x5ca/0xe50 fs/ext4/inode.c:5902 do_page_mkwrite+0x100/0x210 mm/memory.c:2276 do_shared_fault mm/memory.c:3650 [inline] do_fault mm/memory.c:3718 [inline] handle_pte_fault mm/memory.c:3945 [inline] __handle_mm_fault+0x1e45/0x2e00 mm/memory.c:4075 handle_mm_fault+0x21b/0x530 mm/memory.c:4112 do_user_addr_fault arch/x86/mm/fault.c:1441 [inline] __do_page_fault+0x456/0x8d0 arch/x86/mm/fault.c:1506 do_page_fault+0x38/0x194 arch/x86/mm/fault.c:1530 page_fault+0x34/0x40 arch/x86/entry/entry_64.S:1203 copy_user_enhanced_fast_string+0xe/0x30 arch/x86/lib/copy_user_64.S:204 copy_page_to_iter_iovec lib/iov_iter.c:211 [inline] copy_page_to_iter+0x252/0x8d0 lib/iov_iter.c:920 generic_file_buffered_read mm/filemap.c:2144 [inline] generic_file_read_iter+0x978/0x1440 mm/filemap.c:2324 ext4_file_read_iter fs/ext4/file.c:130 [inline] ext4_file_read_iter+0x10c/0x380 fs/ext4/file.c:113 call_read_iter include/linux/fs.h:1896 [inline] new_sync_read+0x389/0x4f0 fs/read_write.c:414 __vfs_read+0xb1/0xc0 fs/read_write.c:427 vfs_read fs/read_write.c:461 [inline] vfs_read+0x143/0x2c0 fs/read_write.c:446 ksys_read+0xd5/0x1b0 fs/read_write.c:587 __do_sys_read fs/read_write.c:597 [inline] __se_sys_read fs/read_write.c:595 [inline] __x64_sys_read+0x4c/0x60 fs/read_write.c:595 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: 14776 Comm: syz-executor.5 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================