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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"