================================================================== BUG: KCSAN: data-race in generic_fillattr / shmem_symlink write to 0xffff888102ff72e0 of 8 bytes by task 3416 on cpu 0: inode_set_mtime_to_ts include/linux/fs.h:1571 [inline] shmem_symlink+0x343/0x390 mm/shmem.c:3515 vfs_symlink+0xc2/0x1a0 fs/namei.c:4480 do_symlinkat+0xe3/0x340 fs/namei.c:4506 __do_sys_symlink fs/namei.c:4527 [inline] __se_sys_symlink fs/namei.c:4525 [inline] __x64_sys_symlink+0x56/0x60 fs/namei.c:4525 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888102ff72e0 of 8 bytes by task 3298 on cpu 1: inode_get_mtime include/linux/fs.h:1565 [inline] generic_fillattr+0x1a6/0x2f0 fs/stat.c:61 shmem_getattr+0x17b/0x200 mm/shmem.c:1139 vfs_getattr_nosec fs/stat.c:135 [inline] vfs_getattr+0x198/0x1e0 fs/stat.c:176 vfs_statx+0x140/0x320 fs/stat.c:248 vfs_fstatat+0xcd/0x100 fs/stat.c:304 __do_sys_newfstatat fs/stat.c:468 [inline] __se_sys_newfstatat+0x58/0x260 fs/stat.c:462 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:462 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0000000032a88c28 -> 0x00000000334122a8 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3298 Comm: udevd Not tainted 6.8.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ================================================================== udevd[3298]: inotify_add_watch(7, /dev/loop4p2, 10) failed: No such file or directory I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 udevd[3298]: inotify_add_watch(7, /dev/loop0p3, 10) failed: No such file or directory udevd[3298]: inotify_add_watch(7, /dev/loop4p3, 10) failed: No such file or directory I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0