9.8critical
ip6_tunnel: clear skb2->cb[] in ip6ip6_err()
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.54% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ip6_tunnel: clear skb2->cb[] in ip6ip6_err() ip6ip6_err() clones an outer IPv6 ICMP error skb, pulls it to the quoted inner IPv6 packet, and then passes the clone to icmpv6_send(). The clone still carries the outer packet's inet6_skb_parm in skb->cb. If the outer packet had a Home Address Option, IP6CB(skb2)->dsthao remains non-zero after skb_pull(). icmpv6_send() later calls mip6_addr_swap(), which uses that stale dsthao offset against the quoted inner packet. A malformed inner destination-options header can then make the HAO lookup and address swap run past the end of the quoted packet and corrupt skb_shared_info. Clear skb2->cb[] before pulling the quoted inner IPv6 packet so the reply path does not reuse metadata left by the outer IPv6 stack.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e490d1d85cf5e191791979e5f260d32eb4f703a8 before 44fe898df302e91c5ee5acbc71ffa74e78e6c183, from e490d1d85cf5e191791979e5f260d32eb4f703a8 before 0dadb0620ab65949a8bc2439dd28ea3c942fe87d, from e490d1d85cf5e191791979e5f260d32eb4f703a8 before b6816536a2990c0db44a26130a03e40b441e829b, from e490d1d85cf5e191791979e5f260d32eb4f703a8 before 64e41736a26f37ab6215bc2e6df125df05aceb08, from e490d1d85cf5e191791979e5f260d32eb4f703a8 before 484134e1eb07d700a73b1e4bbf3fb503e299be60, from e490d1d85cf5e191791979e5f260d32eb4f703a8 before 4eb15c465337b18f44716c499cd6ad63eee0ad54, from e490d1d85cf5e191791979e5f260d32eb4f703a8 before fbf40faa0414b753212494ad197542002e66ed9e, from e490d1d85cf5e191791979e5f260d32eb4f703a8 before f803c086399da277b5d0ff36a107d0f162751800 and 1 more Not affected: before 2.6.22, from 5.10.265 up to 5.10.*, from 5.15.216 up to 5.15.*, from 6.1.183 up to 6.1.*, from 6.6.152 up to 6.6.*, from 6.12.104 up to 6.12.* | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: ip6_tunnel: clear skb2->cb[] in ip6ip6_err() ip6ip6_err() clones an outer IPv6 ICMP error skb, pulls it to the quoted inner IPv6 packet, and then passes the clone to icmpv6_send(). The clone still carries the outer packet's inet6_skb_parm in skb->cb. If the outer packet had a Home Address Option, IP6CB(skb2)->dsthao remains non-zero after skb_pull(). icmpv6_send() later calls mip6_addr_swap(), which uses that stale dsthao offset against the quoted inner packet. A malformed inner destination-options header can then make the HAO lookup and address swap run past the end of the quoted packet and corrupt skb_shared_info. Clear skb2->cb[] before pulling the quoted inner IPv6 packet so the reply path does not reuse metadata left by the outer IPv6 stack.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ip6_tunnel: limpiar skb2 -> cb[] en ip6ip6_err() ip6ip6_err() clona un skb de error ICMP IPv6 externo, lo extrae al paquete IPv6 interno citado y luego pasa el clon a icmpv6_send(). El clon todavía lleva el inet6_skb_parm del paquete externo en skb -> cb. Si el paquete externo tenía una Opción de Dirección de Origen (Home Address Option), IP6CB(skb2) -> dsthao permanece distinto de cero después de skb_pull(). icmpv6_send() más tarde llama a mip6_addr_swap(), que utiliza ese desplazamiento dsthao obsoleto contra el paquete interno citado. Un encabezado de opciones de destino interno malformado puede entonces hacer que la búsqueda HAO y el intercambio de direcciones se ejecuten más allá del final del paquete citado y corrompan skb_shared_info. Limpiar skb2 -> cb[] antes de extraer el paquete IPv6 interno citado para que la ruta de respuesta no reutilice los metadatos dejados por la pila IPv6 externa.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74597 changed 2026-10-16 | CVE Terms of Use |
| NVD | CVE-2026-74597 changed 2026-10-16 | Public domain |