Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Aug 2018 23:21:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230274] linuxulator and cloudabi don't handle multiple mbufs in a control message chain
Message-ID:  <bug-230274-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230274

            Bug ID: 230274
           Summary: linuxulator and cloudabi don't handle multiple mbufs
                    in a control message chain
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: markj@FreeBSD.org

cloudabi_sock_recv() and linux_recvmsg_common() use kern_recvit(), which may
return control messages in addition to data.  Suppose one uses sendmsg() to
transmit multiple SCM_RIGHTS messages in a single call.  When these messages
are externalized, the unix socket code will place them in separate mbufs which
get returned as a chain from kern_recvit().  From code inspection, some
consumers only handle the first mbuf in the chain, so control messages will be
dropped in some cases.

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230274-227>