WARNING: DATA RACE Write at 0x00c0002c5a20 by goroutine 519: 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 DIAGNOSIS: I0224 07:06:58.114010 54392 x:0] *************************** I0224 07:06:58.114188 54392 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-1] I0224 07:06:58.114274 54392 x:0] Git Revision: b75aa515044367094e762985a4b1a1f0580e3ad6 I0224 07:06:58.114305 54392 x:0] PID: 54392 I0224 07:06:58.114388 54392 x:0] UID: 0, GID: 0 I0224 07:06:58.114436 54392 x:0] Configuration: I0224 07:06:58.114489 54392 x:0] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0224 07:06:58.114542 54392 x:0] Platform: ptrace I0224 07:06:58.114564 54392 x:0] FileAccess: shared, overlay: false I0224 07:06:58.114587 54392 x:0] Network: sandbox, logging: false I0224 07:06:58.114635 54392 x:0] Strace: false, max size: 1024, syscalls: [] I0224 07:06:58.114693 54392 x:0] *************************** D0224 07:06:58.114770 54392 x:0] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-1" D0224 07:06:58.118680 54392 x:0] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-1": signal 0 D0224 07:06:58.118810 54392 x:0] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0224 07:06:58.118873 54392 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0224 07:06:58.119863 54392 x:0] urpc: successfully marshalled 117 bytes. D0224 07:06:58.120980 54392 x:0] urpc: unmarshal success. I0224 07:06:58.121106 54392 x:0] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1", PID: 7112 I0224 07:06:58.121219 54392 x:0] Retrieving sandbox stacks D0224 07:06:58.121275 54392 x:0] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0224 07:06:58.121342 54392 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0224 07:06:58.121863 54392 x:0] urpc: successfully marshalled 36 bytes. D0224 07:06:58.457795 54392 x:0] urpc: unmarshal success. I0224 07:06:58.457924 54392 x:0] *** Stack dump *** goroutine 412365 [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(0x23002d8, 0x23002d8, 0xc0014ce1e0, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc000112f60, 0xc00000e210, 0x13, 0x10e7f1a, 0x4, 0xc00071de68, 0x3, 0x3, 0x4f0a5e, 0xfa1e20, ...) GOROOT/src/reflect/value.go:447 +0x635 reflect.Value.Call(0xc000112f60, 0xc00000e210, 0x13, 0xc00071de68, 0x3, 0x3, 0x0, 0x23002d8, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc0002c0870, 0xc003966b10, 0x0, 0x0) pkg/urpc/urpc.go:325 +0x681 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc0002c0870, 0xc003966b10, 0xc0002c0870, 0xc003966b10) pkg/urpc/urpc.go:420 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc0002c0870, 0xc003966b10) 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, 4 minutes]: sync.runtime_Semacquire(0xc0002ba214) GOROOT/src/runtime/sema.go:56 +0x39 sync.(*WaitGroup).Wait(0xc0002ba214) GOROOT/src/sync/waitgroup.go:130 +0xb5 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(0xc0002be000) pkg/sentry/kernel/kernel.go:813 +0x57 gvisor.googlesource.com/gvisor/runsc/boot.(*Loader).WaitExit(0xc0002be280, 0x0, 0x0) runsc/boot/loader.go:756 +0x50 gvisor.googlesource.com/gvisor/runsc/cmd.(*Boot).Execute(0xc00027c090, 0x122f400, 0xc000140010, 0xc000146a20, 0xc0001e7040, 0x2, 0x2, 0x0) runsc/cmd/boot.go:236 +0x121d github.com/google/subcommands.(*Commander).Execute(0xc000154000, 0x122f400, 0xc000140010, 0xc0001e7040, 0x2, 0x2, 0x1) external/com_github_google_subcommands/subcommands.go:141 +0x525 github.com/google/subcommands.Execute(0x122f400, 0xc000140010, 0xc0001e7040, 0x2, 0x2, 0xc000136e00) external/com_github_google_subcommands/subcommands.go:371 +0x81 main.main() runsc/main.go:221 +0x1f02