panic: header.ScopeForIPv6Address(172.20.20.170): bad address goroutine 1185 [running]: panic(0xfc2f40, 0xc0000ac2d0) GOROOT/src/runtime/panic.go:1064 +0x470 fp=0xc000918f30 sp=0xc000918e78 pc=0x437030 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).acquireOutgoingPrimaryAddressRLocked(0xc0000f7180, 0xc00032c1d0, 0x4, 0xc000919000, 0x40b80a, 0x106c3a0) pkg/tcpip/network/ipv6/ipv6.go:1339 +0x387 fp=0xc000919028 sp=0xc000918f30 pc=0xb052e7 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).AcquireOutgoingPrimaryAddress(0xc0000f7180, 0xc00032c1d0, 0x4, 0x3f7ec79a1500, 0x0, 0x0) pkg/tcpip/network/ipv6/ipv6.go:1293 +0x8b fp=0xc000919080 sp=0xc000919028 pc=0xb04eeb gvisor.dev/gvisor/pkg/tcpip/stack.(*NIC).primaryEndpoint(0xc0007a0300, 0x86dd, 0xc00032c1d0, 0x4, 0xc00003a200, 0x7f808cd1faa8) pkg/tcpip/stack/nic.go:340 +0x116 fp=0xc0009190d8 sp=0xc000919080 pc=0x929556 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).getAddressEP(0xc000222580, 0xc0007a0300, 0x0, 0x0, 0xc00032c1d0, 0x4, 0x86dd, 0x0, 0x0) pkg/tcpip/stack/stack.go:1212 +0x58 fp=0xc000919128 sp=0xc0009190d8 pc=0x935098 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).FindRoute(0xc000222580, 0x0, 0x0, 0x0, 0xc00032c1d0, 0x4, 0x86dd, 0x0, 0x0) pkg/tcpip/stack/stack.go:1362 +0xd32 fp=0xc0009193d0 sp=0xc000919128 pc=0x9363d2 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).write(0xc000904000, 0x12ec280, 0xc00040e690, 0xc0006c2060, 0x0, 0x105c500, 0xc000904001, 0xc00040e690) pkg/tcpip/transport/raw/endpoint.go:336 +0x14b fp=0xc0009194d8 sp=0xc0009193d0 pc=0xaa554b gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).Write(0xc000904000, 0x12ec280, 0xc00040e690, 0xc0006c2060, 0xc000000000, 0x4, 0x0, 0x2) pkg/tcpip/transport/raw/endpoint.go:230 +0x72 fp=0xc000919528 sp=0xc0009194d8 pc=0xaa5272 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc00067b870, 0xc00072c000, 0x1307140, 0xc000417000, 0x0, 0x0, 0x0, 0x0, 0x100, 0xc000a2a000, ...) pkg/sentry/socket/netstack/netstack.go:2848 +0x19d fp=0xc000919818 sp=0xc000919528 pc=0xb23cbd gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc00072c000, 0x3f7eccc59720, 0xc00067b800, 0xc00067b800, 0x20000480, 0xc000000000, 0xfff, 0x10001ff0000, 0x919a78) pkg/sentry/syscalls/linux/vfs2/socket.go:1056 +0x3c2 fp=0xc000919a58 sp=0xc000919818 pc=0xd983c2 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMsg(0xc00072c000, 0x3, 0x20000480, 0x0, 0x4, 0x1, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/socket.go:934 +0x225 fp=0xc000919af8 sp=0xc000919a58 pc=0xd977c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00072c000, 0x2e, 0x3, 0x20000480, 0x0, 0x4, 0x1, 0x1, 0xdd1257, 0x1196a00, ...) pkg/sentry/kernel/task_syscall.go:104 +0x13c fp=0xc000919c58 sp=0xc000919af8 pc=0x9cc13c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00072c000, 0x2e, 0x3, 0x20000480, 0x0, 0x4, 0x1, 0x1, 0x1, 0x1) pkg/sentry/kernel/task_syscall.go:239 +0x66 fp=0xc000919ce0 sp=0xc000919c58 pc=0x9cd306 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00072c000, 0x2e, 0x3, 0x20000480, 0x0, 0x4, 0x1, 0x1, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:199 +0x98 fp=0xc000919d40 sp=0xc000919ce0 pc=0x9cceb8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00072c000, 0x2, 0xc00072c000) pkg/sentry/kernel/task_syscall.go:174 +0x15c fp=0xc000919e10 sp=0xc000919d40 pc=0x9cc85c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00072c000, 0x12de600, 0x0) pkg/sentry/kernel/task_run.go:282 +0xc45 fp=0xc000919f60 sp=0xc000919e10 pc=0x9c0ca5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00072c000, 0x18) pkg/sentry/kernel/task_run.go:97 +0x1af fp=0xc000919fd0 sp=0xc000919f60 pc=0x9bf96f runtime.goexit() src/runtime/asm_amd64.s:1374 +0x1 fp=0xc000919fd8 sp=0xc000919fd0 pc=0x4705a1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:323 +0xfe