================================================================== BUG: KCSAN: data-race in atime_needs_update / shmem_xattr_handler_set write to 0xffff8881392ddbc0 of 8 bytes by task 5357 on cpu 0: shmem_xattr_handler_set+0x91/0xc0 mm/shmem.c:3470 __vfs_setxattr+0x2de/0x300 fs/xattr.c:201 __vfs_setxattr_noperm+0xed/0x3e0 fs/xattr.c:235 __vfs_setxattr_locked+0x1af/0x1d0 fs/xattr.c:296 vfs_setxattr+0x140/0x280 fs/xattr.c:322 do_setxattr fs/xattr.c:630 [inline] setxattr+0x1bc/0x230 fs/xattr.c:653 path_setxattr+0xf5/0x1a0 fs/xattr.c:672 __do_sys_lsetxattr fs/xattr.c:695 [inline] __se_sys_lsetxattr fs/xattr.c:691 [inline] __x64_sys_lsetxattr+0x6a/0x80 fs/xattr.c:691 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 0xffff8881392ddbc0 of 8 bytes by task 3185 on cpu 1: timespec64_compare include/linux/time64.h:63 [inline] relatime_need_update fs/inode.c:1864 [inline] atime_needs_update+0x399/0x410 fs/inode.c:1952 touch_atime+0x68/0x310 fs/inode.c:1967 do_readlinkat+0x164/0x210 fs/stat.c:488 __do_sys_readlink fs/stat.c:510 [inline] __se_sys_readlink fs/stat.c:507 [inline] __x64_sys_readlink+0x47/0x50 fs/stat.c:507 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: 0x000000000d3c61b3 -> 0x000000000dd4f833 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3185 Comm: udevd Not tainted 6.5.0-rc7-syzkaller-00004-gf7757129e3de #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ================================================================== I/O error, dev loop1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2