================================================================== BUG: KCSAN: data-race in drop_nlink / generic_fillattr write to 0xffff88811db92a20 of 4 bytes by task 19398 on cpu 0: drop_nlink+0x37/0x90 fs/inode.c:331 shmem_unlink+0x16f/0x190 mm/shmem.c:3031 shmem_rename2+0x194/0x2f0 mm/shmem.c:3105 vfs_rename+0x8f5/0xb60 fs/namei.c:4779 do_renameat2+0x6b8/0x9d0 fs/namei.c:4930 __do_sys_rename fs/namei.c:4976 [inline] __se_sys_rename fs/namei.c:4974 [inline] __x64_sys_rename+0x58/0x60 fs/namei.c:4974 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88811db92a20 of 4 bytes by task 19393 on cpu 1: generic_fillattr+0x1d4/0x2d0 fs/stat.c:53 shmem_getattr+0x310/0x390 mm/shmem.c:1069 vfs_getattr_nosec fs/stat.c:127 [inline] vfs_getattr fs/stat.c:164 [inline] vfs_statx+0x266/0x460 fs/stat.c:236 vfs_fstatat fs/stat.c:270 [inline] __do_sys_newfstatat fs/stat.c:440 [inline] __se_sys_newfstatat+0x8a/0x290 fs/stat.c:434 __x64_sys_newfstatat+0x51/0x60 fs/stat.c:434 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 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: 19393 Comm: udevd Tainted: G W 6.2.0-rc4-syzkaller-00031-g6e50979a9c87-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 ==================================================================