Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain on-link adjacent network position
-
DeliverySend crafted Router Advertisement, short valid lifetime
-
ExploitAddress enters deferred-removal, reference still held
-
ExecutionSend refreshing RA re-arming lifetime timer
-
PersistExpiry triggers second reference-stealing removal
-
ImpactAddress slot released, connectivity lost
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires an adjacent/on-link attacker and a specific precondition: another subsystem must already hold a reference on the target address so the first removal defers instead of completing - in practice an active TCP connection, since tcp_conn_new() and connect() take net_if_addr_ref() on the local address. Beyond that, one of three feature-gated paths must be reachable: (1) IPv6 SLAAC with an autoconfigured (AUTOCONF) address, where attacker Router Advertisements with short-then-refreshed valid lifetimes drive address_expired() into a second net_if_ipv6_addr_rm(); (2) IPv4 with CONFIG_NET_IPV4_ACD and DHCPv4 enabled, where repeated spoofed ARP conflicts for the device's lease drive dhcpv4_acd_event_handler() to call net_if_ipv4_addr_rm() more than once; or (3) CONFIG_USERSPACE builds, where an unprivileged local user-mode thread calls net_if_ipv4_addr_rm_by_index()/net_if_ipv6_addr_rm_by_index() syscalls to trigger the release deterministically (this path is local, not adjacent). Limiting factors: affected only in versions >= 3.7.0, < 4.3.2 and >= 4.4.0, < 4.5.0; requires the device to be running the relevant networking feature and to have a live reference holder on the address; the remote paths need on-link L2 access, not arbitrary Internet routing. |
| Impact | This is a medium-severity, availability-only defect: CVSS 3.1 base 5.3 (AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H), with confidentiality and integrity explicitly N because the advisory states there is no memory corruption or information disclosure - the reference counter refuses to go below zero and the affected objects are static array slots. No EPSS score, no CISA KEV listing, and no public PoC were provided, so there is no signal of active or imminent mass exploitation; the only forward-looking signal is the vendor's 'this_month' priority label and a published GHSA advisory with a merged fix. The vector is AV:A (adjacent/on-link), and AC:H reflects a real precondition rather than mere difficulty: a second subsystem (the TCP stack) must already hold a reference on the local address so the first removal defers instead of completing. Note a vector nuance to verify: the CVSS string is AV:A, but one of the three exploitation paths (the CONFIG_USERSPACE net_if_ipv*_addr_rm_by_index() syscalls) is a local, unprivileged user-mode trigger that would be AV:L/PR:L, not adjacent - the single AV:A vector does not capture that local variant, so model the exposure per enabled feature rather than from the headline vector alone. Overall this is a genuine but bounded DoS priority for Internet- or LAN-exposed Zephyr devices that terminate TCP connections and use SLAAC or DHCPv4-with-ACD; it is not a high-urgency RCE, and the absence of EPSS/KEV/PoC argues against emergency treatment while still warranting scheduled patching. |
| Exploit ScenarioDerived | An on-link attacker on the same L2 segment as a Zephyr device that holds an active TCP connection sends a Router Advertisement with a short valid lifetime for the device's autoconfigured IPv6 address, pushing it into the deferred-removal state (is_added cleared, is_used still set), then sends a refreshing RA; the next lifetime expiry performs a second removal that consumes the reference the TCP stack still owns, freeing the address slot and dropping the device's configured IP while connections believe it is live. The IPv4 equivalent uses spoofed ARP conflicts against a DHCPv4 lease when CONFIG_NET_IPV4_ACD is enabled, and on CONFIG_USERSPACE builds an unprivileged local thread can trigger it deterministically via the rm_by_index syscalls. No public exploit identified at time of analysis; the mechanism is fully detailed in the vendor GHSA and patch commit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Improper reference-count handling in Zephyr's network interface address removal lets an on-link attacker (or, in USERSPACE builds, an unprivileged local thread) strip a live IP address out from under active TCP connections. Affected builds are Zephyr >= 3.7.0, < 4.3.2 and >= 4.4.0, < 4.5.0 that run IPv6 SLAAC, IPv4 with CONFIG_NET_IPV4_ACD plus DHCPv4, or CONFIG_USERSPACE, and that already have another subsystem holding a reference on the address. The result is availability-only denial of service against device connectivity; the advisory explicitly rules out memory corruption or information disclosure, and no public exploit has been identified at time of analysis.
RemediationAI
Upgrade to Zephyr 4.3.2 or 4.5.0, which contain the merged backports (v4.3-branch PR #120910, v4.4-branch PR #120911) and the main-branch fix commit 6c90a4581c492802e4f83f1a0b429e9bb0374f33; the fix makes net_if_ipv4_addr_rm() and net_if_ipv6_addr_rm() return false without calling net_if_addr_unref() when the address is already marked !is_added. Confirm the target release line has taken the backport, since releases outside 4.3.2/4.5.0 remain affected; note that the v3.7-branch backport (PR #126580) is still open, so 3.7.x deployments have no vendor fix available at time of analysis and must rely on the workarounds below. Where upgrading is not immediately possible, remove individual reachable paths and accept the stated trade-offs: disable CONFIG_NET_IPV4_ACD to close the DHCPv4/ARP-conflict route (losing IPv4 duplicate-address detection on the device), and restrict or drop CONFIG_USERSPACE builds' exposure by not granting unprivileged threads access to the net_if_ipv4_addr_rm_by_index()/net_if_ipv6_addr_rm_by_index() syscalls (losing user-mode isolation benefits). The IPv6 SLAAC route and the underlying TCP-reference precondition cannot be turned off by a simple option, so on-link layer-2 filtering of rogue Router Advertisements and ARP traffic - or otherwise isolating the device from untrusted on-link peers - is the practical compensating control until a fixed release is deployed. Full details and patch references are in https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gfv3-7jx7-4jhc.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-911, improper update of reference count, in subsys/net/ip/net_if.c. Address slots carry an atomic reference count plus the is_added and is_used flags; when net_if_ipv4_addr_rm() or net_if_ipv6_addr_rm() is called while the count is still above zero (the TCP stack takes a net_if_addr_ref() on the local address in tcp_conn_new() and on connect(), and drops it later by address value), the removal defers: is_added is cleared but is_used stays set and the slot remains in the table. Every lookup helper filters on is_used rather than is_added, so the half-removed address stays visible and can be removed again, and the pre-fix code unconditionally called net_if_addr_unref() a second time, stealing the TCP stack's reference. Three feature-gated paths reach that second call: net_if_ipv6_addr_update_lifetime() re-arms the SLAAC lifetime timer on a deferred-removed address without restoring the reference or the is_added flag, so attacker-supplied Router Advertisements with a short valid lifetime followed by a refresh drive address_expired() into the second removal via handle_prefix_autonomous(); with CONFIG_NET_IPV4_ACD and DHCPv4, spoofed ARP conflicts make ipv4_acd.c emit repeated NET_EVENT_IPV4_ACD_CONFLICT events that dhcpv4_acd_event_handler() turns into repeated net_if_ipv4_addr_rm() calls without checking is_added; and the net_if_ipv4_addr_rm_by_index()/net_if_ipv6_addr_rm_by_index() system calls expose the same kernel-side release deterministically to unprivileged user-mode threads where CONFIG_USERSPACE is set. The counter never drops below zero and the objects are static array slots, so corruption manifests only as a slot that can be reused by a new address and then released early when the stale holder tears down by address value. The upstream fix looks up the address first, and when it is already flagged !is_added it logs, returns false and skips net_if_addr_unref(); the rm_all() helpers intentionally bypass the public API and are unaffected.
Know when Zephyr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
On-link attacker via crafted RAs/ARP (AV:A), requiring a concurrent TCP reference holder and lifetime timing as preconditions (AC:H), no auth (PR:N), availability-only loss of connectivity with no memory/disclosure impact (A:H, C/I:N).
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
net_if_ipv4_addr_rm() and net_if_ipv6_addr_rm() in subsys/net/ip/net_if.c unconditionally called net_if_addr_unref() on the target address. When an earlier removal could not complete because another subsystem still held a reference (the TCP stack takes one on the local address of every connection, in tcp_conn_new() and on connect()), the address is left in place with is_added cleared and is_used still set. A second removal of such an address decremented the reference count again, consuming a reference owned by that other holder. When it was the last one, the address slot was released, its NET_EVENT_IPV*_ADDR_DEL event fired, and the slot became reusable while the holder still believed it owned a reference.
Every address lookup helper matches on is_used and not on is_added, so a half-removed address stays visible to the rest of the stack and repeat removals are readily reachable from remote input. Under IPv6 SLAAC, an on-link node that sends a Router Advertisement with a short valid lifetime causes the address to expire into the deferred state; a refreshing Router Advertisement is handled by net_if_ipv6_addr_update_lifetime(), which re-arms the lifetime timer without restoring the reference, so the next expiry performs the second, reference-stealing removal. With CONFIG_NET_IPV4_ACD and DHCPv4, repeated spoofed ARP conflicts for the device's lease drive dhcpv4_acd_event_handler() into calling net_if_ipv4_addr_rm() more than once on the same address. Where CONFIG_USERSPACE is enabled, the net_if_ipv4_addr_rm_by_index() and net_if_ipv6_addr_rm_by_index() system calls let an unprivileged user-mode thread trigger the same kernel-side release deterministically.
The impact is loss of a configured IP address while connections are still using it, and a corrupted reference count that propagates: the slot can be handed to a newly added address, and when the stale holder later tears down, net_if_addr_unref() resolves the address by value and drops the new incarnation's only reference, removing a live address a second time. The affected objects are static array slots and the counter is never decremented below zero, so there is no memory corruption or information disclosure; the consequence is denial of service against the device's network connectivity, repeatable at the attacker's pace.
The fix resolves the address before touching the reference count and returns false without calling net_if_addr_unref() when the address is already marked as removed, so the public removal API can no longer consume a reference it does not own.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),
An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on
Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit
Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS
Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner
Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability
Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul
zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(
Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul
The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte
Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c
EUVD-2026-131707
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB