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

write to 0xffff8881042506c4 of 4 bytes by task 3771 on cpu 0:
 inode_set_mtime_to_ts include/linux/fs.h:1706 [inline]
 shmem_symlink+0x368/0x3c0 mm/shmem.c:4131
 vfs_symlink+0xd1/0x1e0 fs/namei.c:4723
 do_symlinkat+0xc7/0x3c0 fs/namei.c:4749
 __do_sys_symlink fs/namei.c:4770 [inline]
 __se_sys_symlink fs/namei.c:4768 [inline]
 __x64_sys_symlink+0x50/0x60 fs/namei.c:4768
 x64_sys_call+0x2d8d/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:89
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd0/0x1a0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff8881042506c4 of 4 bytes by task 4462 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+0x5b/0x260 fs/stat.c:55
 generic_fillattr+0x24a/0x340 fs/stat.c:99
 shmem_getattr+0x181/0x200 mm/shmem.c:1262
 vfs_getattr_nosec+0x143/0x1e0 fs/stat.c:210
 vfs_getattr fs/stat.c:259 [inline]
 vfs_statx_path fs/stat.c:296 [inline]
 vfs_statx+0x11a/0x380 fs/stat.c:353
 vfs_fstatat+0xe1/0x160 fs/stat.c:372
 __do_sys_newfstatat fs/stat.c:536 [inline]
 __se_sys_newfstatat+0x55/0x260 fs/stat.c:530
 __x64_sys_newfstatat+0x55/0x70 fs/stat.c:530
 x64_sys_call+0x2c22/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:263
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd0/0x1a0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x1f864a11 -> 0x1fe9be3e

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 4462 Comm: udevd Not tainted 6.15.0-rc4-syzkaller-00021-gca91b9500108 #0 PREEMPT(voluntary) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
==================================================================