================================================================== BUG: KCSAN: data-race in drop_nlink / generic_fillattr write to 0xffff888135e6a0b8 of 4 bytes by task 4760 on cpu 0: drop_nlink+0x37/0x90 fs/inode.c:307 shmem_unlink+0x1ab/0x1d0 mm/shmem.c:2923 shmem_rename2+0x2fd/0x440 mm/shmem.c:3019 vfs_rename+0x8be/0xcf0 fs/namei.c:4622 do_renameat2+0x577/0x990 fs/namei.c:4773 __do_sys_rename fs/namei.c:4819 [inline] __se_sys_rename fs/namei.c:4817 [inline] __x64_sys_rename+0x58/0x60 fs/namei.c:4817 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 0xffff888135e6a0b8 of 4 bytes by task 1040 on cpu 1: generic_fillattr+0x76/0x190 fs/stat.c:49 shmem_getattr+0x23d/0x260 mm/shmem.c:1048 vfs_getattr_nosec+0x152/0x2f0 fs/stat.c:123 vfs_getattr fs/stat.c:160 [inline] vfs_fstat fs/stat.c:182 [inline] __do_sys_newfstat fs/stat.c:422 [inline] __se_sys_newfstat+0x94/0x2c0 fs/stat.c:419 __x64_sys_newfstat+0x2d/0x40 fs/stat.c:419 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: 1 PID: 1040 Comm: systemd-udevd Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================