tcp: fix reordering addition overflow in MTU probing
- CVE-2026-99834
- GHSA-63cp-5q86-w8qp
- EUVD-2026-138466
Description
In the Linux kernel, the following vulnerability has been resolved: tcp: fix reordering addition overflow in MTU probing Commit efb8763d7bbb ("net: ipv4: bound TCP reordering sysctl writes and MTU probe sizes") widened size_needed and the MSS multiplication, but tp->reordering + 1 is still evaluated as u32. RTAX_REORDERING accepts an unrestricted u32, and tcp_init_metrics() can install U32_MAX. In that case the extra-data requirement becomes zero. A write queue with probe_size - 1 data bytes and a FIN satisfies the sequence-space check. The coalescing walk can pass the queue head to tcp_skb_can_collapse(), and tcp_clone_payload() can produce an skb whose advertised payload exceeds the data in its fragments. Local delivery followed by TCP_ZEROCOPY_RECEIVE can then walk beyond the fragment array. KASAN reports a slab-out-of-bounds read in can_map_frag(). Cast reordering before incrementing it so the arithmetic handles the entire u32 metric range. For U32_MAX, the required size exceeds the 32-bit queue and window limits, so the existing checks skip the probe. The calculation is unchanged for all other reordering values.
Text from the CVE.org record.
Recommendation
Linux
- If you run 6.18.xupdate to 6.18.63 or laterPatch update: breaking changes are unlikely
- If you run 6.12.xupdate to 6.12.117 or laterPatch update: breaking changes are unlikely
- If you run 6.6.xupdate to 6.6.163 or laterPatch update: breaking changes are unlikely
- If you run 6.1.xupdate to 6.1.193 or laterPatch update: breaking changes are unlikely
- If you run 5.15.xupdate to 5.15.226 or laterPatch update: breaking changes are unlikely
- If you run 5.10.xupdate to 5.10.275 or laterPatch update: breaking changes are unlikely
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 6.18.39 to before 6.18.63 6.18.63 from 6.12.96 to before 6.12.117 6.12.117 from 6.6.145 to before 6.6.163 6.6.163 from 6.1.178 to before 6.1.193 6.1.193 from 5.15.212 to before 5.15.226 5.15.226 from 5.10.261 to before 5.10.275 5.10.275 from 7.1.4 to before 7.2 none stated 7.2 none stated and 9 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.