Description
In the Linux kernel, the following vulnerability has been resolved:

ipv6: fix use-after-free in ip6_finish_output2()

ip6_finish_output2() caches a pointer to the IPv6 destination
address (daddr) before invoking lwtunnel_xmit(). The LWT-BPF
transmit path or other encapsulation operations within
lwtunnel_xmit() can reallocate the skb head, freeing the memory
that daddr points to. When lwtunnel_xmit() returns
LWTUNNEL_XMIT_CONTINUE, the function continues to use the stale
daddr pointer to compute the nexthop and to look up or create the
neighbour entry. This results in a use-after-free read, which can
leak sensitive kernel data, pollute the neighbour table with
arbitrary values, misdirect traffic, or crash the system.

Fix this by re-fetching the IPv6 header and the destination
address pointer after lwtunnel_xmit() returns
LWTUNNEL_XMIT_CONTINUE, ensuring that the subsequent nexthop
computation and neighbour lookup operate on valid memory.
Published: 2026-09-04
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s IPv6 output path contains a use‑after‑free bug. ip6_finish_output2() stores a pointer to the destination address (daddr) before calling lwtunnel_xmit(). In some LWT‑BPF or other encapsulation code paths, lwtunnel_xmit() can reallocate the socket buffer head, freeing the memory that daddr references. After the call returns with LWTUNNEL_XMIT_CONTINUE, ip6_finish_output2() continues to use the stale daddr pointer to compute the next hop, update the neighbour cache, and perform lookups. This stale pointer can be read, allowing an attacker to read arbitrary kernel memory, corrupt the neighbour table with arbitrary values, misdirect traffic, or trigger a kernel panic.

Affected Systems

All Linux kernel builds are potentially impacted because the affected code exists in the mainline kernel. No specific distribution or version numbers are listed, so any machine running a Linux kernel prior to the patch that implements this fix is at risk.

Risk and Exploitability

Although the CVE does not supply a CVSS or EPSS score, the bug involves kernel memory corruption that could be triggered by network traffic containing specially crafted IPv6 packets. If an attacker can send such packets to a vulnerable host, they could cause a read of sensitive memory, corrupt the neighbour cache, or crash the system. No known public exploits are listed and the vulnerability is not in the CISA KEV catalog, indicating that exploitation may not yet be widespread but remains possible.

Generated by OpenCVE AI on September 4, 2026 at 17:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update your kernel to a release that includes the fix for CVE-2026-80792.
  • If a kernel upgrade is not immediately possible, disable or remove any LWT‑BPF or tunnel features that may invoke lwtunnel_xmit() in IPv6 traffic handling.
  • After applying the fix or disabling the feature, reboot the host to unload any stale kernel structures.

Generated by OpenCVE AI on September 4, 2026 at 17:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 04 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ipv6: fix use-after-free in ip6_finish_output2() ip6_finish_output2() caches a pointer to the IPv6 destination address (daddr) before invoking lwtunnel_xmit(). The LWT-BPF transmit path or other encapsulation operations within lwtunnel_xmit() can reallocate the skb head, freeing the memory that daddr points to. When lwtunnel_xmit() returns LWTUNNEL_XMIT_CONTINUE, the function continues to use the stale daddr pointer to compute the nexthop and to look up or create the neighbour entry. This results in a use-after-free read, which can leak sensitive kernel data, pollute the neighbour table with arbitrary values, misdirect traffic, or crash the system. Fix this by re-fetching the IPv6 header and the destination address pointer after lwtunnel_xmit() returns LWTUNNEL_XMIT_CONTINUE, ensuring that the subsequent nexthop computation and neighbour lookup operate on valid memory.
Title ipv6: fix use-after-free in ip6_finish_output2()
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-09-04T15:13:04.537Z

Reserved: 2026-08-26T14:34:25.793Z

Link: CVE-2026-80792

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T16:18:05.460

Modified: 2026-09-04T16:18:05.460

Link: CVE-2026-80792

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T18:45:02Z

Weaknesses