panic: nested locking: stack.bridgeRWMutex: goroutine 6494 [running]: gvisor.dev/gvisor/pkg/tcpip/stack.(*bridgeRWMutex).Lock(0xc0008c54f0) bazel-out/aarch64-fastbuild/bin/pkg/tcpip/stack/bridge_mutex.go:31 +0x40 gvisor.dev/gvisor/pkg/tcpip/stack.(*BridgeEndpoint).Attach(0xc0008c54f0, {0x1cd2760, 0xc005952740}) pkg/tcpip/stack/bridge.go:194 +0x40 gvisor.dev/gvisor/pkg/tcpip/stack.(*BridgeEndpoint).AddNIC(0xc0008c54f0, 0xc0074a0488) pkg/tcpip/stack/bridge.go:131 +0x134 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).SetNICCoordinator(0xc0078b6008, 0x3, 0x3) pkg/tcpip/stack/stack.go:1061 +0x20c gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*Stack).setLink(0xc007b022f0, {0x1ce9208, 0xc004a26008}, 0x3, 0xc00073cba0) pkg/sentry/socket/netstack/stack.go:212 +0x4e8 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*Stack).SetInterface(0xc007b022f0, {0x1ce9208, 0xc004a26008}, 0xc00073cb40) pkg/sentry/socket/netstack/stack.go:176 +0x574 gvisor.dev/gvisor/pkg/sentry/socket/netlink/route.(*Protocol).newLink(0x1ce9208?, {0x1ce9208, 0xc004a26008}, 0xc004a88700, 0xc00073cb40, 0x30?) pkg/sentry/socket/netlink/route/protocol.go:173 +0x80 gvisor.dev/gvisor/pkg/sentry/socket/netlink/route.(*Protocol).ProcessMessage(0x389dfa0, {0x1ce9208, 0xc004a26008}, 0xc004a88700, 0xc00073cb40, 0xc00073cb70) pkg/sentry/socket/netlink/route/protocol.go:626 +0x220 gvisor.dev/gvisor/pkg/sentry/socket/netlink.(*Socket).processMessages(0xc004a88700, {0x1ce9208, 0xc004a26008}, {0xc007504540, 0x28, 0x28}) pkg/sentry/socket/netlink/socket.go:758 +0x180 gvisor.dev/gvisor/pkg/sentry/socket/netlink.(*Socket).sendMsg(0xc004a88700, {0x1ce9208, 0xc004a26008}, {{0x1ce1040, 0xc005d3d008}, {0x0, 0x1, 0x20000000, 0x28}, {_, ...}}, ...) pkg/sentry/socket/netlink/socket.go:818 +0x2a8 gvisor.dev/gvisor/pkg/sentry/socket/netlink.(*Socket).SendMsg(0xc004a88700, 0xc004a26008, {{0x1ce1040, 0xc005d3d008}, {0x0, 0x1, 0x20000000, 0x28}, {0x0, 0x1}}, ...) pkg/sentry/socket/netlink/socket.go:827 +0xf4 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.sendSingleMsg(0xc004a26008, {0xffff3cd5ea30, 0xc004a88700}, 0xc004a88700, 0x200006c0, 0x0) pkg/sentry/syscalls/linux/sys_socket.go:1111 +0x45c gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SendMsg(0xc004a26008, 0xc00005b908?, {{0x4}, {0x200006c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_socket.go:985 +0x2a4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc004a26008, 0xd3, {{0x4}, {0x200006c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:143 +0x6c0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc004a26008, 0xd3, {{0x4}, {0x200006c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:323 +0x50 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc004a26008, 0xd3, {{0x4}, {0x200006c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:283 +0x78 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc004a26008) pkg/sentry/kernel/task_syscall.go:258 +0x3c0 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc004a26008?, 0xc004a26008) pkg/sentry/kernel/task_run.go:270 +0x15f0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc004a26008, 0x793) pkg/sentry/kernel/task_run.go:98 +0x340 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 6507 pkg/sentry/kernel/task_start.go:400 +0x13c