================================================================== BUG: KCSAN: data-race in generic_fillattr / shmem_unlink write to 0xffff888103c1d148 of 8 bytes by task 1809 on cpu 1: shmem_unlink+0x117/0x1a0 mm/shmem.c:2914 shmem_rename2+0x199/0x2d0 mm/shmem.c:2990 vfs_rename+0x91b/0xd20 fs/namei.c:4627 do_renameat2+0x6d7/0xa20 fs/namei.c:4778 __do_sys_rename fs/namei.c:4824 [inline] __se_sys_rename fs/namei.c:4822 [inline] __x64_sys_rename+0x58/0x60 fs/namei.c:4822 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888103c1d148 of 8 bytes by task 2088 on cpu 0: i_size_read include/linux/fs.h:892 [inline] generic_fillattr+0x203/0x2b0 fs/stat.c:53 vfs_getattr_nosec fs/stat.c:126 [inline] vfs_getattr fs/stat.c:160 [inline] vfs_statx+0x265/0x3c0 fs/stat.c:225 vfs_fstatat fs/stat.c:243 [inline] __do_sys_newfstatat fs/stat.c:412 [inline] __se_sys_newfstatat+0x63/0x260 fs/stat.c:406 __x64_sys_newfstatat+0x51/0x60 fs/stat.c:406 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x000000000000170c -> 0x00000000000016f8 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2088 Comm: udevd Not tainted 5.16.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================