================================================================== BUG: KCSAN: data-race in __fsnotify_parent / fsnotify_put_mark write to 0xffff888129ffbc5c of 4 bytes by task 3139 on cpu 0: fsnotify_detach_connector_from_object fs/notify/mark.c:184 [inline] fsnotify_put_mark+0x269/0x5e0 fs/notify/mark.c:250 __do_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:790 [inline] __se_sys_inotify_rm_watch+0xff/0x170 fs/notify/inotify/inotify_user.c:764 __x64_sys_inotify_rm_watch+0x2d/0x40 fs/notify/inotify/inotify_user.c:764 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888129ffbc5c of 4 bytes by task 5072 on cpu 1: fsnotify_event_needs_parent fs/notify/fsnotify.c:156 [inline] __fsnotify_parent+0x12f/0x470 fs/notify/fsnotify.c:196 fsnotify_parent include/linux/fsnotify.h:68 [inline] fsnotify_file include/linux/fsnotify.h:90 [inline] fsnotify_close include/linux/fsnotify.h:279 [inline] __fput+0x184/0x4d0 fs/file_table.c:267 ____fput+0x11/0x20 fs/file_table.c:314 task_work_run+0x8e/0x110 kernel/task_work.c:135 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:139 [inline] exit_to_user_mode_prepare+0x1bb/0x220 kernel/entry/common.c:166 syscall_exit_to_user_mode+0x16/0x30 kernel/entry/common.c:241 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 5072 Comm: systemd-udevd Not tainted 5.8.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================