================================================================== BUG: KCSAN: data-race in __dentry_kill / d_set_d_op write to 0xffff8881388f3cc0 of 4 bytes by task 5552 on cpu 1: d_set_d_op+0x17f/0x220 fs/dcache.c:1910 simple_lookup+0x78/0x90 fs/libfs.c:74 __lookup_slow+0x182/0x250 fs/namei.c:1657 lookup_slow fs/namei.c:1674 [inline] walk_component+0x2b6/0x360 fs/namei.c:1970 lookup_last fs/namei.c:2425 [inline] path_lookupat+0x12d/0x3d0 fs/namei.c:2449 filename_lookup+0x130/0x310 fs/namei.c:2478 user_path_at_empty+0x3e/0x110 fs/namei.c:2801 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0xa9/0x2a0 fs/stat.c:221 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/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881388f3cc0 of 4 bytes by task 5428 on cpu 0: dentry_unlist fs/dcache.c:547 [inline] __dentry_kill+0x1ef/0x450 fs/dcache.c:578 dput+0x218/0x430 fs/dcache.c:888 handle_mounts fs/namei.c:1502 [inline] step_into+0x468/0xee0 fs/namei.c:1800 open_last_lookups fs/namei.c:3373 [inline] path_openat+0x1059/0x1eb0 fs/namei.c:3556 do_filp_open+0x105/0x220 fs/namei.c:3586 do_sys_openat2+0xb5/0x2b0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1239 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 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: 5428 Comm: udevd Tainted: G W 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== udevd[5428]: inotify_add_watch(7, /dev/loop2p2, 10) failed: No such file or directory udevd[5428]: inotify_add_watch(7, /dev/loop2p2, 10) failed: No such file or directory udevd[5428]: inotify_add_watch(7, /dev/loop2p2, 10) failed: No such file or directory udevd[5428]: inotify_add_watch(7, /dev/loop2p2, 10) failed: No such file or directory