LOR netlink lock, rm - so_rcv, sleep mutex

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Fri, 23 Jan 2026 17:55:08 UTC
netboot, NFS Root:

lock order reversal:
  1st 0xffff0000405f6448 netlink lock (netlink lock, rm) @ freebsd-src.git/sys/netlink/netlink_domain.c:219
eend 0xffff0001d3ae4220 so_rcv (so_rcv, sleep mutex) @ freebsd-src.git/sys/netlink/netlink_io.c:230
lock order netlink lock -> so_rcv attempted at:
#0 0xffff00000054a9b0 at witness_checkorder+0xad0
#1 0xffff0000004aa6b8 at __mtx_lock_flags+0x9c
#2 0xffff000000715a20 at nl_send+0xbc
#3 0xffff000000711b88 at nl_send_group+0x1b4
#4 0xffff000000715e54 at _nlmsg_flush+0x30
#5 0xffff0000007af5d4 at clnt_nl_call+0x288
#6 0xffff0000007b53b8 at clnt_call_private+0xc0
#7 0xffff0000007b6010 at rpcb_unset+0x70
#8 0xffff0000007ba3b0 at svc_tp_create+0xe8
#9 0xffff000000724978 at sys_nlm_syscall+0x354
#10 0xffff0000008bab1c at do_el0_sync+0x68c
#11 0xffff00000088d9ac at handle_el0_sync+0x4c


-- 
Bjoern A. Zeeb                                                     r15:7