================================================================== BUG: KCSAN: data-race in generic_fillattr / inode_set_ctime_current write to 0xffff8881290052a0 of 8 bytes by task 29183 on cpu 1: inode_set_ctime_to_ts include/linux/fs.h:1601 [inline] inode_set_ctime include/linux/fs.h:1619 [inline] inode_set_ctime_current+0x16c/0x1d0 fs/inode.c:2512 shmem_unlink+0x114/0x180 mm/shmem.c:3368 shmem_rename2+0x1dc/0x2c0 mm/shmem.c:3449 vfs_rename+0x867/0x9c0 fs/namei.c:4879 do_renameat2+0x732/0xa50 fs/namei.c:5036 __do_sys_rename fs/namei.c:5083 [inline] __se_sys_rename fs/namei.c:5081 [inline] __x64_sys_rename+0x5c/0x70 fs/namei.c:5081 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff8881290052a0 of 8 bytes by task 2766 on cpu 0: inode_get_ctime include/linux/fs.h:1595 [inline] generic_fillattr+0x1e0/0x2f0 fs/stat.c:62 shmem_getattr+0x17b/0x200 mm/shmem.c:1139 vfs_getattr_nosec fs/stat.c:135 [inline] vfs_getattr fs/stat.c:176 [inline] vfs_fstat+0x1b5/0x460 fs/stat.c:198 vfs_fstatat+0x85/0x100 fs/stat.c:300 __do_sys_newfstatat fs/stat.c:468 [inline] __se_sys_newfstatat+0x58/0x260 fs/stat.c:462 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:462 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x00000000146896a0 -> 0x0000000018427571 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2766 Comm: udevd Not tainted 6.7.0-syzkaller-10085-g1b1934dbbdcf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ==================================================================