================================================================== BUG: KCSAN: data-race in atime_needs_update / touch_atime write to 0xffff8881005e4618 of 8 bytes by task 22442 on cpu 0: inode_update_timestamps fs/inode.c:1907 [inline] generic_update_time fs/inode.c:1929 [inline] inode_update_time fs/inode.c:1949 [inline] touch_atime+0x31f/0x4a0 fs/inode.c:2020 pick_link+0x30c/0x7b0 fs/namei.c:1787 step_into+0x71b/0x800 fs/namei.c:1871 open_last_lookups fs/namei.c:3586 [inline] path_openat+0x10bb/0x1d10 fs/namei.c:3793 do_filp_open+0xf6/0x200 fs/namei.c:3823 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 0xffff8881005e4618 of 8 bytes by task 22429 on cpu 1: timespec64_compare include/linux/time64.h:63 [inline] relatime_need_update fs/inode.c:1847 [inline] atime_needs_update+0x4fe/0x5b0 fs/inode.c:1989 pick_link+0x2eb/0x7b0 fs/namei.c:1784 step_into+0x71b/0x800 fs/namei.c:1871 open_last_lookups fs/namei.c:3586 [inline] path_openat+0x10bb/0x1d10 fs/namei.c:3793 do_filp_open+0xf6/0x200 fs/namei.c:3823 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 value changed: 0x0000000028e9fcdb -> 0x000000002982935b Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 22429 Comm: syz-executor.1 Not tainted 6.5.0-syzkaller-12728-ga48fa7efaf11 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ==================================================================