================================================================== BUG: KCSAN: data-race in drop_nlink / generic_fillattr write to 0xffff888129d66d50 of 4 bytes by task 3393 on cpu 0: drop_nlink+0x3b/0x90 fs/inode.c:332 shmem_unlink+0x173/0x190 mm/shmem.c:3039 shmem_rename2+0x199/0x2f0 mm/shmem.c:3113 vfs_rename+0x811/0xa40 fs/namei.c:4772 do_renameat2+0x66f/0x9c0 fs/namei.c:4923 __do_sys_rename fs/namei.c:4969 [inline] __se_sys_rename fs/namei.c:4967 [inline] __x64_sys_rename+0x5c/0x70 fs/namei.c:4967 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888129d66d50 of 4 bytes by task 3825 on cpu 1: generic_fillattr+0xf3/0x1e0 fs/stat.c:54 shmem_getattr+0x32a/0x3b0 mm/shmem.c:1068 vfs_getattr_nosec+0x1e3/0x3c0 fs/stat.c:133 vfs_getattr fs/stat.c:170 [inline] vfs_statx+0x156/0x300 fs/stat.c:242 vfs_fstatat fs/stat.c:276 [inline] __do_sys_newfstatat fs/stat.c:446 [inline] __se_sys_newfstatat+0x8a/0x2a0 fs/stat.c:440 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:440 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00000001 -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3825 Comm: udevd Not tainted 6.2.0-syzkaller-12998-gc0927a7a5391-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 ==================================================================