================================================================== BUG: KCSAN: data-race in drop_nlink / vfs_getattr_nosec write to 0xffff88812dbc65f8 of 4 bytes by task 5837 on cpu 1: drop_nlink+0x37/0x90 fs/inode.c:305 shmem_unlink+0x1ab/0x1d0 mm/shmem.c:2935 shmem_rename2+0x2fd/0x440 mm/shmem.c:3031 vfs_rename+0xa03/0xfb0 fs/namei.c:4551 do_renameat2+0x59e/0x9b0 fs/namei.c:4706 __do_sys_rename fs/namei.c:4755 [inline] __se_sys_rename fs/namei.c:4753 [inline] __x64_sys_rename+0x58/0x60 fs/namei.c:4753 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88812dbc65f8 of 4 bytes by task 5866 on cpu 0: generic_fillattr fs/stat.c:49 [inline] vfs_getattr_nosec+0x1c1/0x2f0 fs/stat.c:108 vfs_getattr fs/stat.c:142 [inline] vfs_statx+0x128/0x290 fs/stat.c:207 vfs_fstatat fs/stat.c:225 [inline] vfs_lstat include/linux/fs.h:3386 [inline] __do_sys_newlstat fs/stat.c:380 [inline] __se_sys_newlstat+0x46/0x250 fs/stat.c:374 __x64_sys_newlstat+0x2d/0x40 fs/stat.c:374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000001 -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 5866 Comm: systemd-udevd Not tainted 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== blk_update_request: I/O error, dev loop5, sector 25 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 blk_update_request: I/O error, dev loop5, sector 25 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0