================================================================== BUG: KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set write to 0xffff888103deb00e of 2 bytes by task 3474 on cpu 0: ext4_free_inodes_set+0x1f/0x80 fs/ext4/super.c:405 __ext4_new_inode+0x15c5/0x2270 fs/ext4/ialloc.c:1216 ext4_mkdir+0x27f/0x740 fs/ext4/namei.c:3014 vfs_mkdir+0x1ef/0x2f0 fs/namei.c:4122 do_mkdirat+0x12f/0x2a0 fs/namei.c:4145 __do_sys_mkdirat fs/namei.c:4160 [inline] __se_sys_mkdirat fs/namei.c:4158 [inline] __x64_sys_mkdirat+0x50/0x60 fs/namei.c:4158 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888103deb00e of 2 bytes by task 3454 on cpu 1: ext4_free_inodes_count+0x1c/0x80 fs/ext4/super.c:349 find_group_orlov+0x6f6/0x760 fs/ext4/ialloc.c:504 __ext4_new_inode+0x609/0x2270 fs/ext4/ialloc.c:1015 ext4_mkdir+0x27f/0x740 fs/ext4/namei.c:3014 vfs_mkdir+0x1ef/0x2f0 fs/namei.c:4122 do_mkdirat+0x12f/0x2a0 fs/namei.c:4145 __do_sys_mkdirat fs/namei.c:4160 [inline] __se_sys_mkdirat fs/namei.c:4158 [inline] __x64_sys_mkdirat+0x50/0x60 fs/namei.c:4158 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x1866 -> 0x1865 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3454 Comm: syz-executor.2 Not tainted 6.8.0-rc2-syzkaller-00381-gb1dd6c26bca4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ==================================================================