================================================================== BUG: KCSAN: data-race in __mark_inode_dirty / writeback_sb_inodes write to 0xffff888120af52c0 of 8 bytes by task 7 on cpu 0: writeback_sb_inodes+0x3bd/0xa10 fs/fs-writeback.c:1705 wb_writeback+0x1f9/0x6a0 fs/fs-writeback.c:1892 wb_do_writeback fs/fs-writeback.c:2037 [inline] wb_workfn+0x215/0x970 fs/fs-writeback.c:2078 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 read to 0xffff888120af52c0 of 8 bytes by task 12823 on cpu 1: __mark_inode_dirty+0xb6/0x940 fs/fs-writeback.c:2272 mark_inode_dirty include/linux/fs.h:2189 [inline] dquot_alloc_space include/linux/quotaops.h:320 [inline] dquot_alloc_block include/linux/quotaops.h:337 [inline] ext4_mb_new_blocks+0x2fd/0x1ea0 fs/ext4/mballoc.c:4535 ext4_ext_map_blocks+0x18cb/0x1fb0 fs/ext4/extents.c:4218 ext4_map_blocks+0x230/0xcf0 fs/ext4/inode.c:621 ext4_alloc_file_blocks+0x210/0x6c0 fs/ext4/extents.c:4406 ext4_fallocate+0x9dc/0x21f0 fs/ext4/extents.c:4675 vfs_fallocate+0x3b1/0x640 fs/open.c:309 ioctl_preallocate+0x12a/0x190 fs/ioctl.c:504 file_ioctl fs/ioctl.c:544 [inline] do_vfs_ioctl+0xa69/0xd00 fs/ioctl.c:742 ksys_ioctl+0xb2/0x150 fs/ioctl.c:761 __do_sys_ioctl fs/ioctl.c:772 [inline] __se_sys_ioctl fs/ioctl.c:770 [inline] __x64_sys_ioctl+0x47/0x60 fs/ioctl.c:770 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: 12823 Comm: syz-executor.1 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================