Page MenuHomeFreeBSD

Fix handling of ancillary data on non-AF_UNIX Linux sockets.
ClosedPublic

Authored by markj on Aug 17 2020, 9:27 PM.
Tags
None
Referenced Files
F132873118: D26093.diff
Mon, Oct 20, 5:39 PM
Unknown Object (File)
Fri, Oct 17, 2:20 AM
Unknown Object (File)
Tue, Sep 30, 6:21 AM
Unknown Object (File)
Tue, Sep 30, 4:14 AM
Unknown Object (File)
Sep 19 2025, 8:51 AM
Unknown Object (File)
Sep 19 2025, 6:06 AM
Unknown Object (File)
Sep 17 2025, 10:48 PM
Unknown Object (File)
Jul 25 2025, 6:59 AM
Subscribers

Details

Summary

After r340674, the "continue" would restart the loop without having
updated clen, resulting in an infinite loop. Restore the old behaviour
of simply ignoring all control messages on such sockets, since we
currently only implement handling for AF_UNIX-specific messages.

Reported by: syzkaller

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable