BUG: KCSAN: data-race in generic_fillattr / shmem_mknod write to 0xffff8881030b2720 of 8 bytes by task 3129 on cpu 0: inode_set_mtime_to_ts include/linux/fs.h:1571 [inline] shmem_mknod+0x132/0x180 mm/shmem.c:3259 shmem_create+0x34/0x40 mm/shmem.c:3313 lookup_open fs/namei.c:3496 [inline] open_last_lookups fs/namei.c:3565 [inline] path_openat+0xdc2/0x1d40 fs/namei.c:3795 do_filp_open+0xf6/0x200 fs/namei.c:3825 do_sys_openat2+0xab/0x110 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_openat fs/open.c:1435 [inline] __se_sys_openat fs/open.c:1430 [inline] __x64_sys_openat+0xf3/0x120 fs/open.c:1430 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 0xffff8881030b2720 of 8 bytes by task 3326 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: 0x000000001f011abc -> 0x000000001f99b13c Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3326 Comm: udevd Not tainted 6.8.0-rc4-syzkaller-00180-g4f5e5092fdbf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ================================================================== I/O error, dev loop4, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop4, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop4, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 blk_print_req_error: 24 callbacks suppressed I/O error, dev loop4, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop4, 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 Buffer I/O error on dev loop4, logical block 0, async page read