WARNING: DATA RACE Write at 0x00c10207fe10 by goroutine 1270: gvisor.googlesource.com/gvisor/pkg/sentry/fs.Rename() pkg/sentry/fs/dirent.go:1628 +0x61f gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.renameAt.func1.1() pkg/sentry/syscalls/linux/sys_file.go:1864 +0x1f8 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.fileOpAt() pkg/sentry/syscalls/linux/sys_file.go:51 +0x20f gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.renameAt.func1() pkg/sentry/syscalls/linux/sys_file.go:1852 +0x218 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.fileOpAt() pkg/sentry/syscalls/linux/sys_file.go:51 +0x20f gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.renameAt() pkg/sentry/syscalls/linux/sys_file.go:1840 +0x180 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Rename() pkg/sentry/syscalls/linux/sys_file.go:1873 +0x60 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:165 +0x17a gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:283 +0xb4 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:244 +0x10c gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:219 +0x1e3 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:215 +0x15a9 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:91 +0x24b Previous read at 0x00c10207fe10 by goroutine 1232: gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*Dirent).InotifyEvent() pkg/sentry/fs/dirent.go:1356 +0x233 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.inotifyFileClose() pkg/sentry/kernel/fd_map.go:328 +0x11a DIAGNOSIS: I0125 06:15:05.445693 36054 x:0] *************************** I0125 06:15:05.445862 36054 x:0] Args: [/syzkaller/managers/ptrace-proxy-sandbox-race/current/image -root /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root -watchdog-action=panic -network=none -debug -platform=ptrace -file-access=shared -network=sandbox debug -stacks ci-gvisor-ptrace-proxy-sandbox-race-3] I0125 06:15:05.445948 36054 x:0] Git Revision: 5f08f8fd8162fa2fc2ca7b862263081d8d07b206 I0125 06:15:05.446012 36054 x:0] PID: 36054 I0125 06:15:05.446039 36054 x:0] UID: 0, GID: 0 I0125 06:15:05.446066 36054 x:0] Configuration: I0125 06:15:05.446084 36054 x:0] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0125 06:15:05.446114 36054 x:0] Platform: ptrace I0125 06:15:05.446172 36054 x:0] FileAccess: shared, overlay: false I0125 06:15:05.446202 36054 x:0] Network: sandbox, logging: false I0125 06:15:05.446233 36054 x:0] Strace: false, max size: 1024, syscalls: [] I0125 06:15:05.446309 36054 x:0] *************************** D0125 06:15:05.446423 36054 x:0] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-3" D0125 06:15:05.450066 36054 x:0] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-3": signal 0 D0125 06:15:05.450155 36054 x:0] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0125 06:15:05.450208 36054 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0125 06:15:05.450753 36054 x:0] urpc: successfully marshalled 117 bytes. D0125 06:15:05.453667 36054 x:0] urpc: unmarshal success. I0125 06:15:05.453796 36054 x:0] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3", PID: 45935 I0125 06:15:05.453856 36054 x:0] Retrieving sandbox stacks D0125 06:15:05.453878 36054 x:0] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0125 06:15:05.453926 36054 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0125 06:15:05.454037 36054 x:0] urpc: successfully marshalled 36 bytes. D0125 06:15:06.085405 36054 x:0] urpc: unmarshal success. I0125 06:15:06.085652 36054 x:0] *** Stack dump *** goroutine 3237130 [running]: gvisor.googlesource.com/gvisor/pkg/log.Stacks(0x459e01, 0x28, 0x45d3f2, 0x4e466d) pkg/log/log.go:259 +0xd1 gvisor.googlesource.com/gvisor/runsc/boot.(*debug).Stacks(0x22e11f8, 0x22e11f8, 0xc00db425e0, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc000107ec0, 0xc00000e270, 0x13, 0x10d4583, 0x4, 0xc102db1e68, 0x3, 0x3, 0x4f058e, 0xf902c0, ...) GOROOT/src/reflect/value.go:447 +0x635 reflect.Value.Call(0xc000107ec0, 0xc00000e270, 0x13, 0xc102db1e68, 0x3, 0x3, 0x0, 0x22e11f8, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc0002545d0, 0xc01314f770, 0x0, 0x0) pkg/urpc/urpc.go:298 +0x613 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc0002545d0, 0xc01314f770, 0xc0002545d0, 0xc01314f770) pkg/urpc/urpc.go:393 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc0002545d0, 0xc01314f770) pkg/urpc/urpc.go:413 +0x77 created by gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling pkg/urpc/urpc.go:411 +0x6f