panic: addresses 224.0.0.2 and fe80::aa do not have the same length goroutine 113317 [running]: panic({0xfe3400, 0xc003aef070}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc006c12c90 sp=0xc006c12bd0 pc=0x435837 gvisor.dev/gvisor/pkg/tcpip.Address.MatchingPrefix({0xc00090d84c?, 0x18?}, {0xc000a90840, 0x10}) pkg/tcpip/tcpip.go:176 +0x1c8 fp=0xc006c12cf8 sp=0xc006c12c90 pc=0x6b3bc8 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).acquireOutgoingPrimaryAddressRLocked.func1({0x140fe50, 0xc00053a6e0}) pkg/tcpip/network/ipv6/ipv6.go:2034 +0x109 fp=0xc006c12de0 sp=0xc006c12cf8 pc=0xb90ca9 gvisor.dev/gvisor/pkg/tcpip/stack.(*AddressableEndpointState).ForEachPrimaryEndpoint(0xc0005a8a40, 0xc006c12ed0) pkg/tcpip/stack/addressable_endpoint_state.go:123 +0xec fp=0xc006c12e38 sp=0xc006c12de0 pc=0x96ca2c gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).acquireOutgoingPrimaryAddressRLocked(0x0?, {0xc00090d84c, 0x4}, 0x7d?) pkg/tcpip/network/ipv6/ipv6.go:2014 +0xf9 fp=0xc006c12f68 sp=0xc006c12e38 pc=0xb90479 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).AcquireOutgoingPrimaryAddress(0xc0005a8400, {0xc00090d84c, 0x4}, 0xf8?) pkg/tcpip/network/ipv6/ipv6.go:1968 +0xb9 fp=0xc006c12fc8 sp=0xc006c12f68 pc=0xb900d9 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).primaryEndpoint(0xc000580400, 0x1?, {0xc00090d84c, 0x4}) pkg/tcpip/stack/nic.go:440 +0x112 fp=0xc006c13028 sp=0xc006c12fc8 pc=0x987a12 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).getAddressEP(0x7fc72d6dd700?, 0xc002a07800?, {0x0?, 0xc002a07a70?}, {0xc00090d84c?, 0xc006c130f8?}, 0x41504f?) pkg/tcpip/stack/stack.go:1143 +0x48 fp=0xc006c13068 sp=0xc006c13028 pc=0x99ad08 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).FindRoute.func1(0xc00056ce00, {0xc00090d84c, 0x4}, 0x0, {0x0, 0x0}, 0x8?, 0x0, 0x0?, 0x1, ...) pkg/tcpip/stack/stack.go:1333 +0x309 fp=0xc006c13208 sp=0xc006c13068 pc=0x99c949 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).FindRoute(0xc00056ce00, 0x0, {0x0, 0x0}, {0xc00090d84c, 0x4}, 0x8b77cf?, 0x0?) pkg/tcpip/stack/stack.go:1359 +0x6db fp=0xc006c13400 sp=0xc006c13208 pc=0x99bdfb gvisor.dev/gvisor/pkg/tcpip/transport/internal/network.(*Endpoint).SetSockOpt(0xc004e02920, {0x13f8400?, 0xc002a07ef0}) pkg/tcpip/transport/internal/network/endpoint.go:926 +0x7e5 fp=0xc006c13658 sp=0xc006c13400 pc=0xb1a545 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).SetSockOpt(0x20000e0?, {0x13f8400?, 0xc002a07ef0?}) pkg/tcpip/transport/raw/endpoint.go:498 +0x1f8 fp=0xc006c136b0 sp=0xc006c13658 pc=0xb244d8 gvisor.dev/gvisor/pkg/sentry/socket/netstack.setSockOptIP(0xc004f60a80, {0x14110f8, 0xc004e121c0}, {0x3fc566fa0b40, 0xc004e02900}, 0x23, {0xc004f613c4, 0xc, 0x90}) pkg/sentry/socket/netstack/netstack.go:2464 +0xe82 fp=0xc006c13768 sp=0xc006c136b0 pc=0xbbf3e2 gvisor.dev/gvisor/pkg/sentry/socket/netstack.SetSockOpt(0x0?, {0x14110f8?, 0xc004e121c0?}, {0x3fc566fa0b40?, 0xc004e02900?}, 0x90?, 0x140fa10?, {0xc004f613c4, 0xc, 0x90}) pkg/sentry/socket/netstack/netstack.go:1804 +0xb0 fp=0xc006c137c0 sp=0xc006c13768 pc=0xbbb3b0 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketVFS2).SetSockOpt(0xc004e121c0, 0x14196f8?, 0x0, 0x23, {0xc004f613c4, 0xc, 0x90}) pkg/sentry/socket/netstack/netstack_vfs2.go:268 +0x2e7 fp=0xc006c13878 sp=0xc006c137c0 pc=0xbc7587 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SetSockOpt(0xc004f60a80, {{0x3}, {0x0}, {0x23}, {0x20000000}, {0xc}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/socket.go:552 +0x2bb fp=0xc006c13958 sp=0xc006c13878 pc=0xd0615b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc004f60a80, 0x36, {{0x3}, {0x0}, {0x23}, {0x20000000}, {0xc}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x7d0 fp=0xc006c13c98 sp=0xc006c13958 pc=0xa28870 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc004f60a80, 0x0?, {{0x3}, {0x0}, {0x23}, {0x20000000}, {0xc}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc006c13cf8 sp=0xc006c13c98 pc=0xa29e34 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0005a2040?, 0xc006c13e40?, {{0x3}, {0x0}, {0x23}, {0x20000000}, {0xc}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc006c13d58 sp=0xc006c13cf8 pc=0xa29a25 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc004f60a80) pkg/sentry/kernel/task_syscall.go:257 +0x3b5 fp=0xc006c13e50 sp=0xc006c13d58 pc=0xa296f5 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00013cf00?, 0xc004f60a80) pkg/sentry/kernel/task_run.go:253 +0x1145 fp=0xc006c13f60 sp=0xc006c13e50 pc=0xa1b505 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc004f60a80, 0xc3f) pkg/sentry/kernel/task_run.go:94 +0x1ec fp=0xc006c13fc0 sp=0xc006c13f60 pc=0xa19d2c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc006c13fe0 sp=0xc006c13fc0 pc=0xa26d4a runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc006c13fe8 sp=0xc006c13fe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x105