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)
Sep 23 2024, 7:15 PM
Unknown Object (File)
Sep 23 2024, 8:22 AM
Unknown Object (File)
Sep 22 2024, 10:43 PM
Unknown Object (File)
Sep 16 2024, 4:24 PM
Unknown Object (File)
Sep 9 2024, 7:33 AM
Unknown Object (File)
Sep 8 2024, 9:56 PM
Unknown Object (File)
Sep 8 2024, 5:27 PM
Unknown Object (File)
Sep 7 2024, 7:12 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 Not Applicable
Unit
Tests Not Applicable