CVE-2026-102961 - Race between IP fragment reassembly and its timeout handler causes use-after-free in the Zephyr IPv6, IPv4 and 6LoWPAN stacks
Vulnerability · Reported by NVD · · CWE-362
- Severity
- Medium Risk score 59/100
- CVSS
- 5.9 v3.1 · from NVD
- Exploit chance (EPSS)
- – Not available yet
- Known exploited
- No Not in CISA KEV
Summary
Zephyr's IPv6, IPv4 and IEEE 802.15.4 (6LoWPAN) fragment reassembly implementations each keep a global reassembly cache that two threads modify with no synchronization. In the IPv6 code in subsys/net/ip/ipv6_fragment.c, the receive path runs net_ipv6_handle_fragment_hdr() and reassemble_packet(), and the reassembly_timeout() delayable-work handler runs on the system workqueue. When a datagram completes, reassemble_packet() calls only the non-synchronous k_work_cancel_delayable(), which does not stop a timeout handler that is already running. Separately, reassembly_get() treats a slot as free as soon as its timer is no longer pending, even while that slot's handler is still running. The IPv4 code in subsys/net/ip/ipv4_fragment.c has the same structure. In the 6LoWPAN code in subsys/net/l2/ieee802154/ieee802154_6lo_fragment.c, the reass_timeout() handler frees a cache entry's packet and releases the entry while fragment_add_to_cache() on the receive path may still be using it, and set_reass_cache() re-initializes the entry's timer on every allocation. A remote, unauthenticated attacker who ca
How this vulnerability can be exploited
This is a race condition flaw (CWE-362). An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is high, meaning specific conditions must exist first. If successful, the attacker could crash or disrupt the service.
Is it being exploited?
There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Tags
CVE-2026-102961
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-102961 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.