Impact
A use‑after‑free occurs in Zephyr’s IPv6 Neighbor Discovery code paths that emit Neighbor Advertisements, Solicitations, and Redirects. After the network stack sends a packet the packet’s slab block may be freed before the code calls net_pkt_iface(pkt) to update per‑interface ICMP‑sent statistics. This reads pkt->iface from the freed block, and if per‑interface statistics are enabled it dereferences iface->stats.icmp.sent, which can corrupt memory, crash, or cause a denial of service. The flaw can be triggered by any unauthenticated on‑link node that sends ICMPv6 Neighbor Solicitations to a Zephyr device with native IPv6 enabled.
Affected Systems
Zephyr project, versions 3.3.0 through 4.4.0, all configurations with CONFIG_NET_STATISTICS_PER_INTERFACE enabled. Systems running earlier or later versions, or those that disable per‑interface statistics, are not affected.
Risk and Exploitability
The attack can be triggered by any unauthenticated on‑link node that sends Neighbor Solicitations. The CVSS score of 4.2 indicates moderate severity. The EPSS score is less than 1 %, suggesting low likelihood of widespread exploitation, and the vulnerability is not listed in CISA KEV. An attacker would need only network access to the target device to trigger the flaw, and exploitation would result in corruption of statistics or a crash, rather than code execution.
OpenCVE Enrichment