================================================================== BUG: KCSAN: data-race in __dentry_kill / d_set_d_op read-write to 0xffff888150728840 of 4 bytes by task 25264 on cpu 0: d_set_d_op+0x150/0x1e0 fs/dcache.c:1935 simple_lookup+0x7c/0xa0 fs/libfs.c:78 __lookup_slow+0x17a/0x230 fs/namei.c:1694 lookup_slow+0x3c/0x60 fs/namei.c:1711 walk_component+0x1ec/0x230 fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x10a/0x2a0 fs/namei.c:2483 filename_lookup+0x126/0x300 fs/namei.c:2512 vfs_statx+0xa5/0x2f0 fs/stat.c:244 vfs_fstatat+0xcd/0x100 fs/stat.c:299 __do_sys_newfstatat fs/stat.c:463 [inline] __se_sys_newfstatat+0x58/0x260 fs/stat.c:457 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:457 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888150728840 of 4 bytes by task 6531 on cpu 1: 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:1555 [inline] step_into+0x21a/0x800 fs/namei.c:1840 walk_component+0x164/0x230 fs/namei.c:2008 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x10a/0x2a0 fs/namei.c:2483 filename_lookup+0x126/0x300 fs/namei.c:2512 vfs_statx+0xa5/0x2f0 fs/stat.c:244 vfs_fstatat+0xcd/0x100 fs/stat.c:299 __do_sys_newfstatat fs/stat.c:463 [inline] __se_sys_newfstatat+0x58/0x260 fs/stat.c:457 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:457 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x10000000 -> 0x00000008 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 6531 Comm: udevd Tainted: G W 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ================================================================== udevd[6531]: inotify_add_watch(7, /dev/loop0p1, 10) failed: No such file or directory udevd[6531]: inotify_add_watch(7, /dev/loop0p1, 10) failed: No such file or directory udevd[6531]: inotify_add_watch(7, /dev/loop0p1, 10) failed: No such file or directory udevd[6531]: inotify_add_watch(7, /dev/loop0p1, 10) failed: No such file or directory udevd[6531]: inotify_add_watch(7, /dev/loop0p1, 10) failed: No such file or directory I/O error, dev loop0, sector 8064 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 I/O error, dev loop0, sector 8064 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 udevd[6531]: inotify_add_watch(7, /dev/loop0p1, 10) failed: No such file or directory udevd[6531]: inotify_add_watch(7, /dev/loop0p1, 10) failed: No such file or directory udevd[6531]: inotify_add_watch(7, /dev/loop0p1, 10) failed: No such file or directory