================================================================== BUG: KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object read to 0xffff88812a04de74 of 4 bytes by task 9394 on cpu 1: fsnotify+0x17f/0x7d0 fs/notify/fsnotify.c:348 fsnotify_path include/linux/fsnotify.h:54 [inline] fsnotify_path include/linux/fsnotify.h:47 [inline] fsnotify_perm include/linux/fsnotify.h:85 [inline] security_file_open+0x188/0x210 security/security.c:1501 do_dentry_open+0x211/0x970 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:914 do_last fs/namei.c:3420 [inline] path_openat+0xf9f/0x3580 fs/namei.c:3537 do_filp_open+0x11e/0x1b0 fs/namei.c:3567 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x55/0x70 fs/open.c:1110 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff88812a04de74 of 4 bytes by task 8006 on cpu 0: fsnotify_detach_connector_from_object+0xb8/0x210 fs/notify/mark.c:184 fsnotify_put_mark+0x31c/0x3f0 fs/notify/mark.c:250 __do_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:790 [inline] __se_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:762 [inline] __x64_sys_inotify_rm_watch+0xd7/0x130 fs/notify/inotify/inotify_user.c:762 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 8006 Comm: udevd Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================