PT-2026-161678

CVE-2026-102961

·

Published

2026-11-29

·

Updated

2026-11-29

Description by

CVSS 3.1
5.9
Medium
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
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 can send fragmented packets to a device built with CONFIG NET IPV6 FRAGMENT, CONFIG NET IPV4 FRAGMENT or CONFIG NET L2 IEEE802154 FRAGMENT (for 6LoWPAN, from within IEEE 802.15.4 radio range) can time fragments around the reassembly timeout. In the IPv6 code two interleavings are reachable. In the first, the timeout handler frees the stored fragments with reassembly cancel() while the receive path is still merging them. In the second, the receive path reuses the slot and frees a stale first fragment while the handler is blocked inside net icmpv6 send error() still using that fragment as the source of the ICMPv6 Time Exceeded message. The race is widest with preemptive network threads, driver-context receive processing, or SMP. With the default cooperative threads on a single core, the attacker needs the handler to block while allocating a buffer.
Winning the race causes use-after-free, double free of net pkt objects, or a NULL pointer dereference in the network receive or workqueue thread. The typical result is a crash, which is a remote denial of service. The fixes add a mutex to each implementation that serializes its cache between the receive path and the timeout handler (and, for IPv6 and IPv4, the slot iterator net ipv6 frag foreach() / net ipv4 frag foreach()), and make a handler whose entry was released or reused while it waited leave that entry alone. The IPv6 fix also detaches the first fragment before sending the ICMPv6 error, and the 6LoWPAN fix initializes the entry timers once instead of on every allocation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾