================================================================== BUG: KCSAN: data-race in __fsnotify_parent / fsnotify_detach_connector_from_object write to 0xffff88810125e614 of 4 bytes by task 8591 on cpu 0: fsnotify_detach_connector_from_object+0xcc/0x280 fs/notify/mark.c:253 fsnotify_put_mark+0x198/0x3c0 fs/notify/mark.c:316 __do_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:819 [inline] __se_sys_inotify_rm_watch+0x105/0x180 fs/notify/inotify/inotify_user.c:793 __x64_sys_inotify_rm_watch+0x31/0x40 fs/notify/inotify/inotify_user.c:793 x64_sys_call+0x2735/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:256 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88810125e614 of 4 bytes by task 2787 on cpu 1: fsnotify_object_watched fs/notify/fsnotify.c:173 [inline] __fsnotify_parent+0xd4/0x370 fs/notify/fsnotify.c:203 fsnotify_parent include/linux/fsnotify.h:83 [inline] fsnotify_file include/linux/fsnotify.h:106 [inline] fsnotify_open include/linux/fsnotify.h:376 [inline] do_dentry_open+0xa61/0xbe0 fs/open.c:1011 vfs_open+0x4a/0x60 fs/open.c:1089 do_open fs/namei.c:3642 [inline] path_openat+0x18ba/0x1d80 fs/namei.c:3799 do_filp_open+0xf7/0x200 fs/namei.c:3826 do_sys_openat2+0xab/0x120 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0xf3/0x120 fs/open.c:1432 x64_sys_call+0x2cad/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00002008 -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 2787 Comm: udevd Not tainted 6.9.0-rc3-syzkaller-00355-g7efd0a74039f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ==================================================================