# CVE-2026-104379: Use-after-free of transmitted IPv6 packet in Zephyr net\_if\_try\_send\_data

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v3.1, CNA) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 14, 2026-11-30)
- **CWE:** CWE-416
- **Published:** 2026-11-29T20:56:47.962Z
- **Modified:** 2026-11-29T21:17:01.557Z

> **AI summary (AI-generated, claude-haiku-5-5):** An adjacent attacker can trigger a use-after-free in Zephyr's network stack by racing IPv6 neighbor discovery with IPv4 traffic, causing double free or use-after-free of packet buffers and likely a device crash.

## Who should check

- Anyone running zephyrproject zephyr \>= 3.3.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0

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

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.3.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0 (cvelist)

## Technologies

Zephyr RTOS

## Mitigation

- Upgrade zephyr to 4.5.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-104379. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-104379.md
Affected: zephyrproject zephyr >= 3.3.0, < 4.3.2; >= 4.4.0, < 4.5.0
Fixed in: zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-104379 being exploited?

There is no confirmed exploitation: CVE-2026-104379 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-30).

### How serious is CVE-2026-104379?

Medium: CVSS 5.9 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-104379?

zephyrproject zephyr \>= 3.3.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0.

### Is there a fix for CVE-2026-104379?

Yes. Fixed in zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0. Upgrade zephyr to 4.5.0 or later.

### How do I check if I'm affected by CVE-2026-104379?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-h75p-j842-39jq>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/a38cb68982a7da25d75151997e1c3e4fe62772d9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-104379>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-104379> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-104379>
