WARNING: DATA RACE Write at 0x00c0002e4408 by goroutine 353: 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 DIAGNOSIS: I0229 18:31:18.408054 23727 main.go:305] *************************** I0229 18:31:18.408240 23727 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-0] I0229 18:31:18.408456 23727 main.go:307] Version release-20200219.0-72-gce4d1e45bb88 I0229 18:31:18.408541 23727 main.go:308] PID: 23727 I0229 18:31:18.408636 23727 main.go:309] UID: 0, GID: 0 I0229 18:31:18.408726 23727 main.go:310] Configuration: I0229 18:31:18.408813 23727 main.go:311] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0229 18:31:18.408895 23727 main.go:312] Platform: ptrace I0229 18:31:18.408982 23727 main.go:313] FileAccess: shared, overlay: false I0229 18:31:18.409086 23727 main.go:314] Network: sandbox, logging: false I0229 18:31:18.409181 23727 main.go:315] Strace: false, max size: 1024, syscalls: [] I0229 18:31:18.409291 23727 main.go:316] *************************** W0229 18:31:18.409348 23727 main.go:321] Block the TERM signal. This is only safe in tests! D0229 18:31:18.409514 23727 container.go:159] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-0" D0229 18:31:18.416457 23727 container.go:592] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-0": signal 0 D0229 18:31:18.416716 23727 sandbox.go:806] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0229 18:31:18.416814 23727 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0229 18:31:18.417291 23727 urpc.go:534] urpc: successfully marshalled 117 bytes. I0229 18:31:18.492713 23727 debug.go:122] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0", PID: 18205 I0229 18:31:18.492862 23727 debug.go:131] Retrieving sandbox stacks D0229 18:31:18.492961 23727 sandbox.go:924] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0229 18:31:18.493052 23727 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" W0229 18:31:18.493237 23727 error.go:48] FATAL ERROR: retrieving stacks: connecting to control server at PID 18205: connection refused retrieving stacks: connecting to control server at PID 18205: connection refused W0229 18:31:18.493539 23727 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-0"]: exit status 128 I0229 18:31:18.408054 23727 main.go:305] *************************** I0229 18:31:18.408240 23727 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-0] I0229 18:31:18.408456 23727 main.go:307] Version release-20200219.0-72-gce4d1e45bb88 I0229 18:31:18.408541 23727 main.go:308] PID: 23727 I0229 18:31:18.408636 23727 main.go:309] UID: 0, GID: 0 I0229 18:31:18.408726 23727 main.go:310] Configuration: I0229 18:31:18.408813 23727 main.go:311] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0229 18:31:18.408895 23727 main.go:312] Platform: ptrace I0229 18:31:18.408982 23727 main.go:313] FileAccess: shared, overlay: false I0229 18:31:18.409086 23727 main.go:314] Network: sandbox, logging: false I0229 18:31:18.409181 23727 main.go:315] Strace: false, max size: 1024, syscalls: [] I0229 18:31:18.409291 23727 main.go:316] *************************** W0229 18:31:18.409348 23727 main.go:321] Block the TERM signal. This is only safe in tests! D0229 18:31:18.409514 23727 container.go:159] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-0" D0229 18:31:18.416457 23727 container.go:592] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-0": signal 0 D0229 18:31:18.416716 23727 sandbox.go:806] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0229 18:31:18.416814 23727 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0229 18:31:18.417291 23727 urpc.go:534] urpc: successfully marshalled 117 bytes. I0229 18:31:18.492713 23727 debug.go:122] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0", PID: 18205 I0229 18:31:18.492862 23727 debug.go:131] Retrieving sandbox stacks D0229 18:31:18.492961 23727 sandbox.go:924] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0229 18:31:18.493052 23727 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" W0229 18:31:18.493237 23727 error.go:48] FATAL ERROR: retrieving stacks: connecting to control server at PID 18205: connection refused retrieving stacks: connecting to control server at PID 18205: connection refused W0229 18:31:18.493539 23727 main.go:338] Failure to execute command, err: 1 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Read() pkg/sentry/syscalls/linux/sys_read.go:72 +0x2ab 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