panic: header.ScopeForIPv6Address(172.20.20.170): bad address goroutine 399 [running]: panic(0xfc1e60, 0xc000524070) GOROOT/src/runtime/panic.go:1064 +0x470 fp=0xc0004f4f30 sp=0xc0004f4e78 pc=0x437030 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).acquireOutgoingPrimaryAddressRLocked(0xc00003a700, 0xc00050c54c, 0x4, 0xc0004f5000, 0x40b80a, 0x106b060) pkg/tcpip/network/ipv6/ipv6.go:1339 +0x387 fp=0xc0004f5028 sp=0xc0004f4f30 pc=0xb04247 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).AcquireOutgoingPrimaryAddress(0xc00003a700, 0xc00050c54c, 0x4, 0x7f4f45663b00, 0x0, 0x0) pkg/tcpip/network/ipv6/ipv6.go:1293 +0x8b fp=0xc0004f5080 sp=0xc0004f5028 pc=0xb03e4b gvisor.dev/gvisor/pkg/tcpip/stack.(*NIC).primaryEndpoint(0xc000662c00, 0x86dd, 0xc00050c54c, 0x4, 0xc0002f6e00, 0x7f4f4562c3d8) pkg/tcpip/stack/nic.go:340 +0x116 fp=0xc0004f50d8 sp=0xc0004f5080 pc=0x929556 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).getAddressEP(0xc00033a580, 0xc000662c00, 0x0, 0x0, 0xc00050c54c, 0x4, 0x86dd, 0x0, 0x0) pkg/tcpip/stack/stack.go:1212 +0x58 fp=0xc0004f5128 sp=0xc0004f50d8 pc=0x935098 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).FindRoute(0xc00033a580, 0x0, 0x0, 0x0, 0xc00050c54c, 0x4, 0x86dd, 0x0, 0x0) pkg/tcpip/stack/stack.go:1362 +0xd32 fp=0xc0004f53d0 sp=0xc0004f5128 pc=0x9363d2 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).write(0xc0001c01c0, 0x12eadc0, 0xc00019bb80, 0xc000337f00, 0x0, 0x105b3a0, 0xc0001c0101, 0xc00019bb80) pkg/tcpip/transport/raw/endpoint.go:336 +0x14b fp=0xc0004f54d8 sp=0xc0004f53d0 pc=0xaa484b gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).Write(0xc0001c01c0, 0x12eadc0, 0xc00019bb80, 0xc000337f00, 0xc000000000, 0x4, 0x0, 0x2) pkg/tcpip/transport/raw/endpoint.go:230 +0x72 fp=0xc0004f5528 sp=0xc0004f54d8 pc=0xaa4572 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc000622370, 0xc000132000, 0x1305c40, 0xc00077e000, 0x0, 0x0, 0x0, 0x0, 0x100, 0xc00074e100, ...) pkg/sentry/socket/netstack/netstack.go:3004 +0x19d fp=0xc0004f5818 sp=0xc0004f5528 pc=0xb2385d gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc000132000, 0x7f4f4562c240, 0xc000622300, 0xc000622300, 0x20000480, 0x0, 0x20000000, 0x3e, 0x7fffffff0058) pkg/sentry/syscalls/linux/vfs2/socket.go:1056 +0x3c2 fp=0xc0004f5a58 sp=0xc0004f5818 pc=0xd97bc2 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMsg(0xc000132000, 0x3, 0x20000480, 0x0, 0x0, 0x1, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/socket.go:934 +0x225 fp=0xc0004f5af8 sp=0xc0004f5a58 pc=0xd96fc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000132000, 0x2e, 0x3, 0x20000480, 0x0, 0x0, 0x1, 0x1, 0x1, 0x1195680, ...) pkg/sentry/kernel/task_syscall.go:104 +0x13c fp=0xc0004f5c58 sp=0xc0004f5af8 pc=0x9cc11c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000132000, 0x2e, 0x3, 0x20000480, 0x0, 0x0, 0x1, 0x1, 0x1, 0x1) pkg/sentry/kernel/task_syscall.go:239 +0x66 fp=0xc0004f5ce0 sp=0xc0004f5c58 pc=0x9cd2e6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000132000, 0x2e, 0x3, 0x20000480, 0x0, 0x0, 0x1, 0x1, 0xdddbe5, 0xc0003ecfe8) pkg/sentry/kernel/task_syscall.go:199 +0x98 fp=0xc0004f5d40 sp=0xc0004f5ce0 pc=0x9cce98 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000132000, 0x2, 0xc000132000) pkg/sentry/kernel/task_syscall.go:174 +0x15c fp=0xc0004f5e10 sp=0xc0004f5d40 pc=0x9cc83c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc000132000, 0x12dd140, 0x0) pkg/sentry/kernel/task_run.go:282 +0xc45 fp=0xc0004f5f60 sp=0xc0004f5e10 pc=0x9c0c85 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000132000, 0xf) pkg/sentry/kernel/task_run.go:97 +0x1af fp=0xc0004f5fd0 sp=0xc0004f5f60 pc=0x9bf94f runtime.goexit() src/runtime/asm_amd64.s:1374 +0x1 fp=0xc0004f5fd8 sp=0xc0004f5fd0 pc=0x4705a1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:323 +0xfe