================================================================== BUG: KCSAN: data-race in shmem_rename2 / vfs_getattr_nosec write to 0xffff888106f51970 of 8 bytes by task 29517 on cpu 1: shmem_rename2+0x387/0x430 mm/shmem.c:3131 vfs_rename+0x903/0xe60 fs/namei.c:4312 do_renameat2+0x5c3/0x900 fs/namei.c:4457 __do_sys_rename fs/namei.c:4508 [inline] __se_sys_rename fs/namei.c:4506 [inline] __x64_sys_rename+0x58/0x60 fs/namei.c:4506 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888106f51970 of 8 bytes by task 29510 on cpu 0: i_size_read include/linux/fs.h:848 [inline] generic_fillattr fs/stat.c:45 [inline] vfs_getattr_nosec+0x263/0x320 fs/stat.c:90 vfs_getattr fs/stat.c:124 [inline] vfs_statx+0x128/0x290 fs/stat.c:189 vfs_fstatat fs/stat.c:207 [inline] vfs_stat include/linux/fs.h:3118 [inline] __do_sys_newstat fs/stat.c:349 [inline] __se_sys_newstat+0x46/0x250 fs/stat.c:345 __x64_sys_newstat+0x2d/0x40 fs/stat.c:345 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 29510 Comm: systemd-udevd Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================