================================================================== BUG: KCSAN: data-race in generic_fillattr / shmem_unlink read-write to 0xffff888103f303c0 of 8 bytes by task 26513 on cpu 1: shmem_unlink+0x108/0x180 mm/shmem.c:3366 shmem_rename2+0x1dc/0x2c0 mm/shmem.c:3449 vfs_rename+0x867/0x9c0 fs/namei.c:4883 do_renameat2+0x732/0xa60 fs/namei.c:5040 __do_sys_rename fs/namei.c:5087 [inline] __se_sys_rename fs/namei.c:5085 [inline] __x64_sys_rename+0x5c/0x70 fs/namei.c:5085 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 0xffff888103f303c0 of 8 bytes by task 26477 on cpu 0: i_size_read include/linux/fs.h:912 [inline] generic_fillattr+0x144/0x2f0 fs/stat.c:59 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: 0x0000000000001770 -> 0x000000000000175c Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 26477 Comm: udevd Tainted: G W 6.8.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ================================================================== I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0