================================================================== BUG: KCSAN: data-race in __mark_inode_dirty / inode_cgwb_move_to_attached write to 0xffff888105f6a7a0 of 8 bytes by task 1806 on cpu 0: inode_cgwb_move_to_attached+0x79/0x1f0 fs/fs-writeback.c:1164 requeue_inode fs/fs-writeback.c:1586 [inline] writeback_sb_inodes+0xb37/0xd10 fs/fs-writeback.c:1905 wb_writeback+0x28e/0x700 fs/fs-writeback.c:2051 wb_do_writeback+0x101/0x510 fs/fs-writeback.c:2196 wb_workfn+0xc8/0x520 fs/fs-writeback.c:2237 process_one_work+0x3e9/0x8f0 kernel/workqueue.c:2276 worker_thread+0x636/0xae0 kernel/workqueue.c:2422 kthread+0x262/0x280 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 read to 0xffff888105f6a7a0 of 8 bytes by task 3942 on cpu 1: __mark_inode_dirty+0xda/0x680 fs/fs-writeback.c:2419 mark_inode_dirty include/linux/fs.h:2444 [inline] dquot_alloc_space include/linux/quotaops.h:317 [inline] dquot_alloc_block include/linux/quotaops.h:334 [inline] ext4_mb_new_blocks+0x116b/0x1f90 fs/ext4/mballoc.c:5477 ext4_ext_map_blocks+0x1569/0x1f00 fs/ext4/extents.c:4245 ext4_map_blocks+0x70d/0xef0 fs/ext4/inode.c:638 ext4_alloc_file_blocks+0x271/0x720 fs/ext4/extents.c:4432 ext4_fallocate+0x2a7/0x4d0 fs/ext4/extents.c:4713 vfs_fallocate+0x459/0x6a0 fs/open.c:307 file_ioctl fs/ioctl.c:294 [inline] do_vfs_ioctl+0x1322/0x1410 fs/ioctl.c:845 __do_sys_ioctl fs/ioctl.c:864 [inline] __se_sys_ioctl+0x83/0x140 fs/ioctl.c:852 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:852 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0000000000020080 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3942 Comm: syz-executor.2 Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================