CVE-2026-64422

net: ipv4: bound TCP reordering sysctl writes and MTU probe sizes

State
Published
Severity
7.1 High
Published
Jul 25, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

net: ipv4: bound TCP reordering sysctl writes and MTU probe sizes

Reject invalid `net.ipv4.tcp_reordering` values before they reach TCP socket state. The sysctl is stored as an `int` but copied into the `u32` `tp->reordering` field for new sockets, so negative writes wrap to large values.

With `tcp_mtu_probing=2`, the wrapped value can overflow the `tcp_mtu_probe()` size calculation and drive the MTU probing path into an out-of-bounds read. Route `tcp_reordering` writes through `proc_dointvec_minmax()` and require it to be at least 1. Also require `tcp_max_reordering` to be at least 1 so the configured maximum cannot become negative either.

When registering the table for a non-init network namespace, relocate `extra2` pointers that refer into `init_net.ipv4` so the `tcp_reordering` upper bound follows that namespace's `tcp_max_reordering`.

Harden `tcp_mtu_probe()` itself by computing `size_needed` as `u64`. This keeps the send queue and window checks from being bypassed through signed integer overflow.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
LinuxLinux
  • 91cc17c0e5e5ada156a8d5787a2509d263ea6bbf to before f0d88a4cd03affff6c08adf6c63964e235aede43Affected
  • 91cc17c0e5e5ada156a8d5787a2509d263ea6bbf to before 27ddf4486c7dbf5bdd393fa8bef6b67179796d98Affected
  • 91cc17c0e5e5ada156a8d5787a2509d263ea6bbf to before 782708ca1ea1f68b8cbb5ea3a7f5f18d0000efaeAffected
  • 91cc17c0e5e5ada156a8d5787a2509d263ea6bbf to before e81f805824a8109504fce090641b17d135b48cd1Affected
  • 91cc17c0e5e5ada156a8d5787a2509d263ea6bbf to before 99206ce2244f8a3ed64298d0667c9055845a5dc7Affected
  • 91cc17c0e5e5ada156a8d5787a2509d263ea6bbf to before bbae351c0f32f7c200249e4aa6561b2b419dcf69Affected
  • 91cc17c0e5e5ada156a8d5787a2509d263ea6bbf to before a094ac95d3b69adfa1676eb9c8eae6835d4f1671Affected
  • 91cc17c0e5e5ada156a8d5787a2509d263ea6bbf to before efb8763d7bbb40cff4cc55a6b62c3095a038149cAffected
LinuxLinux
  • 2.6.24Affected
  • before 2.6.24Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.96 through 6.12.*Not affected
  • 6.18.39 through 6.18.*Not affected
  • 7.1.4 through 7.1.*Not affected
  • 7.2 and laterNot affected

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.