tcp: fix reordering addition overflow in MTU probing

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linuxf0d88a4cd03affff6c08adf6c63964e235aede43 to before 07ab5f9fed289aa46419fe00831f14b96114dcf7 Affected27ddf4486c7dbf5bdd393fa8bef6b67179796d98 to before d4fb5dd7fd9d6ed8e78892ae75dc5a6689ff8dd4 Affected782708ca1ea1f68b8cbb5ea3a7f5f18d0000efae to before 3dbd562d2821eb38c98c097e1f728b39a5e81291 Affectede81f805824a8109504fce090641b17d135b48cd1 to before a5613e956e032f8babfecd736740c8ad38ba1c06 Affected99206ce2244f8a3ed64298d0667c9055845a5dc7 to before 064d2878185f9f4e86c59baa98f14281a78ea1fd Affectedbbae351c0f32f7c200249e4aa6561b2b419dcf69 to before 464df36ba29d68bfab38d19c18127fdcebeb5a3f Affectedefb8763d7bbb40cff4cc55a6b62c3095a038149c to before 7653d28a1b7d93d886906c6c088de5d77a788031 Affectedefb8763d7bbb40cff4cc55a6b62c3095a038149c to before c1df9c0c0536393de43310f84ca4f8b217271a00 Affecteda094ac95d3b69adfa1676eb9c8eae6835d4f1671 Affected5.10.261 to before 5.10.275 Affected5.15.212 to before 5.15.226 Affected6.1.178 to before 6.1.193 Affected6.6.145 to before 6.6.163 Affected6.12.96 to before 6.12.117 Affected6.18.39 to before 6.18.63 Affected7.1.4 to before 7.2 Affected
Linux Linux7.2 Affectedbefore 7.2 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.