================================================================== BUG: KCSAN: data-race in generic_fillattr / shmem_mknod write to 0xffff888101e8ed00 of 8 bytes by task 5481 on cpu 1: inode_set_mtime_to_ts include/linux/fs.h:1594 [inline] shmem_mknod+0x136/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+0x6d/0x75 read to 0xffff888101e8ed00 of 8 bytes by task 5462 on cpu 0: inode_get_mtime include/linux/fs.h:1588 [inline] generic_fillattr+0x1a6/0x2f0 fs/stat.c:61 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+0x6d/0x75 value changed: 0x000000001c460a99 -> 0x000000001e0fce19 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 5462 Comm: udevd Not tainted 6.8.0-syzkaller-13213-g70293240c5ce #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 ================================================================== I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0