SO_REUSEPORT_LB breaks connect(2) for UDP sockets
Vulnerability Description
Software which sets SO_REUSEPORT_LB on a socket and then connects it to a host will not directly observe any problems. However, due to its membership in a load-balancing group, that socket will receive packets originating from any host. This breaks the contract of the connect(2) and implied connect via sendto(2), and may leave the application vulnerable to spoofing attacks. The kernel failed to check the connection state of sockets when adding them to load-balancing groups. Furthermore, when looking up the destination socket for an incoming packet, the kernel will match a socket belonging to a load-balancing group even if it is connected, in violation of the contract that connected sockets are only supposed to receive packets originating from the connected host.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-24934
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- MSc. student Omer Ben Simhon from the Hebrew University School of Computer Science and Engineering
- Prof. Amit Klein from the Hebrew University School of Computer Science and Engineering
References
More from FreeBSD
View All →Affected Vendor
FreeBSD
View all reports →Affected Software
Timeline
CVSS Vectors
Weaknesses (CWE)
MITRE ATT&CK TTPs
No associated TTPs found for this vulnerability.