================================================================== BUG: KCSAN: data-race in __dentry_kill / d_set_d_op read-write to 0xffff88813ed4b6c0 of 4 bytes by task 17907 on cpu 1: d_set_d_op+0x150/0x1e0 fs/dcache.c:1936 simple_lookup+0x7c/0xa0 fs/libfs.c:75 __lookup_slow+0x17a/0x230 fs/namei.c:1690 lookup_slow+0x3c/0x60 fs/namei.c:1707 walk_component+0x1ec/0x230 fs/namei.c:1998 lookup_last fs/namei.c:2455 [inline] path_lookupat+0x10a/0x2a0 fs/namei.c:2479 filename_lookup+0x126/0x300 fs/namei.c:2508 vfs_statx+0xa9/0x300 fs/stat.c:238 vfs_fstatat fs/stat.c:276 [inline] __do_sys_newfstatat fs/stat.c:446 [inline] __se_sys_newfstatat+0x8a/0x2a0 fs/stat.c:440 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:440 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88813ed4b6c0 of 4 bytes by task 16175 on cpu 0: dentry_unlist fs/dcache.c:572 [inline] __dentry_kill+0x237/0x4a0 fs/dcache.c:603 dentry_kill+0x8d/0x1e0 dput+0x118/0x1f0 fs/dcache.c:913 handle_mounts fs/namei.c:1551 [inline] step_into+0x21a/0x800 fs/namei.c:1836 walk_component+0x164/0x230 fs/namei.c:2004 lookup_last fs/namei.c:2455 [inline] path_lookupat+0x10a/0x2a0 fs/namei.c:2479 filename_lookup+0x126/0x300 fs/namei.c:2508 user_path_at_empty+0x42/0x110 fs/namei.c:2907 user_path_at include/linux/namei.h:57 [inline] inotify_find_inode fs/notify/inotify/inotify_user.c:378 [inline] __do_sys_inotify_add_watch fs/notify/inotify/inotify_user.c:777 [inline] __se_sys_inotify_add_watch+0x119/0x820 fs/notify/inotify/inotify_user.c:730 __x64_sys_inotify_add_watch+0x43/0x50 fs/notify/inotify/inotify_user.c:730 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x10000000 -> 0x00000008 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 16175 Comm: udevd Tainted: G W 6.5.0-rc5-syzkaller-00243-g9106536c1aa3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ==================================================================