================================================================== BUG: KCSAN: data-race in __dentry_kill / d_set_d_op write to 0xffff888148ba66c0 of 4 bytes by task 16777 on cpu 1: d_set_d_op+0x17f/0x220 fs/dcache.c:1910 simple_lookup+0x78/0x90 fs/libfs.c:74 lookup_open fs/namei.c:3258 [inline] open_last_lookups fs/namei.c:3350 [inline] path_openat+0xbe1/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/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888148ba66c0 of 4 bytes by task 16327 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/0xd0 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: 16327 Comm: udevd Tainted: G W 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== udevd[16327]: inotify_add_watch(7, /dev/loop4p2, 10) failed: No such file or directory udevd[16327]: inotify_add_watch(7, /dev/loop4p2, 10) failed: No such file or directory