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)
Sun, Dec 29, 3:19 AM
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
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