CVE-2026-102956: Ethernet L2 net_pkt reference-count error on ARP request send failure can free an unrelated packet

Published Nov 23, 2026
·
Updated

ethernetsend() in subsys/net/l2/ethernet/ethernet.c dropped the caller's reference on an IPv4 packet whenever netarpprepare() returned NETARPPKTREPLACED. 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 ethernetfillheader() failure), the error path called netpktref() on the freed packet. netiftx() then called netpktunref() on it again. If the freed netpkt 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. CONFIGNETARPTABLESIZE 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).

Affected Software

1 affected component
Zephyr Project Zephyr

Event History

Nov 23, 2026
CVE Published
via MITRE·06:02 PM
Data Sourced
via MITRE·06:02 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are realistically exposed?

Zephyr devices using IPv4 over Ethernet with ARP are exposed when an attacker can access the local Ethernet link. The attacker can drive the ARP cache into an all-pending state using spoofed, non-responding on-subnet addresses.

2

Is the default ARP configuration sufficient to trigger the prerequisite condition?

Yes. CONFIG_NET_ARP_TABLE_SIZE defaults to 2, so only a few pending ARP entries are needed to exhaust the cache.

3

What additional conditions are required for memory corruption or a crash?

After the ARP cache is all pending, transmission of the replacement ARP request must fail because of a driver send error or ethernet_fill_header() failure. A narrow race must also allow the freed packet slab slot to be reallocated before the stray reference release; the attacker does not directly control the transmit failure.

4

What is the likely operational impact?

The stray reference release can free an unrelated packet while it is still in use, causing network-stack memory corruption or a crash. The described practical impact is denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203