================================================================== BUG: KCSAN: data-race in generic_fillattr / inode_set_ctime_current write to 0xffff8881030786e0 of 8 bytes by task 3122 on cpu 1: inode_set_ctime_to_ts include/linux/fs.h:1603 [inline] inode_set_ctime include/linux/fs.h:1621 [inline] inode_set_ctime_current+0x38/0x50 fs/inode.c:2512 shmem_mknod+0x113/0x180 mm/shmem.c:3259 shmem_create+0x34/0x40 mm/shmem.c:3313 lookup_open fs/namei.c:3500 [inline] open_last_lookups fs/namei.c:3569 [inline] path_openat+0xdc2/0x1d40 fs/namei.c:3799 do_filp_open+0xf6/0x200 fs/namei.c:3829 do_sys_openat2+0xab/0x110 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_openat fs/open.c:1435 [inline] __se_sys_openat fs/open.c:1430 [inline] __x64_sys_openat+0xf3/0x120 fs/open.c:1430 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 0xffff8881030786e0 of 8 bytes by task 3850 on cpu 0: inode_get_ctime include/linux/fs.h:1597 [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+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0000000034e50182 -> 0x0000000037dff203 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3850 Comm: udevd Not tainted 6.8.0-rc7-syzkaller-00238-g005f6f34bd47 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 ==================================================================