WARNING: DATA RACE Write at 0x00c082a4b000 by goroutine 566: gvisor.googlesource.com/gvisor/pkg/sentry/fs.Rename() pkg/sentry/fs/dirent.go:1628 +0x61a gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.renameAt.func1.1() pkg/sentry/syscalls/linux/sys_file.go:1864 +0x1f9 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.fileOpAt() pkg/sentry/syscalls/linux/sys_file.go:51 +0x211 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.renameAt.func1() pkg/sentry/syscalls/linux/sys_file.go:1852 +0x219 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.fileOpAt() pkg/sentry/syscalls/linux/sys_file.go:51 +0x211 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.renameAt() pkg/sentry/syscalls/linux/sys_file.go:1840 +0x180 DIAGNOSIS: I0320 23:19:55.684782 23638 x:0] *************************** I0320 23:19:55.685030 23638 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] I0320 23:19:55.685152 23638 x:0] Git Revision: cea1dd7d21b976ad5cb145b94be7b1bf879235be I0320 23:19:55.685225 23638 x:0] PID: 23638 I0320 23:19:55.685274 23638 x:0] UID: 0, GID: 0 I0320 23:19:55.685341 23638 x:0] Configuration: I0320 23:19:55.685383 23638 x:0] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0320 23:19:55.685449 23638 x:0] Platform: ptrace I0320 23:19:55.685509 23638 x:0] FileAccess: shared, overlay: false I0320 23:19:55.685583 23638 x:0] Network: sandbox, logging: false I0320 23:19:55.685644 23638 x:0] Strace: false, max size: 1024, syscalls: [] I0320 23:19:55.685696 23638 x:0] *************************** D0320 23:19:55.685808 23638 x:0] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-2" D0320 23:19:55.710427 23638 x:0] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-2": signal 0 D0320 23:19:55.710652 23638 x:0] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0320 23:19:55.710755 23638 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0320 23:19:55.729983 23638 x:0] urpc: successfully marshalled 117 bytes. D0320 23:19:55.733803 23638 x:0] urpc: unmarshal success. I0320 23:19:55.734297 23638 x:0] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2", PID: 62438 I0320 23:19:55.734415 23638 x:0] Retrieving sandbox stacks D0320 23:19:55.734505 23638 x:0] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0320 23:19:55.734729 23638 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0320 23:19:55.740481 23638 x:0] urpc: successfully marshalled 36 bytes. D0320 23:19:56.262897 23638 x:0] urpc: unmarshal success. I0320 23:19:56.263373 23638 x:0] *** Stack dump *** goroutine 1136996 [running]: gvisor.googlesource.com/gvisor/pkg/log.Stacks(0x45c801, 0xc000116c60, 0xc0829cf140, 0xc000474000) pkg/log/log.go:259 +0xb6 gvisor.googlesource.com/gvisor/runsc/boot.(*debug).Stacks(0x238ca78, 0x238ca78, 0xc0887fa200, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc000116c60, 0xc000010210, 0x13, 0x10fed68, 0x4, 0xc08af2beb8, 0x3, 0x3, 0x4a864e, 0xfb4be0, ...) GOROOT/src/reflect/value.go:447 +0x649 reflect.Value.Call(0xc000116c60, 0xc000010210, 0x13, 0xc08af2beb8, 0x3, 0x3, 0x0, 0x238ca78, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc0002ba900, 0xc0829cef90, 0x0, 0x0) pkg/urpc/urpc.go:325 +0x63f gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc0002ba900, 0xc0829cef90, 0xc0002ba900, 0xc0829cef90) pkg/urpc/urpc.go:420 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc0002ba900, 0xc0829cef90) 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, 15 minutes]: sync.runtime_Semacquire(0xc0002c4214) GOROOT/src/runtime/sema.go:56 +0x39 sync.(*WaitGroup).Wait(0xc0002c4214) GOROOT/src/sync/waitgroup.go:130 +0xb2 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(...) pkg/sentry/kernel/kernel.go:809 gvisor.googlesource.com/gvisor/runsc/boot.(*Loader).WaitExit(0xc0002c2140, 0x0, 0x0) runsc/boot/loader.go:781 +0x74 gvisor.googlesource.com/gvisor/runsc/cmd.(*Boot).Execute(0xc000270120, 0x12861c0, 0xc00013c010, 0xc000142b40, 0xc0001c3060, 0x2, 0x2, 0x0) runsc/cmd/boot.go:236 +0x10f5 github.com/google/subcommands.(*Commander).Execute(0xc000148000, 0x12861c0, 0xc00013c010, 0xc0001c3060, 0x2, 0x2, 0x203000) external/com_github_google_subcommands/subcommands.go:141 +0x522 github.com/google/subcommands.Execute(...) external/com_github_google_subcommands/subcommands.go:371 main.main() runsc/main.go:229 +0x23da