WARNING: DATA RACE Write at 0x00c000e88ba0 by goroutine 1164536: gvisor.dev/gvisor/pkg/sentry/kernel/fasync.(*FileAsync).SetOwnerTask() pkg/sentry/kernel/fasync/fasync.go:189 +0xe4 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.setAsyncOwner() pkg/sentry/syscalls/linux/sys_file.go:767 +0x250 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Fcntl() pkg/sentry/syscalls/linux/sys_file.go:657 +0xc25 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:142 +0x9c1 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:322 +0x7c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:282 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:257 +0x4c4 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:269 +0x1d4a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:98 +0x41a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x47 Previous read at 0x00c000e88ba0 by goroutine 1164484: gvisor.dev/gvisor/pkg/sentry/kernel/fasync.(*FileAsync).NotifyEvent() pkg/sentry/kernel/fasync/fasync.go:114 +0x92 gvisor.dev/gvisor/pkg/waiter.(*Queue).Notify() pkg/waiter/waiter.go:238 +0xad gvisor.dev/gvisor/pkg/sentry/vfs.(*Inotify).queueEvent() pkg/sentry/vfs/inotify.go:296 +0x26b gvisor.dev/gvisor/pkg/sentry/vfs.(*Inotify).RmWatch() pkg/sentry/vfs/inotify.go:385 +0x2b6 gvisor.dev/gvisor/pkg/sentry/vfs.(*Watches).cleanupExpiredWatches() pkg/sentry/vfs/inotify.go:502 +0x266 gvisor.dev/gvisor/pkg/sentry/vfs.(*Watches).Notify() pkg/sentry/vfs/inotify.go:483 +0x1e4 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*dentry).InotifyWithParent() pkg/sentry/fsimpl/tmpfs/tmpfs.go:429 +0x1d9 gvisor.dev/gvisor/pkg/sentry/vfs.(*Dentry).InotifyWithParent() pkg/sentry/vfs/dentry.go:187 +0x79a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).OpenAt() pkg/sentry/vfs/vfs.go:482 +0x75b gvisor.dev/gvisor/pkg/sentry/syscalls/linux.openat() pkg/sentry/syscalls/linux/sys_file.go:112 +0x2b1 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Creat() pkg/sentry/syscalls/linux/sys_file.go:98 +0x44 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:142 +0x9c1 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:322 +0x7c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:282 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:257 +0x4c4 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:269 +0x1d4a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:98 +0x41a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x47