================================================================== BUG: KCSAN: data-race in generic_fillattr / inode_set_ctime_current write to 0xffff888102d4a440 of 8 bytes by task 11714 on cpu 0: inode_set_ctime_to_ts include/linux/fs.h:1626 [inline] inode_set_ctime_current+0x38/0x50 fs/inode.c:2515 shmem_mknod+0x117/0x180 mm/shmem.c:3292 shmem_create+0x34/0x40 mm/shmem.c:3346 lookup_open fs/namei.c:3497 [inline] open_last_lookups fs/namei.c:3566 [inline] path_openat+0xdde/0x1d80 fs/namei.c:3796 do_filp_open+0xf7/0x200 fs/namei.c:3826 do_sys_openat2+0xab/0x120 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0xf3/0x120 fs/open.c:1432 do_syscall_64+0xd3/0x1d0 entry_SYSCALL_64_after_hwframe+0x72/0x7a read to 0xffff888102d4a440 of 8 bytes by task 11745 on cpu 1: inode_get_ctime include/linux/fs.h:1620 [inline] generic_fillattr+0x1e0/0x2f0 fs/stat.c:62 shmem_getattr+0x17b/0x200 mm/shmem.c:1145 vfs_getattr_nosec fs/stat.c:135 [inline] vfs_getattr+0x19b/0x1e0 fs/stat.c:176 vfs_statx+0x140/0x320 fs/stat.c:248 vfs_fstatat+0xcd/0x100 fs/stat.c:304 __do_sys_newfstatat fs/stat.c:468 [inline] __se_sys_newfstatat+0x58/0x260 fs/stat.c:462 __x64_sys_newfstatat+0x55/0x70 fs/stat.c:462 do_syscall_64+0xd3/0x1d0 entry_SYSCALL_64_after_hwframe+0x72/0x7a value changed: 0x0000000001a252d4 -> 0x0000000005ce7055 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 11745 Comm: udevd Tainted: G W 6.9.0-rc2-syzkaller-00385-g104db052b62d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ================================================================== I/O error, dev loop4, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 udevd[11745]: inotify_add_watch(7, /dev/loop0p4, 10) failed: No such file or directory I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0