================================================================== BUG: KCSAN: data-race in shmem_unlink / vfs_getattr_nosec write to 0xffff888104e736a8 of 8 bytes by task 2464 on cpu 1: shmem_unlink+0x117/0x1a0 mm/shmem.c:2932 vfs_unlink+0x257/0x450 fs/namei.c:4100 do_unlinkat+0x278/0x540 fs/namei.c:4167 __do_sys_unlink fs/namei.c:4215 [inline] __se_sys_unlink fs/namei.c:4213 [inline] __x64_sys_unlink+0x2c/0x30 fs/namei.c:4213 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888104e736a8 of 8 bytes by task 1907 on cpu 0: i_size_read include/linux/fs.h:891 [inline] generic_fillattr fs/stat.c:53 [inline] vfs_getattr_nosec+0x242/0x2f0 fs/stat.c:126 vfs_getattr fs/stat.c:160 [inline] vfs_statx+0x138/0x2a0 fs/stat.c:225 vfs_fstatat fs/stat.c:243 [inline] __do_sys_newfstatat fs/stat.c:412 [inline] __se_sys_newfstatat+0x63/0x260 fs/stat.c:406 __x64_sys_newfstatat+0x51/0x60 fs/stat.c:406 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000000000000dc -> 0x00000000000000c8 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1907 Comm: udevd Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== udevd[1907]: inotify_add_watch(7, /dev/loop1p4, 10) failed: No such file or directory udevd[1907]: inotify_add_watch(7, /dev/loop1p4, 10) failed: No such file or directory