CVE-2026-139513: ipv4: reserve one IP ID per segment for UDP GSO packets
In the Linux kernel, the following vulnerability has been resolved:
ipv4: reserve one IP ID per segment for UDP GSO packets
ipmakeskb() reserves a single IP ID for UDP GSO packets, but GSO assigns one IP ID per segment. Following packets then reuse these IDs, either from inet->inetid or from the shared generator.
Unless IPPMTUDISCDO/PROBE is used, DF is not set on UDP GSO packets, so segments can be fragmented on the path and IP ID reuse can lead to incorrect reassembly.
Reserve one IP ID per segment, using the same test as udpsendskb().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1
Event History
Frequently Asked Questions
Which deployments are exposed to incorrect IP fragment reassembly?
Systems that send UDP GSO packets are affected when those packets can be fragmented in transit. The described IP ID reuse can cause incorrect reassembly of fragments from subsequent packets.
Does enabling PMTU discovery avoid the described condition?
The issue is described as occurring unless IP_PMTUDISC_DO or IP_PMTUDISC_PROBE is used. With either setting, DF is set on UDP GSO packets, preventing the path fragmentation condition described.
What can be checked while a fix is being deployed?
Identify applications that use UDP GSO and determine whether their sockets use IP_PMTUDISC_DO or IP_PMTUDISC_PROBE. Also assess whether their UDP traffic may encounter path fragmentation, since fragmentation is required for the incorrect reassembly outcome described.