================================================================== BUG: KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object write to 0xffff88812a01794c of 4 bytes by task 11857 on cpu 0: fsnotify_detach_connector_from_object+0xa8/0x1f0 fs/notify/mark.c:184 fsnotify_put_mark+0x340/0x420 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+0xcf/0x120 fs/notify/inotify/inotify_user.c:762 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88812a01794c of 4 bytes by task 8735 on cpu 1: fsnotify+0x195/0x830 fs/notify/fsnotify.c:346 fsnotify_file include/linux/fsnotify.h:78 [inline] fsnotify_perm include/linux/fsnotify.h:103 [inline] fsnotify_perm include/linux/fsnotify.h:82 [inline] security_file_open+0x189/0x280 security/security.c:1552 do_dentry_open+0x212/0x970 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:911 do_open fs/namei.c:3229 [inline] path_openat+0x1ff4/0x23d0 fs/namei.c:3346 do_filp_open+0x11e/0x1b0 fs/namei.c:3373 do_sys_openat2+0x52e/0x680 fs/open.c:1148 do_sys_open+0xa2/0x110 fs/open.c:1164 ksys_open include/linux/syscalls.h:1386 [inline] __do_sys_open fs/open.c:1170 [inline] __se_sys_open fs/open.c:1168 [inline] __x64_sys_open+0x50/0x60 fs/open.c:1168 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8735 Comm: syz-executor.5 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================