CVE 5.4 MEDIUM

SO_REUSEPORT_LB breaks connect(2) for UDP sockets_CVE-2025-24934

5.4 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

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.

Basic Information

ID CVE-2025-24934
Source freebsd
Published Oct 22, 2025 at 17:43
Modified Oct 22, 2025 at 20:01

Affected Product

Vendor FreeBSD
Product FreeBSD
Version 15.0-BETA2
Affected Versions FreeBSD FreeBSD 15.0-BETA2
FreeBSD FreeBSD 14.3-RELEASE
FreeBSD FreeBSD 13.5-RELEASE

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.