Receive loop can spin after a truncated datagram
Some targets read one datagram per recvmsg call instead of using recvmmsg: Apple platforms without the fast-apple-datapath feature, OpenBSD, NetBSD, Solaris and illumos, and from 0.6 also DragonFly BSD, Redox and GNU/Hurd. On these targets the receive loop set up its msghdr only once and looked at the MSG_TRUNC flag before checking whether recvmsg had failed. After a datagram larger than the receive buffer was dropped, a following EAGAIN still saw the old truncation flag. The loop then kept issuing non-blocking receives instead of returning WouldBlock.
Recorded fixes — quinn-udp: 0.5.16 or 0.6.3. Check your release branch.
Exploitation not established
| Affected range | Recorded fix |
|---|---|
| From 0.0.0-0 before 0.5.16Semantic versions | 0.5.16 |
| From 0.6.0 before 0.6.3Semantic versions | 0.6.3 |
Version evidence: OSV · RUSTSEC-2026-0538
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.5.16"
},
{
"introduced": "0.6.0"
},
{
"fixed": "0.6.3"
}
],
"type": "SEMVER"
}
],
"versions": []
}