Impact
During processing of an ICMP echo‑request, Zephyr’s IPv4 stack creates an echo‑reply packet that is handed to net_try_send_data(); upon success it calls net_stats_update_icmp_sent(net_pkt_iface(reply)). While the packet is transferred to the transmit path, it can be fully unreferenced and returned to the slab before the statistics update runs, causing a use‑after‑free read of reply->iface. If interface statistics are enabled, the stale pointer is dereferenced, possibly corrupting interface statistics or, under a timing race, triggering a device crash (DoS). The vulnerable code path is reachable via unauthenticated ICMP echo‑requests and is conditioned on CONFIG_NET_STATISTICS_ICMP.
Affected Systems
Zephyr RTOS version 1.14 through 4.4.0 is affected. The defect was introduced in a 2019 release and remains present up to the v4.4.0 release. The fix is included in later Zephyr releases beyond 4.4.0.
Risk and Exploitability
The CVSS score is 4.8, indicating moderate severity, and the EPSS score is less than 1 %, suggesting low current exploitation likelihood. The issue is not listed in the C. The attack vector is unauthenticated remote ICMP traffic: any host that can send ICMP echo‑requests to the device can trigger the flaw. Because the race between packet send and the post‑send statistics update depends on timing, successful exploitation may be a device crash or loss of accurate interface statistics, for denial‑of‑service.
OpenCVE Enrichment