================================================================== BUG: KCSAN: data-race in shmem_rename2 / vfs_getattr_nosec write to 0xffff888104a180c8 of 8 bytes by task 11672 on cpu 0: shmem_rename2+0x38f/0x440 mm/shmem.c:3040 vfs_rename+0x9d9/0xe20 fs/namei.c:4628 do_renameat2+0x6d7/0xa20 fs/namei.c:4779 __do_sys_rename fs/namei.c:4825 [inline] __se_sys_rename fs/namei.c:4823 [inline] __x64_sys_rename+0x58/0x60 fs/namei.c:4823 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888104a180c8 of 8 bytes by task 11659 on cpu 1: i_size_read include/linux/fs.h:894 [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] vfs_stat include/linux/fs.h:3352 [inline] __do_sys_newstat fs/stat.c:385 [inline] __se_sys_newstat+0x5d/0x250 fs/stat.c:381 __x64_sys_newstat+0x2d/0x40 fs/stat.c:381 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0000000000002b20 -> 0x0000000000002b34 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 11659 Comm: systemd-udevd Tainted: G W 5.15.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================