================================================================== BUG: KCSAN: data-race in generic_fillattr / inode_add_bytes read-write to 0xffff888115c65560 of 8 bytes by task 3726 on cpu 1: __inode_add_bytes fs/stat.c:891 [inline] inode_add_bytes+0x45/0xd0 fs/stat.c:904 __dquot_alloc_space+0x181/0x8a0 fs/quota/dquot.c:1695 dquot_alloc_space_nodirty include/linux/quotaops.h:299 [inline] dquot_alloc_block_nodirty include/linux/quotaops.h:326 [inline] shmem_inode_acct_blocks+0x124/0x230 mm/shmem.c:232 shmem_alloc_and_add_folio mm/shmem.c:1814 [inline] shmem_get_folio_gfp+0x5e2/0xd80 mm/shmem.c:2188 shmem_get_folio mm/shmem.c:2293 [inline] shmem_write_begin+0xa0/0x1c0 mm/shmem.c:2898 generic_perform_write+0x1b4/0x580 mm/filemap.c:4019 shmem_file_write_iter+0xc8/0xf0 mm/shmem.c:3074 new_sync_write fs/read_write.c:497 [inline] vfs_write+0x78f/0x900 fs/read_write.c:590 ksys_write+0xeb/0x1b0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:652 x64_sys_call+0x27dd/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888115c65560 of 8 bytes by task 3632 on cpu 0: generic_fillattr+0x22d/0x2f0 fs/stat.c:64 shmem_getattr+0x17b/0x200 mm/shmem.c:1157 vfs_getattr_nosec fs/stat.c:166 [inline] vfs_getattr fs/stat.c:207 [inline] vfs_fstat+0x1b9/0x470 fs/stat.c:229 vfs_fstatat+0xa2/0x110 fs/stat.c:338 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat+0x58/0x260 fs/stat.c:499 __x64_sys_newfstatat+0x55/0x70 fs/stat.c:499 x64_sys_call+0x141f/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:263 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000004648 -> 0x0000000000004650 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3632 Comm: udevd Not tainted 6.11.0-rc3-syzkaller-00060-gd07b43284ab3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 ==================================================================