================================================================== BUG: KCSAN: data-race in generic_fillattr / inode_set_ctime_current write to 0xffff888102827000 of 8 bytes by task 3597 on cpu 0: inode_set_ctime_to_ts include/linux/fs.h:1597 [inline] inode_set_ctime include/linux/fs.h:1615 [inline] inode_set_ctime_current+0x16c/0x1d0 fs/inode.c:2550 shmem_mknod+0x113/0x180 mm/shmem.c:3244 shmem_create+0x34/0x40 mm/shmem.c:3298 lookup_open fs/namei.c:3477 [inline] open_last_lookups fs/namei.c:3546 [inline] path_openat+0xdc2/0x1d70 fs/namei.c:3776 do_filp_open+0xf6/0x200 fs/namei.c:3809 do_sys_openat2+0xab/0x110 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_openat fs/open.c:1471 [inline] __se_sys_openat fs/open.c:1466 [inline] __x64_sys_openat+0xf3/0x120 fs/open.c:1466 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888102827000 of 8 bytes by task 3066 on cpu 1: inode_get_ctime include/linux/fs.h:1591 [inline] generic_fillattr+0x1e0/0x2f0 fs/stat.c:62 shmem_getattr+0x17b/0x200 mm/shmem.c:1121 vfs_getattr_nosec fs/stat.c:135 [inline] vfs_getattr+0x198/0x1e0 fs/stat.c:176 vfs_statx+0x12f/0x2f0 fs/stat.c:248 vfs_fstatat+0xcd/0x100 fs/stat.c:299 __do_sys_newfstatat fs/stat.c:463 [inline] __se_sys_newfstatat+0x58/0x260 fs/stat.c:457 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:457 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x000000003744b9ee -> 0x000000003a3faa6f Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3066 Comm: udevd Not tainted 6.7.0-rc5-syzkaller-00042-g88035e5694a8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 ==================================================================