================================================================== BUG: KCSAN: data-race in shmem_unlink / vfs_getattr_nosec write to 0xffff888104e29d08 of 8 bytes by task 5376 on cpu 0: shmem_unlink+0x117/0x1a0 mm/shmem.c:2932 shmem_rename2+0x199/0x2d0 mm/shmem.c:3008 vfs_rename+0x9d9/0xe00 fs/namei.c:4626 do_renameat2+0x6d7/0xa20 fs/namei.c:4777 __do_sys_rename fs/namei.c:4823 [inline] __se_sys_rename fs/namei.c:4821 [inline] __x64_sys_rename+0x58/0x60 fs/namei.c:4821 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 0xffff888104e29d08 of 8 bytes by task 1907 on cpu 1: i_size_read include/linux/fs.h:891 [inline] generic_fillattr fs/stat.c:53 [inline] vfs_getattr_nosec+0x242/0x2f0 fs/stat.c:126 vfs_getattr fs/stat.c:160 [inline] vfs_statx+0x138/0x2a0 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: 0x00000000000016f8 -> 0x00000000000016e4 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1907 Comm: udevd Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================