================================================================== BUG: KCSAN: data-race in fsnotify / fsnotify_put_mark write to 0xffff88812983e94c of 4 bytes by task 23714 on cpu 1: fsnotify_detach_connector_from_object fs/notify/mark.c:184 [inline] fsnotify_put_mark+0x26c/0x5c0 fs/notify/mark.c:250 __do_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:788 [inline] __se_sys_inotify_rm_watch+0xff/0x170 fs/notify/inotify/inotify_user.c:762 __x64_sys_inotify_rm_watch+0x2d/0x40 fs/notify/inotify/inotify_user.c:762 do_syscall_64+0x71/0x120 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88812983e94c of 4 bytes by task 5430 on cpu 0: fsnotify+0x157/0x9e0 fs/notify/fsnotify.c:346 fsnotify_file include/linux/fsnotify.h:78 [inline] fsnotify_perm+0x1f6/0x250 include/linux/fsnotify.h:103 security_file_open+0x85/0x90 security/security.c:1563 do_dentry_open+0x27c/0x8e0 fs/open.c:815 vfs_open+0x43/0x50 fs/open.c:942 do_open fs/namei.c:3243 [inline] path_openat+0x185f/0x20e0 fs/namei.c:3360 do_filp_open+0xbd/0x1d0 fs/namei.c:3387 do_sys_openat2+0x33c/0x4a0 fs/open.c:1179 do_sys_open fs/open.c:1195 [inline] ksys_open include/linux/syscalls.h:1388 [inline] __do_sys_open fs/open.c:1201 [inline] __se_sys_open fs/open.c:1199 [inline] __x64_sys_open+0xe2/0x110 fs/open.c:1199 do_syscall_64+0x71/0x120 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 5430 Comm: syz-executor.3 Not tainted 5.8.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================