Descrizione
In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: ADD_ADDR rtx: free sk if last When an ADD_ADDR is retransmitted, the sk is held in sk_reset_timer(), and released at the end. If at that moment, it was the last reference being held, the sk would not be freed. sock_put() should then be called instead of __sock_put(). But that's not enough: if it is the last reference, sock_put() will call sk_free(), which will end up calling sk_stop_timer_sync() on the same timer, and waiting indefinitely to finish. So it is needed to mark that the timer is done at the end of the timer handler when it has not been rescheduled, not to call sk_stop_timer_sync() on "itself".
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
5.10precedenti alla6.6.142→ aggiornare alla6.6.142o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.92→ aggiornare alla6.12.92o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.30→ aggiornare alla6.18.30o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.0.7→ aggiornare alla7.0.7o successiva. - Linux Linux Kernel: vulnerabile la versione
7.1 rc1→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc2→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/531c537b8fb620beabccfb1594e…
- Patch: git.kernel.org/stable/c/6a3af482188f6db4186d1605f64…
- Patch: git.kernel.org/stable/c/8143a224785ceaf2b0856e08d44…
- Patch: git.kernel.org/stable/c/b74ad20198652b6b39a761c277b…
- Patch: git.kernel.org/stable/c/b7b9a461569734d33d3259d58d2…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
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 | ≥ 5.10 < 6.6.142 | 6.6.142 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.92 | 6.12.92 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.30 | 6.18.30 |
| Linux | Linux Kernel | ≥ 6.19 < 7.0.7 | 7.0.7 |
| Linux | Linux Kernel | 7.1 rc1 | — |
| Linux | Linux Kernel | 7.1 rc2 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/531c537b8fb620beabccfb1594e8d43cbebbb87a
- Patchhttps://git.kernel.org/stable/c/6a3af482188f6db4186d1605f64d911d7330abb3
- Patchhttps://git.kernel.org/stable/c/8143a224785ceaf2b0856e08d4498916f38228fb
- Patchhttps://git.kernel.org/stable/c/b74ad20198652b6b39a761c277ba65ae82b1e107
- Patchhttps://git.kernel.org/stable/c/b7b9a461569734d33d3259d58d2507adfac107ed
- Riferimentohttps://git.kernel.org/stable/c/1f26487e83e69462540bb1047139472957c913c6
- Riferimentohttps://git.kernel.org/stable/c/5da972efed3dc7599da6e2b5e8d906d1b7b1a728
- Riferimentohttps://git.kernel.org/stable/c/aa8cabde7e83bf96269ee47427dc9b59e3ed8e60