==================================================================
BUG: KCSAN: data-race in fill_mg_cmtime / shmem_unlink

write to 0xffff888104369264 of 4 bytes by task 13863 on cpu 0:
 inode_set_mtime_to_ts include/linux/fs.h:1706 [inline]
 shmem_unlink+0x13b/0x170 mm/shmem.c:3987
 shmem_rename2+0x1d4/0x2c0 mm/shmem.c:4076
 vfs_rename+0x8d8/0xa70 fs/namei.c:5086
 do_renameat2+0x5d6/0x9f0 fs/namei.c:5235
 __do_sys_rename fs/namei.c:5282 [inline]
 __se_sys_rename fs/namei.c:5280 [inline]
 __x64_sys_rename+0x58/0x70 fs/namei.c:5280
 x64_sys_call+0x2cd9/0x2e10 arch/x86/include/generated/asm/syscalls_64.h:83
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888104369264 of 4 bytes by task 9677 on cpu 1:
 inode_get_mtime_nsec include/linux/fs.h:1692 [inline]
 inode_get_mtime include/linux/fs.h:1698 [inline]
 fill_mg_cmtime+0x58/0x280 fs/stat.c:55
 generic_fillattr+0x241/0x330 fs/stat.c:99
 shmem_getattr+0x17b/0x200 mm/shmem.c:1249
 vfs_getattr_nosec fs/stat.c:208 [inline]
 vfs_getattr+0x172/0x1b0 fs/stat.c:246
 vfs_statx_path fs/stat.c:283 [inline]
 vfs_statx+0x12c/0x310 fs/stat.c:349
 vfs_fstatat+0xe4/0x130 fs/stat.c:368
 __do_sys_newfstatat fs/stat.c:532 [inline]
 __se_sys_newfstatat+0x58/0x260 fs/stat.c:526
 __x64_sys_newfstatat+0x55/0x70 fs/stat.c:526
 x64_sys_call+0x2d6f/0x2e10 arch/x86/include/generated/asm/syscalls_64.h:263
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x1736a655 -> 0x17391e12

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 9677 Comm: udevd Not tainted 6.14.0-syzkaller-11144-g1e7857b28020 #0 PREEMPT(voluntary) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
==================================================================