WARNING: DATA RACE Read at 0x00c0008cc250 by goroutine 352: gvisor.dev/gvisor/pkg/tcpip/stack.(*TransportEndpointInfo).AddrNetProto() pkg/tcpip/stack/stack.go:573 +0x79 gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).checkV4Mapped() pkg/tcpip/transport/udp/endpoint.go:931 +0xee gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).Connect() pkg/tcpip/transport/udp/endpoint.go:984 +0x6c gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketOperations).Connect() pkg/sentry/socket/netstack/netstack.go:698 +0x4c5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Connect() pkg/sentry/syscalls/linux/sys_socket.go:280 +0x251 DIAGNOSIS: I0228 11:38:30.747426 11610 main.go:296] *************************** I0228 11:38:30.747546 11610 main.go:297] 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-1] I0228 11:38:30.747696 11610 main.go:298] Version release-20200219.0-63-gc96bb4d2ebc6 I0228 11:38:30.747771 11610 main.go:299] PID: 11610 I0228 11:38:30.747837 11610 main.go:300] UID: 0, GID: 0 I0228 11:38:30.747930 11610 main.go:301] Configuration: I0228 11:38:30.748000 11610 main.go:302] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0228 11:38:30.748092 11610 main.go:303] Platform: ptrace I0228 11:38:30.748163 11610 main.go:304] FileAccess: shared, overlay: false I0228 11:38:30.748393 11610 main.go:305] Network: sandbox, logging: false I0228 11:38:30.748496 11610 main.go:306] Strace: false, max size: 1024, syscalls: [] I0228 11:38:30.748622 11610 main.go:307] *************************** W0228 11:38:30.748691 11610 main.go:312] Block the TERM signal. This is only safe in tests! D0228 11:38:30.748836 11610 container.go:159] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-1" D0228 11:38:30.754895 11610 container.go:592] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-1": signal 0 D0228 11:38:30.755115 11610 sandbox.go:788] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0228 11:38:30.755240 11610 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0228 11:38:30.755730 11610 urpc.go:534] urpc: successfully marshalled 117 bytes. I0228 11:38:30.830906 11610 debug.go:122] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1", PID: 64421 I0228 11:38:30.831044 11610 debug.go:131] Retrieving sandbox stacks D0228 11:38:30.831126 11610 sandbox.go:906] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0228 11:38:30.831224 11610 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" W0228 11:38:30.831377 11610 error.go:48] FATAL ERROR: retrieving stacks: connecting to control server at PID 64421: connection refused retrieving stacks: connecting to control server at PID 64421: connection refused W0228 11:38:30.831630 11610 main.go:329] 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-1"]: exit status 128 I0228 11:38:30.747426 11610 main.go:296] *************************** I0228 11:38:30.747546 11610 main.go:297] 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-1] I0228 11:38:30.747696 11610 main.go:298] Version release-20200219.0-63-gc96bb4d2ebc6 I0228 11:38:30.747771 11610 main.go:299] PID: 11610 I0228 11:38:30.747837 11610 main.go:300] UID: 0, GID: 0 I0228 11:38:30.747930 11610 main.go:301] Configuration: I0228 11:38:30.748000 11610 main.go:302] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0228 11:38:30.748092 11610 main.go:303] Platform: ptrace I0228 11:38:30.748163 11610 main.go:304] FileAccess: shared, overlay: false I0228 11:38:30.748393 11610 main.go:305] Network: sandbox, logging: false I0228 11:38:30.748496 11610 main.go:306] Strace: false, max size: 1024, syscalls: [] I0228 11:38:30.748622 11610 main.go:307] *************************** W0228 11:38:30.748691 11610 main.go:312] Block the TERM signal. This is only safe in tests! D0228 11:38:30.748836 11610 container.go:159] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-1" D0228 11:38:30.754895 11610 container.go:592] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-1": signal 0 D0228 11:38:30.755115 11610 sandbox.go:788] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0228 11:38:30.755240 11610 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0228 11:38:30.755730 11610 urpc.go:534] urpc: successfully marshalled 117 bytes. I0228 11:38:30.830906 11610 debug.go:122] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1", PID: 64421 I0228 11:38:30.831044 11610 debug.go:131] Retrieving sandbox stacks D0228 11:38:30.831126 11610 sandbox.go:906] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0228 11:38:30.831224 11610 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" W0228 11:38:30.831377 11610 error.go:48] FATAL ERROR: retrieving stacks: connecting to control server at PID 64421: connection refused retrieving stacks: connecting to control server at PID 64421: connection refused W0228 11:38:30.831630 11610 main.go:329] Failure to execute command, err: 1 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:170 +0x455 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 +0x1aaf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:92 +0x308