WARNING: DATA RACE Write at 0x00c00b54e430 by goroutine 566: gvisor.googlesource.com/gvisor/pkg/sentry/fs.Rename() pkg/sentry/fs/dirent.go:1628 +0x61f DIAGNOSIS: I0221 21:22:32.567283 38277 x:0] *************************** I0221 21:22:32.567449 38277 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] I0221 21:22:32.567547 38277 x:0] Git Revision: b2a5ad047a26dbe06c16dfa5a4e150836b79fd7c I0221 21:22:32.567579 38277 x:0] PID: 38277 I0221 21:22:32.567631 38277 x:0] UID: 0, GID: 0 I0221 21:22:32.567674 38277 x:0] Configuration: I0221 21:22:32.567692 38277 x:0] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0221 21:22:32.567708 38277 x:0] Platform: ptrace I0221 21:22:32.567745 38277 x:0] FileAccess: shared, overlay: false I0221 21:22:32.567774 38277 x:0] Network: sandbox, logging: false I0221 21:22:32.567805 38277 x:0] Strace: false, max size: 1024, syscalls: [] I0221 21:22:32.567848 38277 x:0] *************************** D0221 21:22:32.568098 38277 x:0] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-3" D0221 21:22:32.571770 38277 x:0] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-3": signal 0 D0221 21:22:32.571876 38277 x:0] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0221 21:22:32.571928 38277 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0221 21:22:32.572417 38277 x:0] urpc: successfully marshalled 117 bytes. D0221 21:22:32.574578 38277 x:0] urpc: unmarshal success. I0221 21:22:32.574731 38277 x:0] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3", PID: 15710 I0221 21:22:32.574806 38277 x:0] Retrieving sandbox stacks D0221 21:22:32.574881 38277 x:0] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0221 21:22:32.574961 38277 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0221 21:22:32.575234 38277 x:0] urpc: successfully marshalled 36 bytes. D0221 21:22:32.933033 38277 x:0] urpc: unmarshal success. I0221 21:22:32.933241 38277 x:0] *** Stack dump *** goroutine 2120181 [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(0x22ff2d8, 0x22ff2d8, 0xc0001fe0c0, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc0003541e0, 0xc000136260, 0x13, 0x10e77ba, 0x4, 0xc010129e68, 0x3, 0x3, 0x4f0a5e, 0xfa16c0, ...) GOROOT/src/reflect/value.go:447 +0x635 reflect.Value.Call(0xc0003541e0, 0xc000136260, 0x13, 0xc010129e68, 0x3, 0x3, 0x0, 0x22ff2d8, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc000284570, 0xc001e408a0, 0x0, 0x0) pkg/urpc/urpc.go:325 +0x681 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc000284570, 0xc001e408a0, 0xc000284570, 0xc001e408a0) pkg/urpc/urpc.go:420 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc000284570, 0xc001e408a0) 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, 18 minutes]: sync.runtime_Semacquire(0xc0002b4214) GOROOT/src/runtime/sema.go:56 +0x39 sync.(*WaitGroup).Wait(0xc0002b4214) GOROOT/src/sync/waitgroup.go:130 +0xb5 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(0xc0002b8000) pkg/sentry/kernel/kernel.go:813 +0x57 gvisor.googlesource.com/gvisor/runsc/boot.(*Loader).WaitExit(0xc0002b8280, 0x0, 0x0) runsc/boot/loader.go:756 +0x50 gvisor.googlesource.com/gvisor/runsc/cmd.(*Boot).Execute(0xc0001cc120, 0x122eb20, 0xc000132010, 0xc00011cae0, 0xc0001d9040, 0x2, 0x2, 0x0) runsc/cmd/boot.go:236 +0x121d github.com/google/subcommands.(*Commander).Execute(0xc000144000, 0x122eb20, 0xc000132010, 0xc0001d9040, 0x2, 0x2, 0x1) external/com_github_google_subcommands/subcommands.go:141 +0x525 github.com/google/subcommands.Execute(0x122eb20, 0xc000132010, 0xc0001d9040, 0x2, 0x2, 0xc000128dc0) external/com_github_google_subcommands/subcommands.go:371 +0x81 main.main() runsc/main.go:221 +0x1f02