WARNING: DATA RACE Read at 0x00c0007a46c8 by goroutine 267: gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).Brk() pkg/sentry/mm/syscalls.go:711 +0x167 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Brk() pkg/sentry/syscalls/linux/sys_mmap.go:32 +0x77 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:165 +0x407 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:283 +0xb4 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:244 +0x109 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:219 +0x1b6 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:220 +0x18b9 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:92 +0x2e5 Previous write at 0x00c0007a46c8 by goroutine 289: gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).Brk() pkg/sentry/mm/syscalls.go:753 +0x3e1 DIAGNOSIS: I0501 08:25:32.108051 21799 x:0] *************************** I0501 08:25:32.108181 21799 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-0] I0501 08:25:32.108241 21799 x:0] Version release-20190304.1-163-g8bfb83d0acde I0501 08:25:32.108257 21799 x:0] PID: 21799 I0501 08:25:32.108282 21799 x:0] UID: 0, GID: 0 I0501 08:25:32.108309 21799 x:0] Configuration: I0501 08:25:32.108320 21799 x:0] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0501 08:25:32.108335 21799 x:0] Platform: ptrace I0501 08:25:32.108359 21799 x:0] FileAccess: shared, overlay: false I0501 08:25:32.108377 21799 x:0] Network: sandbox, logging: false I0501 08:25:32.108395 21799 x:0] Strace: false, max size: 1024, syscalls: [] I0501 08:25:32.108417 21799 x:0] *************************** D0501 08:25:32.108474 21799 x:0] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-0" D0501 08:25:32.114818 21799 x:0] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-0": signal 0 D0501 08:25:32.114892 21799 x:0] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0501 08:25:32.114929 21799 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0501 08:25:32.115905 21799 x:0] urpc: successfully marshalled 117 bytes. D0501 08:25:32.117817 21799 x:0] urpc: unmarshal success. I0501 08:25:32.117885 21799 x:0] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0", PID: 21211 I0501 08:25:32.117925 21799 x:0] Retrieving sandbox stacks D0501 08:25:32.117938 21799 x:0] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0501 08:25:32.117961 21799 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0501 08:25:32.118325 21799 x:0] urpc: successfully marshalled 36 bytes. D0501 08:25:32.300108 21799 x:0] urpc: unmarshal success. I0501 08:25:32.300224 21799 x:0] *** Stack dump *** goroutine 894 [running]: gvisor.googlesource.com/gvisor/pkg/log.Stacks(0x45c801, 0xc00011cba0, 0xc0002505a0, 0xc0000dea80) pkg/log/log.go:259 +0xb6 gvisor.googlesource.com/gvisor/runsc/boot.(*debug).Stacks(0x2427e60, 0x2427e60, 0xc0005ca080, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc00011cba0, 0xc0003601c0, 0x13, 0x115a58b, 0x4, 0xc000709eb8, 0x3, 0x3, 0x4a864e, 0x10074e0, ...) GOROOT/src/reflect/value.go:447 +0x649 reflect.Value.Call(0xc00011cba0, 0xc0003601c0, 0x13, 0xc000709eb8, 0x3, 0x3, 0x0, 0x2427e60, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc00035e090, 0xc0006e8420, 0x0, 0x0) pkg/urpc/urpc.go:325 +0x63f gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc00035e090, 0xc0006e8420, 0xc00035e090, 0xc0006e8420) pkg/urpc/urpc.go:420 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc00035e090, 0xc0006e8420) pkg/urpc/urpc.go:440 +0x77 created by gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling pkg/urpc/urpc.go:438 +0x6f