CVE-2026-80792: ipv6: fix use-after-free in ip6_finish_output2()

Published Sep 4, 2026
·
Updated

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

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

ip6finishoutput2() caches a pointer to the IPv6 destination address (daddr) before invoking lwtunnelxmit(). The LWT-BPF transmit path or other encapsulation operations within lwtunnelxmit() can reallocate the skb head, freeing the memory that daddr points to. When lwtunnelxmit() returns LWTUNNELXMITCONTINUE, 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 lwtunnelxmit() returns LWTUNNELXMITCONTINUE, ensuring that the subsequent nexthop computation and neighbour lookup operate on valid memory.

Affected Software

1 affected component
The Linux Kernel Linux kernel

Event History

Sep 4, 2026
CVE Published
via MITRE·03:13 PM
Data Sourced
via MITRE·03:13 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems are exposed when IPv6 traffic passes through an lwtunnel transmit path, such as LWT-BPF or another encapsulation operation, that can reallocate the skb head and then returns LWTUNNEL_XMIT_CONTINUE. The stale pointer is used afterward for nexthop computation and neighbour lookup.

2

What can happen if the vulnerable path is triggered?

The use-after-free read can leak sensitive kernel data, insert arbitrary values into the neighbour table, misdirect traffic, or crash the system.

3

What is the remediation?

Use a Linux kernel update containing the fix that re-fetches the IPv6 header and destination address after lwtunnel_xmit() returns LWTUNNEL_XMIT_CONTINUE. This ensures subsequent routing and neighbour operations use valid memory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203