WARNING: DATA RACE Write at 0x00c08dd505e0 by goroutine 630: 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 DIAGNOSIS: I0131 10:50:32.435527 27682 x:0] *************************** I0131 10:50:32.435656 27682 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] I0131 10:50:32.435737 27682 x:0] Git Revision: cedff8d3aef3bc2055b1a7c3ad47a4c8297367ea I0131 10:50:32.435760 27682 x:0] PID: 27682 I0131 10:50:32.435784 27682 x:0] UID: 0, GID: 0 I0131 10:50:32.435819 27682 x:0] Configuration: I0131 10:50:32.435838 27682 x:0] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0131 10:50:32.435897 27682 x:0] Platform: ptrace I0131 10:50:32.435983 27682 x:0] FileAccess: shared, overlay: false I0131 10:50:32.436022 27682 x:0] Network: sandbox, logging: false I0131 10:50:32.436077 27682 x:0] Strace: false, max size: 1024, syscalls: [] I0131 10:50:32.436110 27682 x:0] *************************** D0131 10:50:32.436181 27682 x:0] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-2" D0131 10:50:32.439395 27682 x:0] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-2": signal 0 D0131 10:50:32.439479 27682 x:0] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0131 10:50:32.439536 27682 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0131 10:50:32.440220 27682 x:0] urpc: successfully marshalled 117 bytes. D0131 10:50:32.441181 27682 x:0] urpc: unmarshal success. I0131 10:50:32.441294 27682 x:0] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2", PID: 51585 I0131 10:50:32.441353 27682 x:0] Retrieving sandbox stacks D0131 10:50:32.441376 27682 x:0] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0131 10:50:32.441434 27682 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0131 10:50:32.441575 27682 x:0] urpc: successfully marshalled 36 bytes. D0131 10:50:32.726326 27682 x:0] urpc: unmarshal success. I0131 10:50:32.726581 27682 x:0] *** Stack dump *** goroutine 3122964 [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(0x22e81f8, 0x22e81f8, 0xc00089c290, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc0002eeae0, 0xc00030e1c0, 0x13, 0x10d8663, 0x4, 0xc0005d9e68, 0x3, 0x3, 0x4f0a5e, 0xf93d60, ...) GOROOT/src/reflect/value.go:447 +0x635 reflect.Value.Call(0xc0002eeae0, 0xc00030e1c0, 0x13, 0xc0005d9e68, 0x3, 0x3, 0x0, 0x22e81f8, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc00030a090, 0xc0840bbaa0, 0x0, 0x0) pkg/urpc/urpc.go:298 +0x613 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc00030a090, 0xc0840bbaa0, 0xc00030a090, 0xc0840bbaa0) pkg/urpc/urpc.go:393 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc00030a090, 0xc0840bbaa0) pkg/urpc/urpc.go:413 +0x77 created by gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling pkg/urpc/urpc.go:411 +0x6f goroutine 1 [semacquire, 23 minutes]: sync.runtime_Semacquire(0xc000150bc4) GOROOT/src/runtime/sema.go:56 +0x39 sync.(*WaitGroup).Wait(0xc000150bc4) GOROOT/src/sync/waitgroup.go:130 +0xb5 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(0xc00026c780) pkg/sentry/kernel/kernel.go:801 +0x57 gvisor.googlesource.com/gvisor/runsc/boot.(*Loader).WaitExit(0xc00026ca00, 0x0, 0x0) runsc/boot/loader.go:747 +0x50 gvisor.googlesource.com/gvisor/runsc/cmd.(*Boot).Execute(0xc000276090, 0x121dbc0, 0xc000138010, 0xc00013eba0, 0xc0001dd060, 0x2, 0x2, 0x0) runsc/cmd/boot.go:236 +0x121d github.com/google/subcommands.(*Commander).Execute(0xc00014c000, 0x121dbc0, 0xc000138010, 0xc0001dd060, 0x2, 0x2, 0x1) external/com_github_google_subcommands/subcommands.go:141 +0x525 github.com/google/subcommands.Execute(0x121dbc0, 0xc000138010, 0xc0001dd060, 0x2, 0x2, 0xc00012ed30) external/com_github_google_subcommands/subcommands.go:371 +0x81 main.main() runsc/main.go:221 +0x1ef8