Zephyr memory corruption and crash in IPv6 transmit path
Affects Zephyr 3.3.0 before 4.3.2 and 4.4.0 before 4.5.0 on dual-stack devices using IPv6 fragmentation or the neighbor discovery pending queue. Fixed in 4.3.2 and 4.5.0.
- Exploited
- No known exploitation
- Fix
- Fixed in 4.3.2, 4.5.0
- Who is exposed
- Not reported
Summary
Zephyr's network stack has a use-after-free bug in `net_if_try_send_data`, where a packet is read after it may already have been freed. This can cause a double free or use-after-free of network memory and typically crashes the device. An attacker on the same local network can trigger it, without logging in or any user action, on a dual-stack device by answering its Neighbor Solicitations while sending IPv4 traffic that makes the stack allocate transmit packets. Exploiting it requires winning a race.
Written by a model
Original description
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.
Who should check
Teams running Zephyr 3.3.0 up to 4.3.2 or 4.4.0 up to 4.5.0 on dual-stack IPv4/IPv6 devices with IPv6 fragmentation or neighbor discovery
“Release lines that have not yet taken the backport remain affected”
What to do
Upgrade to a fixed version: 4.3.2, 4.5.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-104379 (Use-after-free of transmitted IPv6 packet in Zephyr net_if_try_send_data), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-104379 (entry last updated 2026-11-29):
Affected:
- zephyrproject zephyr: from 3.3.0, fixed in 4.3.2; from 4.4.0, fixed in 4.5.0
Fixed versions: 4.3.2, 4.5.0.
Conditions (all must be true for the bug to be hit):
- Zephyr release lines >= 3.3.0 before 4.3.2, and >= 4.4.0 before 4.5.0, that have not taken the fix (source: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-h75p-j842-39jq)
- Device runs both IPv4 and IPv6 (dual-stack) (source: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-h75p-j842-39jq)
- IPv6 fragmentation (CONFIG_NET_IPV6_FRAGMENT) or the IPv6 neighbor discovery pending-queue path is used for the packet (source: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-h75p-j842-39jq)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: adjacent access, no login, no user action.
CISA KEV: CVE-2026-104379 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-104379 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/zephyrproject-rtos/zephyr/commit/a38cb68982a7da25d75151997e1c3e4fe62772d9
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-h75p-j842-39jq
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-104379
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-104379"}.Affected versions
- zephyrFrom 3.3.0 · fixed in 4.3.2; From 4.4.0 · fixed in 4.5.0
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity5.9/10CVSS 5.9
- No patch0/5No signal
What would change the score
- Would score about 61 if added to CISA KEV
- Would score about 56 if CISA's SSVC rates exploitation active
- Would score about 28 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 4
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · zephyrproject-rtos/zephyr · Advisory GHSA-h75p-j842-39jq |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-104379 |
| Record | NVD · CVE-2026-104379 |
| Other links 1 | |
| Patch | GitHub · zephyrproject-rtos/zephyr · Commit a38cb689 |
Questions about CVE-2026-104379
Is CVE-2026-104379 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
In Zephyr's net_if_try_send_data, an IPv6 packet can be released while the stack still refers to it after transmission. This results in a double free or use-after-free of packet and buffer memory in the kernel network stack, which typically crashes the device.
Source: github.com
Which versions are affected by CVE-2026-104379?
zephyr: from 3.3.0 before 4.3.2; from 4.4.0 before 4.5.0.
Source: cve.now feed data
Am I affected, and how do I check?
Affected are Zephyr release lines from 3.3.0 before 4.3.2 and from 4.4.0 before 4.5.0 that have not taken the fix. The bug needs a device running both IPv4 and IPv6 and an IPv6 path that uses fragmentation (CONFIG_NET_IPV6_FRAGMENT) or the neighbor discovery pending queue. To check, look at the Zephyr version in the build and whether CONFIG_NET_IPV6_FRAGMENT and IPv6 neighbor discovery are enabled.
Source: github.com
How do I fix CVE-2026-104379?
Upgrade to Zephyr 4.3.2 if on the 3.3.0 line, or to 4.5.0 if on the 4.4.0 line. Release lines that have not yet taken the backport remain affected until they do.
Source: github.com
Related
- CVE-2026-104378Out-of-bounds write in DesignWare I3C driver direct CCC handling via unbounded target count
- CVE-2026-130477Kernel user mode: dynamic thread and stack objects can be freed while their thread is still running or exiting (use-after-free)
- CVE-2026-100374Missing user buffer validation in SMBus block read and block process call syscalls allows kernel memory writes
- CVE-2026-104376Use-after-free write through dangling object-core list node in Zephyr kernel obj_core
- CVE-2026-102957PWM capture syscall leaves callback armed on a dead kernel stack frame when called with K_NO_WAIT
- CVE-2026-105415Out-of-bounds write via unchecked channel index in ESP32 MCPWM PWM driver set_cycles syscall
No corrections so far. Something wrong on this page? Report an error.