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
Unknown Object (File)
Mon, Apr 27, 5:14 AM
Unknown Object (File)
Fri, Apr 24, 1:13 PM
Unknown Object (File)
Apr 22 2026, 11:04 PM
Unknown Object (File)
Apr 19 2026, 3:53 PM
Unknown Object (File)
Apr 13 2026, 3:45 PM
Unknown Object (File)
Mar 14 2026, 4:29 PM
Unknown Object (File)
Mar 11 2026, 4:17 PM
Unknown Object (File)
Mar 11 2026, 12:31 PM
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