Descrizione
In the Linux kernel, the following vulnerability has been resolved: ipvs: do not keep dest_dst if dev is going down There is race between the netdev notifier ip_vs_dst_event() and the code that caches dst with dev that is going down. As the FIB can be notified for the closed device after our handler finishes, it is possible valid route to be returned and cached resuling in a leaked dev reference until the dest is not removed. To prevent new dest_dst to be attached to dest just after the handler dropped the old one, add a netif_running() check to make sure the notifier handler is not currently running for device that is closing.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
2.6.39.1precedenti alla6.12.75→ aggiornare alla6.12.75o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.14→ aggiornare alla6.18.14o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla6.19.4→ aggiornare alla6.19.4o successiva. - Linux Linux Kernel: vulnerabile la versione
2.6.39→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/024eb0bd19f507e6e7f0c7a7e55…
- Patch: git.kernel.org/stable/c/64af43033503458c46023e56d6a…
- Patch: git.kernel.org/stable/c/8fde939b0206afc1d5846217a01…
- Patch: git.kernel.org/stable/c/bae53b3baf2ff2f45f9205c4388…
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 | ≥ 2.6.39.1 < 6.12.75 | 6.12.75 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.14 | 6.18.14 |
| Linux | Linux Kernel | ≥ 6.19 < 6.19.4 | 6.19.4 |
| Linux | Linux Kernel | 2.6.39 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/024eb0bd19f507e6e7f0c7a7e5506d66b5dc1d3e
- Patchhttps://git.kernel.org/stable/c/64af43033503458c46023e56d6ae7bb0f824b55f
- Patchhttps://git.kernel.org/stable/c/8fde939b0206afc1d5846217a01a16b9bc8c7896
- Patchhttps://git.kernel.org/stable/c/bae53b3baf2ff2f45f9205c438818fc055601a54
- Riferimentohttps://git.kernel.org/stable/c/0b60fb44247eab81e7a9490c38ca62c7120eec75
- Riferimentohttps://git.kernel.org/stable/c/11d35b11013442576f35fd9e8a8fc16155101906