CVE-2026-102956
Awaiting Analysis
Awaiting Analysis - Queue
Double Free in Zephyr RTOS Ethernet Stack
Vulnerability report for CVE-2026-102956, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-11-23
Last updated on: 2026-11-23
Assigner: Zephyr Project
Description
Description
ethernet_send() in subsys/net/l2/ethernet/ethernet.c dropped the caller's reference on an IPv4 packet whenever net_arp_prepare() returned NET_ARP_PKT_REPLACED. That return value is also used when ARP could not queue the packet because every ARP cache entry is already pending. In that case ARP holds no reference of its own, so the original packet was freed before the replacing ARP request was transmitted.
If transmitting the ARP request then failed (a driver send error or an ethernet_fill_header() failure), the error path called net_pkt_ref() on the freed packet. net_if_tx() then called net_pkt_unref() on it again. If the freed net_pkt slab slot was reallocated in between, the stray unref releases a reference owned by an unrelated packet, which is freed while still in use.
An attacker on the local link can drive the ARP cache into the all-pending state. CONFIG_NET_ARP_TABLE_SIZE defaults to 2, so it is enough to elicit replies to a few spoofed, non-responding on-subnet addresses. Reaching the memory corruption also needs a transmit failure the attacker does not directly control and a narrow slab-reuse race. The practical impact is corruption or a crash of the network stack (denial of service).
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| zephyrproject | zephyr | From 4.2.0 (inc) to 4.3.2 (exc) |
| zephyrproject | zephyr | From 4.4.0 (inc) to 4.5.0 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |