WARNING: DATA RACE Write at 0x00c0004d4228 by goroutine 911: DIAGNOSIS: I0303 02:27:18.643917 27321 main.go:305] *************************** I0303 02:27:18.644072 27321 main.go:306] 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 -alsologtostderr -platform=ptrace -file-access=shared -network=sandbox -TESTONLY-unsafe-nonroot debug -stacks --ps ci-gvisor-ptrace-proxy-sandbox-race-3] I0303 02:27:18.644331 27321 main.go:307] Version release-20200219.0-72-gce4d1e45bb88 I0303 02:27:18.644431 27321 main.go:308] PID: 27321 I0303 02:27:18.644561 27321 main.go:309] UID: 0, GID: 0 I0303 02:27:18.644671 27321 main.go:310] Configuration: I0303 02:27:18.644749 27321 main.go:311] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0303 02:27:18.644884 27321 main.go:312] Platform: ptrace I0303 02:27:18.645023 27321 main.go:313] FileAccess: shared, overlay: false I0303 02:27:18.645156 27321 main.go:314] Network: sandbox, logging: false I0303 02:27:18.645289 27321 main.go:315] Strace: false, max size: 1024, syscalls: [] I0303 02:27:18.645422 27321 main.go:316] *************************** W0303 02:27:18.645510 27321 main.go:321] Block the TERM signal. This is only safe in tests! D0303 02:27:18.646565 27321 container.go:159] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-3" D0303 02:27:18.655632 27321 container.go:592] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-3": signal 0 D0303 02:27:18.655815 27321 sandbox.go:806] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0303 02:27:18.655953 27321 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0303 02:27:18.656537 27321 urpc.go:534] urpc: successfully marshalled 117 bytes. I0303 02:27:18.870525 27321 debug.go:122] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3", PID: 9328 I0303 02:27:18.870659 27321 debug.go:131] Retrieving sandbox stacks D0303 02:27:18.870764 27321 sandbox.go:924] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0303 02:27:18.870862 27321 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" W0303 02:27:18.871019 27321 error.go:48] FATAL ERROR: retrieving stacks: connecting to control server at PID 9328: connection refused retrieving stacks: connecting to control server at PID 9328: connection refused W0303 02:27:18.871392 27321 main.go:338] Failure to execute command, err: 1 Error collecting stacks: failed to run ["/syzkaller/managers/ptrace-proxy-sandbox-race/current/image" "-root" "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "-watchdog-action=panic" "-network=none" "-debug" "-alsologtostderr" "-platform=ptrace" "-file-access=shared" "-network=sandbox" "-TESTONLY-unsafe-nonroot" "debug" "-stacks" "--ps" "ci-gvisor-ptrace-proxy-sandbox-race-3"]: exit status 128 I0303 02:27:18.643917 27321 main.go:305] *************************** I0303 02:27:18.644072 27321 main.go:306] 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 -alsologtostderr -platform=ptrace -file-access=shared -network=sandbox -TESTONLY-unsafe-nonroot debug -stacks --ps ci-gvisor-ptrace-proxy-sandbox-race-3] I0303 02:27:18.644331 27321 main.go:307] Version release-20200219.0-72-gce4d1e45bb88 I0303 02:27:18.644431 27321 main.go:308] PID: 27321 I0303 02:27:18.644561 27321 main.go:309] UID: 0, GID: 0 I0303 02:27:18.644671 27321 main.go:310] Configuration: I0303 02:27:18.644749 27321 main.go:311] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0303 02:27:18.644884 27321 main.go:312] Platform: ptrace I0303 02:27:18.645023 27321 main.go:313] FileAccess: shared, overlay: false I0303 02:27:18.645156 27321 main.go:314] Network: sandbox, logging: false I0303 02:27:18.645289 27321 main.go:315] Strace: false, max size: 1024, syscalls: [] I0303 02:27:18.645422 27321 main.go:316] *************************** W0303 02:27:18.645510 27321 main.go:321] Block the TERM signal. This is only safe in tests! D0303 02:27:18.646565 27321 container.go:159] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-3" D0303 02:27:18.655632 27321 container.go:592] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-3": signal 0 D0303 02:27:18.655815 27321 sandbox.go:806] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0303 02:27:18.655953 27321 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0303 02:27:18.656537 27321 urpc.go:534] urpc: successfully marshalled 117 bytes. I0303 02:27:18.870525 27321 debug.go:122] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3", PID: 9328 I0303 02:27:18.870659 27321 debug.go:131] Retrieving sandbox stacks D0303 02:27:18.870764 27321 sandbox.go:924] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" D0303 02:27:18.870862 27321 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-3" W0303 02:27:18.871019 27321 error.go:48] FATAL ERROR: retrieving stacks: connecting to control server at PID 9328: connection refused retrieving stacks: connecting to control server at PID 9328: connection refused W0303 02:27:18.871392 27321 main.go:338] Failure to execute command, err: 1 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketOperations).fetchReadView() pkg/sentry/socket/netstack/netstack.go:418 +0x85 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketOperations).coalescingRead() pkg/sentry/socket/netstack/netstack.go:2309 +0x67 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketOperations).nonBlockingRead() pkg/sentry/socket/netstack/netstack.go:2378 +0x183f gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketOperations).Read() pkg/sentry/socket/netstack/netstack.go:442 +0x13c gvisor.dev/gvisor/pkg/sentry/fs.(*File).Readv() pkg/sentry/fs/file.go:270 +0x22f gvisor.dev/gvisor/pkg/sentry/syscalls/linux.readv() pkg/sentry/syscalls/linux/sys_read.go:292 +0xe0 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Readv() pkg/sentry/syscalls/linux/sys_read.go:182 +0x2a2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:170 +0x44d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:291 +0xb4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:252 +0x109 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:227 +0x1b3 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:232 +0x1aaa gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:92 +0x320