Read the docs

Use-after-free of IPv6 packet in Zephyr net_if_try_send_data

Priority LOW 26CWE-416Published · Updated

Key facts

Attack vector
Adjacent network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · Low · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

Zephyr from 3.3.0 before 4.3.2 and from 4.4.0 before 4.5.0 is affected. In net_if_try_send_data(), the code reads the packet's address family again after the IPv6 send path has already handed the packet off, so it can use a freed packet (CWE-416). An adjacent attacker who answers Neighbor Solicitations while the device sends IPv4 traffic can cause a double free or use-after-free in the network stack, which typically crashes the device, though exploitation requires winning a race.

Written with Claude Haiku 5.5 from the sources below · 2026-11-29

Description from the CNA

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 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.

Why it matters now

EPSS 0.00284 13th percentileScored 2026-11-30
Fix Fixed zephyr (zephyrproject): 4.3.2, 4.5.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
zephyrprojectzephyr3.3.0 to before 4.3.2; 4.4.0 to before 4.5.04.3.2, 4.5.0Patch availableCNA
  • zephyr Vendorzephyrproject Affected 3.3.0 to before 4.3.2; 4.4.0 to before 4.5.0 Fixed in 4.3.2, 4.5.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*——zephyrproject
  • cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:* Versions — — ·zephyrproject

Remediation

The fixed versions are 4.3.2 and 4.5.0, so upgrade Zephyr to 4.3.2 or 4.5.0.

Written with Claude Haiku 5.5 from the sources below · 2026-11-29

  • Fix · CNA zephyr (zephyrproject) Fixed in 4.3.2, 4.5.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    zephyrproject zephyr 4.3.2, 4.5.0

    7 records Highest priority Priority LOW 7 LOW

    Other records, highest priority first

    • TI-2026-99578 Out-of-bounds write in Zephyr DesignWare I3C direct CCC handlingPriority LOW 37
    • TI-2026-99576 Use-after-free write in Zephyr kernel object core listPriority LOW 33
    • TI-2026-99574 Dangling stack pointer left as TCP receive callback after failed SOCKS5 connectPriority LOW 29

Timeline

  1. 2026-11-29 Threatist record created from CVE-2026-104379

References

  • TI-2026-04422 Out-of-bounds read/write in HTTP WebSocket upgrade via non-null-terminated Sec-WebSocket-Key CVSS 3.1CRITICAL 9.8
  • TI-2026-01361 dns: memory‑safety issue in the DNS name parser CVSS 3.1CRITICAL 9.8
  • TI-2026-09174 Unterminated URI buffer causes out-of-bounds read in LwM2M firmware pull (Package URI) CVSS 3.1CRITICAL 9.1
  • TI-2026-09168 Stack buffer overflow in `net_ipaddr_parse()` IPv4 address-with-port parsing in `subsys/net/ip/utils.c` CVSS 3.1CRITICAL 9.8
  • TI-2024-09625 net: lib: http_server: Buffer Under-read CVSS 3.1HIGH 8.6
  • TI-2021-02863 Usb bluetooth device ACL read cb buffer overflow CVSS 3.1CRITICAL 9.6
See all 399 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences