================================================================== BUG: KCSAN: data-race in ext4_mark_iloc_dirty / ext4_orphan_del write to 0xffff88810db2803c of 4 bytes by task 20997 on cpu 0: ext4_orphan_del+0x2fc/0x4a0 fs/ext4/namei.c:3083 ext4_evict_inode+0xb88/0xef0 fs/ext4/inode.c:318 evict+0x1aa/0x410 fs/inode.c:577 iput_final fs/inode.c:1653 [inline] iput+0x3fd/0x520 fs/inode.c:1679 dentry_unlink_inode+0x210/0x220 fs/dcache.c:374 __dentry_kill+0x293/0x450 fs/dcache.c:579 dentry_kill fs/dcache.c:692 [inline] dput+0x208/0x420 fs/dcache.c:885 cleanup_mnt+0x265/0x2e0 fs/namespace.c:1117 __cleanup_mnt+0x15/0x20 fs/namespace.c:1125 task_work_run+0x8e/0x110 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x17c/0x1b0 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88810db2803c of 4 bytes by task 20998 on cpu 1: ext4_do_update_inode fs/ext4/inode.c:5084 [inline] ext4_mark_iloc_dirty+0x889/0x16f0 fs/ext4/inode.c:5725 __ext4_mark_inode_dirty+0x4d6/0x5e0 fs/ext4/inode.c:5919 ext4_dirty_inode+0xa6/0xc0 fs/ext4/inode.c:5955 __mark_inode_dirty+0x72/0x6b0 fs/fs-writeback.c:2262 mark_inode_dirty_sync include/linux/fs.h:2186 [inline] dquot_free_space include/linux/quotaops.h:382 [inline] dquot_free_block include/linux/quotaops.h:392 [inline] ext4_free_blocks+0x14c4/0x1bd0 fs/ext4/mballoc.c:5472 ext4_remove_blocks+0x7fb/0xa10 fs/ext4/extents.c:2498 ext4_ext_rm_leaf+0x666/0xe40 fs/ext4/extents.c:2664 ext4_ext_remove_space+0x936/0x1400 fs/ext4/extents.c:2912 ext4_ext_truncate+0xf9/0x160 fs/ext4/extents.c:4370 ext4_truncate+0x844/0xbd0 fs/ext4/inode.c:4263 ext4_evict_inode+0xabe/0xef0 fs/ext4/inode.c:287 evict+0x1aa/0x410 fs/inode.c:577 iput_final fs/inode.c:1653 [inline] iput+0x3fd/0x520 fs/inode.c:1679 dentry_unlink_inode+0x210/0x220 fs/dcache.c:374 __dentry_kill+0x293/0x450 fs/dcache.c:579 dentry_kill fs/dcache.c:692 [inline] dput+0x208/0x420 fs/dcache.c:885 cleanup_mnt+0x265/0x2e0 fs/namespace.c:1117 __cleanup_mnt+0x15/0x20 fs/namespace.c:1125 task_work_run+0x8e/0x110 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x17c/0x1b0 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 20998 Comm: syz-executor.0 Not tainted 5.11.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================