Page MenuHomeFreeBSD

Allow only IPv4 addresses in sendto() for TCP on AF_INET sockets
ClosedPublic

Authored by tuexen on May 13 2020, 10:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 30, 3:13 PM
Unknown Object (File)
Jan 10 2024, 12:32 PM
Unknown Object (File)
Dec 23 2023, 12:16 AM
Unknown Object (File)
Sep 6 2023, 5:32 AM
Unknown Object (File)
Sep 6 2023, 5:31 AM
Unknown Object (File)
Sep 6 2023, 5:31 AM
Unknown Object (File)
Sep 3 2023, 6:52 PM
Unknown Object (File)
Sep 1 2023, 4:35 AM
Subscribers

Details

Summary

Without this patch IPv4-mapped IPv6 addresses would be accepted in sendto() on a TCP socket created for AF_INET.

This problem was found by looking at syzkaller reproducers for some other problems.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 31069