================================================================== BUG: KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object write to 0xffff88812ab1de74 of 4 bytes by task 10474 on cpu 1: 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/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88812ab1de74 of 4 bytes by task 12057 on cpu 0: fsnotify+0x182/0x7d0 fs/notify/fsnotify.c:352 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+0x16e/0x1f0 security/security.c:1533 do_dentry_open+0x212/0x970 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:914 do_last fs/namei.c:3490 [inline] path_openat+0xdbf/0x2f70 fs/namei.c:3607 do_filp_open+0x11e/0x1b0 fs/namei.c:3637 do_sys_openat2+0x4f5/0x620 fs/open.c:1149 do_sys_open+0xa2/0x110 fs/open.c:1165 ksys_open include/linux/syscalls.h:1386 [inline] __do_sys_open fs/open.c:1171 [inline] __se_sys_open fs/open.c:1169 [inline] __x64_sys_open+0x50/0x60 fs/open.c:1169 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 12057 Comm: syz-executor.3 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================