================================================================== BUG: KCSAN: data-race in __fsnotify_parent / fsnotify_detach_connector_from_object write to 0xffff8880b014c894 of 4 bytes by task 31157 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 fsnotify_clear_marks_by_group+0x2ab/0x320 fs/notify/mark.c:760 fsnotify_destroy_group+0x5a/0x190 fs/notify/group.c:60 fanotify_release+0x20e/0x240 fs/notify/fanotify/fanotify_user.c:488 __fput+0x1c3/0x4f0 fs/file_table.c:280 ____fput+0x1b/0x30 fs/file_table.c:313 task_work_run+0xf5/0x130 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2ae/0x2c0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x36e/0x390 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880b014c894 of 4 bytes by task 31159 on cpu 0: __fsnotify_parent+0xc7/0x230 fs/notify/fsnotify.c:161 fsnotify_parent include/linux/fsnotify.h:40 [inline] fsnotify_path include/linux/fsnotify.h:50 [inline] fsnotify_access include/linux/fsnotify.h:240 [inline] do_sendfile+0x771/0x810 fs/read_write.c:1526 __do_sys_sendfile64 fs/read_write.c:1575 [inline] __se_sys_sendfile64 fs/read_write.c:1567 [inline] __x64_sys_sendfile64+0xb8/0x140 fs/read_write.c:1567 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: 31159 Comm: syz-executor.1 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================