CVE-2026-104379: Use-after-free of transmitted IPv6 packet in Zephyr net_if_try_send_data

Published Nov 29, 2026
·
Updated

netiftrysenddata() in subsys/net/ip/netif.c reads netpktfamily(pkt) a second time after calling netipv6prepareforsend(). When that function returns NETCONTINUE it has already handed the packet off: IPv6 fragmentation (CONFIGNETIPV6FRAGMENT) unreferences it before returning, and the neighbor discovery path queues it on the neighbor's pending queue, from where the RX thread may transmit and free it as soon as a Neighbor Advertisement arrives, or the NS error and timeout paths may free it.

If the freed netpkt is reallocated to an IPv4 or ARP packet before the sending thread resumes (the slab free list is LIFO, so the next TX allocation receives it), the stale pointer now reports NETAFINET. netipv4prepareforsend() then runs on a packet the caller does not own, replaces the NETCONTINUE verdict with NETOK, and netiftryqueuetx() queues the foreign packet for transmission a second time. The packet is then transmitted and unreferenced twice, or the TX thread dereferences an already released buffer.

On a dual-stack device an adjacent attacker can open this window by answering the device's Neighbor Solicitations while sending IPv4 traffic that makes the stack allocate TX packets, such as ICMPv4 echo requests. The result is a double free or use-after-free of network packet and buffer memory in the kernel network stack, which typically crashes the device. Exploiting it requires winning a race, and ordinary dual-stack traffic can also trigger it.

Affected Software

1 affected component
Zephyr Project Zephyr

Event History

Nov 29, 2026
CVE Published
via MITRE·08:56 PM
Data Sourced
via MITRE·08:56 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are most exposed to attacker-triggered exploitation?

Dual-stack devices are specifically described as exposed. The race involves an IPv6 packet being handed off through IPv6 fragmentation or neighbor discovery, followed by reuse of its freed packet buffer for IPv4 or ARP traffic.

2

What does an attacker need to do to trigger the race?

An adjacent attacker can answer the device's Neighbor Solicitations while also sending IPv4 traffic that causes the stack to allocate packets. This can cause the freed IPv6 packet object to be reused before the original sending thread resumes.

3

What is the likely operational impact if the race succeeds?

A packet can be queued and transmitted a second time, then unreferenced twice. The TX thread may also dereference an already released buffer, which can cause availability impact and unintended packet handling.

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