================================================================== BUG: KCSAN: data-race in generic_fillattr / shmem_mknod write to 0xffff888103ca5580 of 8 bytes by task 6726 on cpu 0: 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 0xffff888103ca5580 of 8 bytes by task 6729 on cpu 1: 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: 0x000000001250e8e3 -> 0x000000001611aa03 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 6729 Comm: udevd Tainted: G W 6.8.0-syzkaller-11339-g741e9d668aa5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 ==================================================================