Descrizione
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.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.1.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
2.6.24.1precedenti alla5.10.261→ aggiornare alla5.10.261o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.11precedenti alla5.15.212→ aggiornare alla5.15.212o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.16precedenti alla6.1.178→ aggiornare alla6.1.178o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.145→ aggiornare alla6.6.145o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.96→ aggiornare alla6.12.96o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.39→ aggiornare alla6.18.39o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.1.4→ aggiornare alla7.1.4o successiva. - Linux Linux Kernel: vulnerabile la versione
2.6.24→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
2.6.24 rc4→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
2.6.24 rc5→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
2.6.24 rc6→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
2.6.24 rc7→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
2.6.24 rc8→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/27ddf4486c7dbf5bdd393fa8bef…
- Patch: git.kernel.org/stable/c/782708ca1ea1f68b8cbb5ea3a7f…
- Patch: git.kernel.org/stable/c/99206ce2244f8a3ed64298d0667…
- Patch: git.kernel.org/stable/c/a094ac95d3b69adfa1676eb9c8e…
- Patch: git.kernel.org/stable/c/bbae351c0f32f7c200249e4aa65…
- Patch: git.kernel.org/stable/c/e81f805824a8109504fce090641…
- Patch: git.kernel.org/stable/c/efb8763d7bbb40cff4cc55a6b62…
- Patch: git.kernel.org/stable/c/f0d88a4cd03affff6c08adf6c63…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Linux | Linux Kernel | ≥ 2.6.24.1 < 5.10.261 | 5.10.261 |
| Linux | Linux Kernel | ≥ 5.11 < 5.15.212 | 5.15.212 |
| Linux | Linux Kernel | ≥ 5.16 < 6.1.178 | 6.1.178 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.145 | 6.6.145 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.96 | 6.12.96 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.39 | 6.18.39 |
| Linux | Linux Kernel | ≥ 6.19 < 7.1.4 | 7.1.4 |
| Linux | Linux Kernel | 2.6.24 | — |
| Linux | Linux Kernel | 2.6.24 rc4 | — |
| Linux | Linux Kernel | 2.6.24 rc5 | — |
| Linux | Linux Kernel | 2.6.24 rc6 | — |
| Linux | Linux Kernel | 2.6.24 rc7 | — |
| Linux | Linux Kernel | 2.6.24 rc8 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/27ddf4486c7dbf5bdd393fa8bef6b67179796d98
- Patchhttps://git.kernel.org/stable/c/782708ca1ea1f68b8cbb5ea3a7f5f18d0000efae
- Patchhttps://git.kernel.org/stable/c/99206ce2244f8a3ed64298d0667c9055845a5dc7
- Patchhttps://git.kernel.org/stable/c/a094ac95d3b69adfa1676eb9c8eae6835d4f1671
- Patchhttps://git.kernel.org/stable/c/bbae351c0f32f7c200249e4aa6561b2b419dcf69
- Patchhttps://git.kernel.org/stable/c/e81f805824a8109504fce090641b17d135b48cd1
- Patchhttps://git.kernel.org/stable/c/efb8763d7bbb40cff4cc55a6b62c3095a038149c
- Patchhttps://git.kernel.org/stable/c/f0d88a4cd03affff6c08adf6c63964e235aede43
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-019113.html
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-457936.html