================================================================== BUG: KCSAN: data-race in atime_needs_update / shmem_xattr_handler_set write to 0xffff88813db253f8 of 8 bytes by task 3507 on cpu 0: shmem_xattr_handler_set+0x8a/0xb0 mm/shmem.c:3317 __vfs_setxattr+0x2f0/0x320 fs/xattr.c:202 __vfs_setxattr_noperm+0xe9/0x3e0 fs/xattr.c:236 __vfs_setxattr_locked+0x1a8/0x1c0 fs/xattr.c:297 vfs_setxattr+0x145/0x2a0 fs/xattr.c:323 do_setxattr fs/xattr.c:608 [inline] setxattr fs/xattr.c:631 [inline] path_setxattr+0x2a4/0x390 fs/xattr.c:650 __do_sys_lsetxattr fs/xattr.c:673 [inline] __se_sys_lsetxattr fs/xattr.c:669 [inline] __x64_sys_lsetxattr+0x66/0x80 fs/xattr.c:669 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88813db253f8 of 8 bytes by task 3804 on cpu 1: timespec64_compare include/linux/time64.h:63 [inline] relatime_need_update fs/inode.c:1823 [inline] atime_needs_update+0x45f/0x4d0 fs/inode.c:1911 touch_atime+0x63/0x2e0 fs/inode.c:1926 do_readlinkat+0x16d/0x210 fs/stat.c:482 __do_sys_readlink fs/stat.c:504 [inline] __se_sys_readlink fs/stat.c:501 [inline] __x64_sys_readlink+0x43/0x50 fs/stat.c:501 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x000000002aea7312 -> 0x000000002cb43693 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3804 Comm: udevd Not tainted 6.2.0-rc2-syzkaller-00057-g41c03ba9beea-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 ==================================================================