================================================================== BUG: KCSAN: data-race in __dentry_kill / d_set_d_op write to 0xffff88813829e840 of 4 bytes by task 3166 on cpu 1: d_set_d_op+0x17f/0x220 fs/dcache.c:1936 simple_lookup+0x78/0x90 fs/libfs.c:74 __lookup_slow+0x182/0x250 fs/namei.c:1707 lookup_slow fs/namei.c:1724 [inline] walk_component+0x2b6/0x360 fs/namei.c:2020 lookup_last fs/namei.c:2475 [inline] path_lookupat+0x12d/0x3d0 fs/namei.c:2499 filename_lookup+0x130/0x310 fs/namei.c:2528 vfs_statx+0xa3/0x3c0 fs/stat.c:228 vfs_fstatat fs/stat.c:255 [inline] __do_sys_newfstatat fs/stat.c:426 [inline] __se_sys_newfstatat+0x8a/0x290 fs/stat.c:420 __x64_sys_newfstatat+0x51/0x60 fs/stat.c:420 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x50 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88813829e840 of 4 bytes by task 4665 on cpu 0: dentry_unlist fs/dcache.c:572 [inline] __dentry_kill+0x1ef/0x450 fs/dcache.c:603 dput+0x218/0x430 fs/dcache.c:913 handle_mounts fs/namei.c:1552 [inline] step_into+0x468/0xf70 fs/namei.c:1850 walk_component+0x1a1/0x360 fs/namei.c:2026 lookup_last fs/namei.c:2475 [inline] path_lookupat+0x12d/0x3d0 fs/namei.c:2499 filename_lookup+0x130/0x310 fs/namei.c:2528 user_path_at_empty+0x3e/0x110 fs/namei.c:2851 user_path_at include/linux/namei.h:57 [inline] inotify_find_inode fs/notify/inotify/inotify_user.c:363 [inline] __do_sys_inotify_add_watch fs/notify/inotify/inotify_user.c:764 [inline] __se_sys_inotify_add_watch+0x131/0x680 fs/notify/inotify/inotify_user.c:717 __x64_sys_inotify_add_watch+0x3f/0x50 fs/notify/inotify/inotify_user.c:717 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x50 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x10000000 -> 0x00000008 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 4665 Comm: udevd Not tainted 5.17.0-syzkaller-14079-gbe2d3ecedd99-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== udevd[4665]: inotify_add_watch(7, /dev/loop0p4, 10) failed: No such file or directory udevd[4665]: inotify_add_watch(7, /dev/loop0p4, 10) failed: No such file or directory udevd[4665]: inotify_add_watch(7, /dev/loop0p4, 10) failed: No such file or directory udevd[4665]: inotify_add_watch(7, /dev/loop0p4, 10) failed: No such file or directory udevd[4665]: inotify_add_watch(7, /dev/loop0p4, 10) failed: No such file or directory udevd[4665]: inotify_add_watch(7, /dev/loop0p4, 10) failed: No such file or directory