================================================================== BUG: KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object write to 0xffff888124712554 of 4 bytes by task 8015 on cpu 0: fsnotify_detach_connector_from_object+0xb8/0x210 fs/notify/mark.c:184 fsnotify_put_mark+0x2e9/0x3b0 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+0xd7/0x130 fs/notify/inotify/inotify_user.c:762 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888124712554 of 4 bytes by task 9607 on cpu 1: fsnotify+0x17f/0x7d0 fs/notify/fsnotify.c:348 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_permission+0x1c7/0x280 security/security.c:1379 rw_verify_area+0xe1/0x250 fs/read_write.c:399 do_sendfile+0x10e/0x7f0 fs/read_write.c:1420 __do_sys_sendfile64 fs/read_write.c:1525 [inline] __se_sys_sendfile64 fs/read_write.c:1511 [inline] __x64_sys_sendfile64+0x12a/0x140 fs/read_write.c:1511 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 9607 Comm: syz-executor.0 Not tainted 5.4.0-rc6+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================