BUG: KCSAN: data-race in inode_update_timestamps / inode_update_timestamps write to 0xffff88813971e130 of 8 bytes by task 4675 on cpu 0: inode_set_atime_to_ts include/linux/fs.h:1541 [inline] inode_update_timestamps+0x4d1/0x560 fs/inode.c:1876 generic_update_time fs/inode.c:1898 [inline] inode_update_time fs/inode.c:1918 [inline] touch_atime+0x15c/0x2d0 fs/inode.c:1990 file_accessed include/linux/fs.h:2437 [inline] iterate_dir+0x2db/0x300 fs/readdir.c:113 __do_sys_getdents64 fs/readdir.c:409 [inline] __se_sys_getdents64+0x88/0x1a0 fs/readdir.c:394 __x64_sys_getdents64+0x43/0x50 fs/readdir.c:394 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff88813971e130 of 8 bytes by task 4649 on cpu 1: inode_get_atime include/linux/fs.h:1535 [inline] inode_update_timestamps+0x498/0x560 fs/inode.c:1873 generic_update_time fs/inode.c:1898 [inline] inode_update_time fs/inode.c:1918 [inline] touch_atime+0x15c/0x2d0 fs/inode.c:1990 file_accessed include/linux/fs.h:2437 [inline] iterate_dir+0x2db/0x300 fs/readdir.c:113 __do_sys_getdents64 fs/readdir.c:409 [inline] __se_sys_getdents64+0x88/0x1a0 fs/readdir.c:394 __x64_sys_getdents64+0x43/0x50 fs/readdir.c:394 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x000000001ec9a9d3 -> 0x000000001f624053 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 4649 Comm: udevd Not tainted 6.8.0-rc2-syzkaller-00031-g861c0981648f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ================================================================== I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 Buffer I/O error on dev loop3, logical block 0, async page read I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 Buffer I/O error on dev loop3, logical block 0, async page read I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0