WARNING: DATA RACE Write at 0x00c0003bdab0 by goroutine 303: 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 DIAGNOSIS: I0217 19:21:43.369928 13067 x:0] *************************** I0217 19:21:43.370140 13067 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-2] I0217 19:21:43.370291 13067 x:0] Git Revision: c611dbc5a7399922588e3fd99b22bda19f684afe I0217 19:21:43.370364 13067 x:0] PID: 13067 I0217 19:21:43.370422 13067 x:0] UID: 0, GID: 0 I0217 19:21:43.370482 13067 x:0] Configuration: I0217 19:21:43.370542 13067 x:0] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0217 19:21:43.370625 13067 x:0] Platform: ptrace I0217 19:21:43.370699 13067 x:0] FileAccess: shared, overlay: false I0217 19:21:43.370756 13067 x:0] Network: sandbox, logging: false I0217 19:21:43.370796 13067 x:0] Strace: false, max size: 1024, syscalls: [] I0217 19:21:43.370835 13067 x:0] *************************** D0217 19:21:43.370937 13067 x:0] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-2" D0217 19:21:43.374417 13067 x:0] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-2": signal 0 D0217 19:21:43.374537 13067 x:0] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0217 19:21:43.374596 13067 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0217 19:21:43.375330 13067 x:0] urpc: successfully marshalled 117 bytes. D0217 19:21:43.376229 13067 x:0] urpc: unmarshal success. I0217 19:21:43.376390 13067 x:0] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2", PID: 1986 I0217 19:21:43.376464 13067 x:0] Retrieving sandbox stacks D0217 19:21:43.376505 13067 x:0] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0217 19:21:43.376558 13067 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0217 19:21:43.376732 13067 x:0] urpc: successfully marshalled 36 bytes. D0217 19:21:43.487835 13067 x:0] urpc: unmarshal success. I0217 19:21:43.487965 13067 x:0] *** Stack dump *** goroutine 712 [running]: gvisor.googlesource.com/gvisor/pkg/log.Stacks(0x459e01, 0x28, 0x45d3f2, 0x4e4b3d) pkg/log/log.go:259 +0xd1 gvisor.googlesource.com/gvisor/runsc/boot.(*debug).Stacks(0x22fb298, 0x22fb298, 0xc00030c0a0, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc0002d28a0, 0xc00000e2a8, 0x13, 0x10e46ca, 0x4, 0xc0007d7e68, 0x3, 0x3, 0x4f0a5e, 0xf9ea20, ...) GOROOT/src/reflect/value.go:447 +0x635 reflect.Value.Call(0xc0002d28a0, 0xc00000e2a8, 0x13, 0xc0007d7e68, 0x3, 0x3, 0x0, 0x22fb298, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc000256c60, 0xc000590120, 0x0, 0x0) pkg/urpc/urpc.go:325 +0x681 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc000256c60, 0xc000590120, 0xc000256c60, 0xc000590120) pkg/urpc/urpc.go:420 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc000256c60, 0xc000590120) pkg/urpc/urpc.go:440 +0x77 created by gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling pkg/urpc/urpc.go:438 +0x6f goroutine 1 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc000136d04) GOROOT/src/runtime/sema.go:56 +0x39 sync.(*WaitGroup).Wait(0xc000136d04) GOROOT/src/sync/waitgroup.go:130 +0xb5 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(0xc000292000) pkg/sentry/kernel/kernel.go:813 +0x57 gvisor.googlesource.com/gvisor/runsc/boot.(*Loader).WaitExit(0xc0002368c0, 0x0, 0x0) runsc/boot/loader.go:756 +0x50 gvisor.googlesource.com/gvisor/runsc/cmd.(*Boot).Execute(0xc0001ba120, 0x122b4c0, 0xc0000ce008, 0xc000112a80, 0xc0001c70e0, 0x2, 0x2, 0x0) runsc/cmd/boot.go:236 +0x121d github.com/google/subcommands.(*Commander).Execute(0xc000132000, 0x122b4c0, 0xc0000ce008, 0xc0001c70e0, 0x2, 0x2, 0x1) external/com_github_google_subcommands/subcommands.go:141 +0x525 github.com/google/subcommands.Execute(0x122b4c0, 0xc0000ce008, 0xc0001c70e0, 0x2, 0x2, 0xc0000f0dd0) external/com_github_google_subcommands/subcommands.go:371 +0x81 main.main() runsc/main.go:221 +0x1f02