Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.5CVE-2026-95827

CVE-2026-95827: Network packet reference leak in IPv6 Router Advertisement handling leads to buffer pool exhaustion

zephyrproject zephyr

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-95827: medium-severity vulnerability (CVSS 6.5) in zephyrproject zephyr.

What happened

Original description from the source: The IPv6 neighbour discovery code in subsys/net/ip/ipv6_nbr.c keeps packets that are waiting for address resolution on a per-neighbour pending queue. A queued packet holds two references: the one handed over by the sender and a second one taken by net_ipv6_send_ns() when the packet is put on the queue. The Router Advertisement handler handle_ra_input() popped each packet off the queue and passed it to net_send_data(), relying on a trailing nbr_clear_ns_pending() call to release the queue reference — but that call then found the queue already empty and released nothing, so one reference was leaked for every pending packet flushed on an RA. Router Advertisements are unauthenticated link-local ICMPv6 messages, so any node on the same link can trigger the flush. An attacker can make the leak deterministic by advertising itself as a router without a source link-layer address option, so the victim's neighbour entry stays INCOMPLETE, then inducing the victim to transmit through that next hop (the packet is queued and a neighbour solicitation is sent), leaving the solicitation unanswered and sending a further RA to drain the queue. Each round leaks one struct net_pkt together with its net_buf chain. Leaked packets are never returned to the fixed-size pools, so the loss is permanent for the lifetime of the boot. With CONFIG_NET_PKT_TX_COUNT defaulting to 4 (14 with CONFIG_NET_PKT_LARGE_DEFAULTS), a small number of repetitions exhausts the transmit packet slab and the node stops being able to send any traffic. The impact is availability only: the reference count is always too high, never too low, so no use-after-free or memory corruption arises. The fix moves the flush into a help…

Why it matters

Medium severity, CVSS 6.5.

Affected products and versions

zephyrproject zephyr >= 4.3.0, < 4.3.2; zephyrproject zephyr >= 4.4.0, < 4.5.0

ProductVersionsFixed in
zephyrproject zephyr>= 4.3.0, < 4.3.2—
zephyrproject zephyr>= 4.4.0, < 4.5.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-401

Relevant change history

  1. Published

    Preliminary advisory published.