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

Vulnerability · Reported by NVD · · CWE-416

Severity
Medium Risk score 59/100
CVSS
5.9 v3.1 · from NVD
Exploit chance (EPSS)
– Not available yet
Known exploited
No Not in CISA KEV

Summary

net_if_try_send_data() in subsys/net/ip/net_if.c reads net_pkt_family(pkt) a second time after calling net_ipv6_prepare_for_send(). When that function returns NET_CONTINUE it has already handed the packet off: IPv6 fragmentation (CONFIG_NET_IPV6_FRAGMENT) 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 net_pkt 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 NET_AF_INET. net_ipv4_prepare_for_send() then runs on a packet the caller does not own, replaces the NET_CONTINUE verdict with NET_OK, and net_if_try_queue_tx() 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 answer

How this vulnerability can be exploited

This is a use-after-free flaw (CWE-416). An attacker can exploit this vulnerability from an adjacent network, without any login, and without any action from a user. Attack complexity is high, meaning specific conditions must exist first. If successful, the attacker could crash or disrupt the service.

Is it being exploited?

There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.

Patch priority and what to do

Patch during routine updates. Lower severity, but keep it on your list. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Review logs for signs of exploitation since the publication date.

CVSS vector

CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

See what each part means in the official CVSS calculator ↗

Tags

CVE-2026-104379

Sources & references

How this data is collected: methodology & sources.

Run this software? Get free alerts for new vulnerabilities →

Need to block attackers? Free hourly IOC blocklists (IPs, domains, URLs, hashes) →

Open the live threat dashboard →

Subscribe via RSS.