r333744 changed the unix socket locking protocol so that the unp_conn field of a PCB is protected by the PCB lock rather than the linkage lock. But uipc_ready() still uses the old locking protocol.
A commit references this bug: Author: mmacy Date: Fri Jun 8 20:32:00 UTC 2018 New revision: 334855 URL: https://svnweb.freebsd.org/changeset/base/334855 Log: AF_UNIX: bring uipc_ready in compliance with new locking protocol PR: 228742 Submitted by: markj Reviewed by: markj Changes: head/sys/kern/uipc_usrreq.c