[Bug 299417] rpcbind: Ignore a wildcard callee address in mergeaddr()

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 15 Oct 2026 21:34:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299417

            Bug ID: 299417
           Summary: rpcbind: Ignore a wildcard callee address in
                    mergeaddr()
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: olivier@freebsd.org

Created attachment 275732
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=275732&action=edit
patch

A datagram transport bound to the wildcard address reports it as
xp_ltaddr, so since 9f48eea36607 addrmerge() gets 0.0.0.0 or :: as its
hint, matches no interface and returns the first usable one.  IPv6
GETADDR clients on any other interface get an unreachable address and
NFS mounts over IPv6 time out.

Fall back to the client supplied or caller address in that case, as before
9f48eea36607.

Fixes:          9f48eea36607 ("rpcbind: get contact addr from xprt members")

-- 
You are receiving this mail because:
You are the assignee for the bug.