================================================================== BUG: KCSAN: data-race in __dentry_kill / d_set_d_op read-write to 0xffff8881354b9e40 of 4 bytes by task 3826 on cpu 0: d_set_d_op+0x14c/0x1e0 fs/dcache.c:1936 simple_lookup+0x78/0x90 fs/libfs.c:74 lookup_open fs/namei.c:3308 [inline] open_last_lookups fs/namei.c:3400 [inline] path_openat+0xb0f/0x1b30 fs/namei.c:3606 do_filp_open+0x105/0x220 fs/namei.c:3636 do_sys_openat2+0xb5/0x2a0 fs/open.c:1213 do_sys_open fs/open.c:1229 [inline] __do_sys_openat fs/open.c:1245 [inline] __se_sys_openat fs/open.c:1240 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1240 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881354b9e40 of 4 bytes by task 3825 on cpu 1: dentry_unlist fs/dcache.c:572 [inline] __dentry_kill+0x1e7/0x450 fs/dcache.c:603 dentry_kill+0x8d/0x1e0 dput+0x11e/0x1f0 fs/dcache.c:913 handle_mounts fs/namei.c:1552 [inline] step_into+0x1c7/0x760 fs/namei.c:1850 walk_component+0x19a/0x280 fs/namei.c:2026 lookup_last fs/namei.c:2475 [inline] path_lookupat+0x11d/0x2b0 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+0x114/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/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x10000000 -> 0x00000008 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3825 Comm: udevd Not tainted 5.18.0-rc4-syzkaller-00006-gd615b5416f8a-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================