FreeBSD
TCP: remotely exploitable DoS vector (mbuf leak)
When a challenge ACK is to be sent tcp_respond() constructs and sends the challenge ACK and consumes the mbuf that is passed in. When no challenge ACK should be sent the function returns and leaks the mbuf. If an attacker is either on path with an established TCP connection, or can themselves establish a TCP connection, to an affected FreeBSD machine, they can easily craft and send packets which meet the challenge ACK criteria and cause the FreeBSD host to leak an mbuf for each crafted packet in excess of the configured rate limit settings i.e. with default settings, crafted packets in excess of the first 5 sent within a 1s period will leak an mbuf. Technically, off-path attackers can also exploit this problem by guessing the IP addresses, TCP port numbers and in some cases the sequence numbers of established connections and spoofing packets towards a FreeBSD machine, but this is harder to do effectively.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 15.0-RELEASE, < p5
- >= 14.4-RELEASE, < p1
- >= 14.3-RELEASE, < p10
Fixed in p5, p1, p10
Mitigation
Upgrade FreeBSD to p5 or p1 or p10 or later.
References
- Vendor advisory security.freebsd.org/advisories/FreeBSD-SA-26:06.tcp.asc
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.