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
F168184950: D26093.id75946.diff
Wed, Aug 26, 6:43 PM
Unknown Object (File)
Wed, Aug 26, 10:02 AM
Unknown Object (File)
Tue, Aug 18, 5:10 PM
Unknown Object (File)
Wed, Aug 12, 4:05 PM
Unknown Object (File)
Wed, Aug 12, 4:04 PM
Unknown Object (File)
Jul 23 2026, 10:11 PM
Unknown Object (File)
Jul 19 2026, 3:20 PM
Unknown Object (File)
Jul 10 2026, 9:30 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