Descrizione
In the Linux kernel, the following vulnerability has been resolved: ipv6: xfrm6: release dst on error in xfrm6_rcv_encap() xfrm6_rcv_encap() performs an IPv6 route lookup when the skb does not already have a dst attached. ip6_route_input_lookup() returns a referenced dst entry even when the lookup resolves to an error route. If dst->error is set, xfrm6_rcv_encap() drops the skb without attaching the dst to the skb and without releasing the reference returned by the lookup. Repeated packets hitting this path therefore leak dst entries. Release the dst before jumping to the drop path.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
5.8precedenti alla5.10.258→ aggiornare alla5.10.258o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.11precedenti alla5.15.209→ aggiornare alla5.15.209o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.16precedenti alla6.1.175→ aggiornare alla6.1.175o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.140→ aggiornare alla6.6.140o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.88→ aggiornare alla6.12.88o 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/554c9b090c8ac5b1c5c507f4bad…
- Patch: git.kernel.org/stable/c/6a5eec0a2a0e99ec9743cf8f1c4…
- Patch: git.kernel.org/stable/c/870560015ce6e0d8f841c6a8aba…
- Patch: git.kernel.org/stable/c/9d5047782f9bd2829e529df6920…
- Patch: git.kernel.org/stable/c/a0721bcd72641c32b281f227a94…
- Patch: git.kernel.org/stable/c/a20b34f6e854fe6f2aa82528fae…
- Patch: git.kernel.org/stable/c/bc0fcb9823cd0894934cf968b52…
- Patch: git.kernel.org/stable/c/c2efc4956981066df2fef1cc773…
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.8 < 5.10.258 | 5.10.258 |
| Linux | Linux Kernel | ≥ 5.11 < 5.15.209 | 5.15.209 |
| Linux | Linux Kernel | ≥ 5.16 < 6.1.175 | 6.1.175 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.140 | 6.6.140 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.88 | 6.12.88 |
| 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/554c9b090c8ac5b1c5c507f4badf8d5d0c9c6e13
- Patchhttps://git.kernel.org/stable/c/6a5eec0a2a0e99ec9743cf8f1c4082178811d90a
- Patchhttps://git.kernel.org/stable/c/870560015ce6e0d8f841c6a8aba33c44be52c727
- Patchhttps://git.kernel.org/stable/c/9d5047782f9bd2829e529df69209bf3232eb561f
- Patchhttps://git.kernel.org/stable/c/a0721bcd72641c32b281f227a94505b31cf54117
- Patchhttps://git.kernel.org/stable/c/a20b34f6e854fe6f2aa82528fae7a88759919eb4
- Patchhttps://git.kernel.org/stable/c/bc0fcb9823cd0894934cf968b525c575833d7078
- Patchhttps://git.kernel.org/stable/c/c2efc4956981066df2fef1cc77391b523db6d8e4
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-019113.html
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-457936.html
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-784472.html