================================================================== BUG: KCSAN: data-race in drop_nlink / generic_fillattr write to 0xffff88813a6603b8 of 4 bytes by task 24 on cpu 1: drop_nlink+0x3b/0x90 fs/inode.c:332 shmem_unlink+0x169/0x180 mm/shmem.c:3370 vfs_unlink+0x261/0x3e0 fs/namei.c:4334 handle_remove drivers/base/devtmpfs.c:339 [inline] handle drivers/base/devtmpfs.c:386 [inline] devtmpfs_work_loop+0x85f/0x8e0 drivers/base/devtmpfs.c:399 devtmpfsd+0x43/0x50 drivers/base/devtmpfs.c:441 kthread+0x1d7/0x210 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 read to 0xffff88813a6603b8 of 4 bytes by task 3188 on cpu 0: generic_fillattr+0xf8/0x2f0 fs/stat.c:55 shmem_getattr+0x17b/0x200 mm/shmem.c:1139 vfs_getattr_nosec fs/stat.c:135 [inline] vfs_getattr+0x198/0x1e0 fs/stat.c:176 vfs_statx+0x140/0x320 fs/stat.c:248 vfs_fstatat+0xcd/0x100 fs/stat.c:304 __do_sys_newfstatat fs/stat.c:468 [inline] __se_sys_newfstatat+0x58/0x260 fs/stat.c:462 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:462 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x00000001 -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3188 Comm: udevd Not tainted 6.7.0-syzkaller-11889-g86c4d58a99ab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ================================================================== udevd[3188]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3188]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3188]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3188]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3188]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3188]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3188]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3188]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory