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.
Published: 2026-08-22
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An IPv6 tunnel bug in the Linux kernel allows a malicious actor to craft a malformed inner packet that triggers an out‑of‑bounds write during the handling of a quoted ICMP error message. The cloned outer packet retains the Home Address Option offset in the skb's control buffer, which is then incorrectly applied to the quoted inner packet. This causes the address swap routine to read past the end of the inner packet, corrupting the skb_shared_info structure. The memory corruption can be abused for arbitrary code execution, as the kernel writes beyond the bounds of a heap object (CWE-787).

Affected Systems

All Linux kernel implementations that include the ip6_tunnel module and do not apply the fix that resets skb->cb before pulling the quoted packet are affected. The advisory references several kernel commits containing the patch; users running older stable or custom kernels lacking these commits are vulnerable. No specific version numbers are listed, so kernel maintainers should consult the commit identifiers in the provided links.

Risk and Exploitability

Although no CVSS score or EPSS is available, the kernel‑level nature of the flaw and the ability to trigger it via crafted IPv6 ICMP error traffic indicate a high risk of remote exploitation. The bug can be triggered over a network interface without local privilege, making it a serious threat even though it is not yet listed in CISA KEV. Depending on network exposure, attackers could leverage the memory corruption to execute code with kernel privileges.

Generated by OpenCVE AI on August 22, 2026 at 17:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch from commit 0dadb0620ab65949a8bc2439dd28ea3c942fe87d and rebuild the kernel to include the clearing of skb->cb before pulling the inner packet.
  • Block or filter suspicious IPv6 ICMP error packets at the firewall to prevent malicious traffic from reaching the system.
  • If the ip6_tunnel functionality is not required, disable the ip6_tunnel module to eliminate the attack surface.

Generated by OpenCVE AI on August 22, 2026 at 17:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787

Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title ip6_tunnel: clear skb2->cb[] in ip6ip6_err()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-22T15:31:47.120Z

Reserved: 2026-08-15T05:44:03.919Z

Link: CVE-2026-74597

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:32.040

Modified: 2026-08-22T16:16:32.040

Link: CVE-2026-74597

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T17:30:02Z

Weaknesses