================================================================== BUG: KCSAN: data-race in generic_fillattr / inode_set_ctime_current write to 0xffff8881039d9cb0 of 8 bytes by task 3597 on cpu 0: inode_set_ctime_to_ts include/linux/fs.h:1535 [inline] inode_set_ctime include/linux/fs.h:1553 [inline] inode_set_ctime_current+0x16c/0x1d0 fs/inode.c:2541 shmem_mknod+0x11c/0x180 mm/shmem.c:3232 shmem_create+0x34/0x40 mm/shmem.c:3289 lookup_open fs/namei.c:3496 [inline] open_last_lookups fs/namei.c:3564 [inline] path_openat+0xda2/0x1d10 fs/namei.c:3794 do_filp_open+0xf6/0x200 fs/namei.c:3824 do_sys_openat2+0xab/0x110 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_openat fs/open.c:1453 [inline] __se_sys_openat fs/open.c:1448 [inline] __x64_sys_openat+0xf3/0x120 fs/open.c:1448 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff8881039d9cb0 of 8 bytes by task 3349 on cpu 1: inode_get_ctime include/linux/fs.h:1522 [inline] generic_fillattr+0x196/0x2b0 fs/stat.c:62 shmem_getattr+0x187/0x200 mm/shmem.c:1139 vfs_getattr_nosec fs/stat.c:135 [inline] vfs_getattr fs/stat.c:172 [inline] vfs_statx+0x266/0x430 fs/stat.c:244 vfs_fstatat+0xcd/0x100 fs/stat.c:295 __do_sys_newfstatat fs/stat.c:459 [inline] __se_sys_newfstatat+0x58/0x260 fs/stat.c:453 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:453 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0000000001e11770 -> 0x000000000279adf0 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3349 Comm: udevd Not tainted 6.6.0-rc6-syzkaller-00334-g1acfd2bd3f0d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 ==================================================================