================================================================== BUG: KCSAN: data-race in drop_nlink / generic_fillattr write to 0xffff8881319b2660 of 4 bytes by task 31608 on cpu 0: drop_nlink+0x37/0x90 fs/inode.c:307 shmem_unlink+0x1ab/0x1d0 mm/shmem.c:2933 shmem_rename2+0x2fd/0x440 mm/shmem.c:3029 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 0xffff8881319b2660 of 4 bytes by task 31607 on cpu 1: generic_fillattr+0x76/0x190 fs/stat.c:49 shmem_getattr+0x23a/0x260 mm/shmem.c:1075 vfs_getattr_nosec+0x153/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+0xa5/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+0x44/0xa0 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: 31607 Comm: systemd-udevd Not tainted 5.15.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================