================================================================== BUG: KCSAN: data-race in __dentry_kill / d_set_d_op read-write to 0xffff8881097cc0c0 of 4 bytes by task 9035 on cpu 0: d_set_d_op+0x150/0x1e0 fs/dcache.c:1936 simple_lookup+0x7c/0xa0 fs/libfs.c:75 lookup_open fs/namei.c:3470 [inline] open_last_lookups fs/namei.c:3560 [inline] path_openat+0xc4f/0x1d10 fs/namei.c:3790 do_filp_open+0xf6/0x200 fs/namei.c:3820 do_sys_openat2+0xab/0x110 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0xf3/0x120 fs/open.c:1433 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 0xffff8881097cc0c0 of 4 bytes by task 1184 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:1551 [inline] step_into+0x21a/0x800 fs/namei.c:1836 open_last_lookups fs/namei.c:3583 [inline] path_openat+0x10bb/0x1d10 fs/namei.c:3790 do_filp_open+0xf6/0x200 fs/namei.c:3820 do_sys_openat2+0xab/0x110 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0xf3/0x120 fs/open.c:1433 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: 1 PID: 1184 Comm: udevd Not tainted 6.5.0-rc2-syzkaller-00184-g57f1f9dd3abe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 ================================================================== udevd[1184]: inotify_add_watch(7, /dev/loop1p3, 10) failed: No such file or directory udevd[1184]: inotify_add_watch(7, /dev/loop1p3, 10) failed: No such file or directory udevd[1184]: inotify_add_watch(7, /dev/loop1p3, 10) failed: No such file or directory udevd[1184]: inotify_add_watch(7, /dev/loop1p3, 10) failed: No such file or directory udevd[1184]: inotify_add_watch(7, /dev/loop1p3, 10) failed: No such file or directory