================================================================== BUG: KCSAN: data-race in fsnotify_detach_connector_from_object / fsnotify_parent write to 0xffff88811d11d564 of 4 bytes by task 10653 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 fsnotify_clear_marks_by_group+0x2ab/0x320 fs/notify/mark.c:760 fsnotify_destroy_group+0x5a/0x190 fs/notify/group.c:60 inotify_release+0x2b/0x40 fs/notify/inotify/inotify_user.c:271 __fput+0x1e9/0x500 fs/file_table.c:280 ____fput+0x1b/0x30 fs/file_table.c:313 task_work_run+0xba/0x120 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2ae/0x2c0 arch/x86/entry/common.c:165 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x38b/0x3b0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88811d11d564 of 4 bytes by task 10661 on cpu 1: fsnotify_parent fs/notify/fsnotify.c:159 [inline] fsnotify_parent+0xbd/0x1b0 fs/notify/fsnotify.c:146 fsnotify_file include/linux/fsnotify.h:74 [inline] fsnotify_perm include/linux/fsnotify.h:103 [inline] fsnotify_perm include/linux/fsnotify.h:82 [inline] security_file_permission+0x1a1/0x300 security/security.c:1430 rw_verify_area+0xd8/0x230 fs/read_write.c:400 do_splice_to+0x5f/0x100 fs/splice.c:880 splice_direct_to_actor+0x1b9/0x540 fs/splice.c:971 do_splice_direct+0x152/0x1d0 fs/splice.c:1080 do_sendfile+0x380/0x800 fs/read_write.c:1521 __do_sys_sendfile64 fs/read_write.c:1576 [inline] __se_sys_sendfile64 fs/read_write.c:1568 [inline] __x64_sys_sendfile64+0xb8/0x140 fs/read_write.c:1568 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: 10661 Comm: syz-executor.2 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================