panic: header.ScopeForIPv6Address(172.20.20.170): bad address goroutine 988456 [running]: panic(0xfc5240, 0xc0011b0410) GOROOT/src/runtime/panic.go:1064 +0x470 fp=0xc0101a2f30 sp=0xc0101a2e78 pc=0x437030 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).acquireOutgoingPrimaryAddressRLocked(0xc00003bdc0, 0xc0211a958c, 0x4, 0xc0101a3000, 0x40b80a, 0x106ea00) pkg/tcpip/network/ipv6/ipv6.go:1339 +0x387 fp=0xc0101a3028 sp=0xc0101a2f30 pc=0xb07087 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).AcquireOutgoingPrimaryAddress(0xc00003bdc0, 0xc0211a958c, 0x4, 0x7fd80743a000, 0x0, 0x0) pkg/tcpip/network/ipv6/ipv6.go:1293 +0x8e fp=0xc0101a3080 sp=0xc0101a3028 pc=0xb06c8e gvisor.dev/gvisor/pkg/tcpip/stack.(*NIC).primaryEndpoint(0xc000b46000, 0x86dd, 0xc0211a958c, 0x4, 0xc000f0c300, 0x7fd80761e828) pkg/tcpip/stack/nic.go:340 +0x116 fp=0xc0101a30d8 sp=0xc0101a3080 pc=0x92ac36 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).getAddressEP(0xc000f2e000, 0xc000b46000, 0x0, 0x0, 0xc0211a958c, 0x4, 0x86dd, 0x0, 0xcf) pkg/tcpip/stack/stack.go:1212 +0x58 fp=0xc0101a3128 sp=0xc0101a30d8 pc=0x936ad8 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).FindRoute(0xc000f2e000, 0xc000000000, 0x0, 0x0, 0xc0211a958c, 0x4, 0x86dd, 0x0, 0x0) pkg/tcpip/stack/stack.go:1362 +0xd32 fp=0xc0101a33d0 sp=0xc0101a3128 pc=0x937e12 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).write(0xc008607dc0, 0x12f57c0, 0xc0211d7a40, 0xc022010000, 0x0, 0x105eb60, 0xc008607d01, 0xc0211d7a40) pkg/tcpip/transport/raw/endpoint.go:336 +0x14b fp=0xc0101a34d8 sp=0xc0101a33d0 pc=0xaa782b gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).Write(0xc008607dc0, 0x12f57c0, 0xc0211d7a40, 0xc022010000, 0xc021000000, 0x4, 0x4e22, 0xc0110d0002) pkg/tcpip/transport/raw/endpoint.go:230 +0x72 fp=0xc0101a3528 sp=0xc0101a34d8 pc=0xaa7552 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc01e8350f0, 0xc0222a4a80, 0x1310660, 0xc01ff73000, 0xc0220022a0, 0x3, 0x0, 0x2c4, 0x100, 0xc0211a9530, ...) pkg/sentry/socket/netstack/netstack.go:2870 +0x19d fp=0xc0101a3818 sp=0xc0101a3528 pc=0xb259fd gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc0222a4a80, 0x7fd807398ec0, 0xc01e835080, 0xc01e835080, 0x20001700, 0x0, 0x0, 0xc0101a3ae8, 0xa547b4) pkg/sentry/syscalls/linux/vfs2/socket.go:1056 +0x3c2 fp=0xc0101a3a58 sp=0xc0101a3818 pc=0xd9a762 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMsg(0xc0222a4a80, 0x4, 0x20001700, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/socket.go:934 +0x225 fp=0xc0101a3af8 sp=0xc0101a3a58 pc=0xd99b65 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0222a4a80, 0x2e, 0x4, 0x20001700, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1199820, ...) pkg/sentry/kernel/task_syscall.go:104 +0x13c fp=0xc0101a3c58 sp=0xc0101a3af8 pc=0x9cd89c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0222a4a80, 0x2e, 0x4, 0x20001700, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:239 +0x66 fp=0xc0101a3ce0 sp=0xc0101a3c58 pc=0x9cea66 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0222a4a80, 0x2e, 0x4, 0x20001700, 0x0, 0x0, 0x0, 0x0, 0xde06ee, 0xc022084460) pkg/sentry/kernel/task_syscall.go:199 +0x98 fp=0xc0101a3d40 sp=0xc0101a3ce0 pc=0x9ce618 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0222a4a80, 0x2, 0xc0222a4a80) pkg/sentry/kernel/task_syscall.go:174 +0x15c fp=0xc0101a3e10 sp=0xc0101a3d40 pc=0x9cdfbc gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0222a4a80, 0x12e7b40, 0x0) pkg/sentry/kernel/task_run.go:282 +0xc45 fp=0xc0101a3f60 sp=0xc0101a3e10 pc=0x9c23c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0222a4a80, 0xb440) pkg/sentry/kernel/task_run.go:97 +0x1af fp=0xc0101a3fd0 sp=0xc0101a3f60 pc=0x9c108f runtime.goexit() src/runtime/asm_amd64.s:1374 +0x1 fp=0xc0101a3fd8 sp=0xc0101a3fd0 pc=0x4705a1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:323 +0xfe