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.
https://git.kernel.org/stable/c/d4fb5dd7fd9d6ed8e78892ae75dc5a6689ff8dd4
https://git.kernel.org/stable/c/c1df9c0c0536393de43310f84ca4f8b217271a00
https://git.kernel.org/stable/c/a5613e956e032f8babfecd736740c8ad38ba1c06
https://git.kernel.org/stable/c/7653d28a1b7d93d886906c6c088de5d77a788031
https://git.kernel.org/stable/c/464df36ba29d68bfab38d19c18127fdcebeb5a3f
https://git.kernel.org/stable/c/3dbd562d2821eb38c98c097e1f728b39a5e81291
https://git.kernel.org/stable/c/07ab5f9fed289aa46419fe00831f14b96114dcf7
https://git.kernel.org/stable/c/064d2878185f9f4e86c59baa98f14281a78ea1fd