panic: header.ScopeForIPv6Address(172.20.20.170): bad address goroutine 1738166 [running]: panic(0xfc5240, 0xc01e20b9a0) GOROOT/src/runtime/panic.go:1064 +0x470 fp=0xc00524cf00 sp=0xc00524ce48 pc=0x437030 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).acquireOutgoingPrimaryAddressRLocked(0xc000c821c0, 0xc05af2778c, 0x4, 0xc00524d000, 0x40b80a, 0x106ea00) pkg/tcpip/network/ipv6/ipv6.go:1339 +0x387 fp=0xc00524cff8 sp=0xc00524cf00 pc=0xb07087 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).AcquireOutgoingPrimaryAddress(0xc000c821c0, 0xc05af2778c, 0x4, 0x7f9888181900, 0x0, 0x0) pkg/tcpip/network/ipv6/ipv6.go:1293 +0x8e fp=0xc00524d050 sp=0xc00524cff8 pc=0xb06c8e gvisor.dev/gvisor/pkg/tcpip/stack.(*NIC).primaryEndpoint(0xc00036ad80, 0x86dd, 0xc05af2778c, 0x4, 0xc0002b4500, 0x7f98881e5c20) pkg/tcpip/stack/nic.go:340 +0x116 fp=0xc00524d0a8 sp=0xc00524d050 pc=0x92ac36 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).getAddressEP(0xc000240000, 0xc00036ad80, 0x0, 0x0, 0xc05af2778c, 0x4, 0x86dd, 0x0, 0x5) pkg/tcpip/stack/stack.go:1212 +0x58 fp=0xc00524d0f8 sp=0xc00524d0a8 pc=0x936ad8 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).FindRoute(0xc000240000, 0xc000000000, 0x0, 0x0, 0xc05af2778c, 0x4, 0x86dd, 0x0, 0x0) pkg/tcpip/stack/stack.go:1362 +0xd32 fp=0xc00524d3a0 sp=0xc00524d0f8 pc=0x937e12 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).write(0xc00c1981c0, 0x12f57c0, 0xc0056b1b30, 0xc0007ee740, 0x100, 0x105eb60, 0xc00c198101, 0xc0056b1b30) pkg/tcpip/transport/raw/endpoint.go:336 +0x14b fp=0xc00524d4a8 sp=0xc00524d3a0 pc=0xaa782b gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).Write(0xc00c1981c0, 0x12f57c0, 0xc0056b1b30, 0xc0007ee740, 0xc05a000100, 0x4, 0x874e20, 0xc05af20002) pkg/tcpip/transport/raw/endpoint.go:230 +0x72 fp=0xc00524d4f8 sp=0xc00524d4a8 pc=0xaa7552 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc05e0fcdf0, 0xc00495ca80, 0x1310660, 0xc0057c6000, 0x0, 0x1, 0x20000040, 0x5, 0x100, 0xc05af27790, ...) pkg/sentry/socket/netstack/netstack.go:2870 +0x19d fp=0xc00524d7e8 sp=0xc00524d4f8 pc=0xb259fd gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc00495ca80, 0x7f98cd5a9d40, 0xc05e0fcd80, 0xc05e0fcd80, 0x20001b00, 0xc000004080, 0x2b240823cc70, 0xc00495d3c4, 0x10) pkg/sentry/syscalls/linux/vfs2/socket.go:1056 +0x3c2 fp=0xc00524da28 sp=0xc00524d7e8 pc=0xd9a762 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMMsg(0xc00495ca80, 0x3, 0x20001b00, 0x3, 0x4080, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/socket.go:980 +0x2a6 fp=0xc00524daf8 sp=0xc00524da28 pc=0xd99fa6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00495ca80, 0x133, 0x3, 0x20001b00, 0x3, 0x4080, 0x0, 0x0, 0x1, 0x1199820, ...) pkg/sentry/kernel/task_syscall.go:104 +0x13c fp=0xc00524dc58 sp=0xc00524daf8 pc=0x9cd89c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00495ca80, 0x133, 0x3, 0x20001b00, 0x3, 0x4080, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:239 +0x66 fp=0xc00524dce0 sp=0xc00524dc58 pc=0x9cea66 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00495ca80, 0x133, 0x3, 0x20001b00, 0x3, 0x4080, 0x0, 0x0, 0xde06ee, 0xc0485ebd20) pkg/sentry/kernel/task_syscall.go:199 +0x98 fp=0xc00524dd40 sp=0xc00524dce0 pc=0x9ce618 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00495ca80, 0x2, 0xc00495ca80) pkg/sentry/kernel/task_syscall.go:174 +0x15c fp=0xc00524de10 sp=0xc00524dd40 pc=0x9cdfbc gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00495ca80, 0x12e7b40, 0x0) pkg/sentry/kernel/task_run.go:282 +0xc45 fp=0xc00524df60 sp=0xc00524de10 pc=0x9c23c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00495ca80, 0xf449) pkg/sentry/kernel/task_run.go:97 +0x1af fp=0xc00524dfd0 sp=0xc00524df60 pc=0x9c108f runtime.goexit() src/runtime/asm_amd64.s:1374 +0x1 fp=0xc00524dfd8 sp=0xc00524dfd0 pc=0x4705a1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:323 +0xfe