Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-10655: use-after-free in zephyrproject zephyr

0
Medium
VulnerabilityCVE-2026-10655cvecve-2026-10655
Published: 06/30/2026 (06/30/2026, 16:33:54 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

The asynchronous SNTP client in Zephyr (subsys/net/lib/sntp/sntp.c, sntp_close_async) closed the UDP socket file descriptor directly from the calling thread immediately after detaching it from the network socket service, without synchronizing with the socket-service poll thread. The socket service thread polls each socket via zvfs_poll, which (in zsock_poll_prepare_ctx) registers a k_poll_event pointing into the socket's net_context (&ctx->recv_q) and then blocks in k_poll without holding a reference or lock. net_context objects are allocated from a fixed pool (contexts[CONFIG_NET_MAX_CONTEXTS]) and reused after close. When sntp_close_async is invoked from a different thread than the poll thread (in the in-tree consumer subsys/net/lib/config/init_clock_sntp.c, the SNTP timeout handler runs on the system workqueue while the socket service thread is blocked in poll on the same fd), the close frees and may reuse the net_context while the poll thread still has a poller node linked into the freed object, resulting in a use-after-free / object confusion of kernel poll structures. The SNTP timeout path is the normal no-response failure mode, so a network peer or off-path attacker who drops or delays the SNTP/NTP response can drive the racing close repeatedly (and periodically with NET_CONFIG_SNTP_INIT_RESYNC). The most likely consequence is a crash of the networking thread (denial of service), with potential memory corruption when the freed context slot is reallocated. The fix defers the close to the socket service thread itself via net_socket_service_close (NET_SOCKET_SERVICE_CLOSE_SOCKETS), so the same thread that polls performs the close, eliminating the race. Affected releases: v4.2.0 through v4.4.0.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Affected software

GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=4.2.0 <4.5.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/30/2026, 17:08:12 UTC

Technical Analysis

CVE-2026-10655 is a use-after-free vulnerability in the Zephyr project's asynchronous SNTP client. The problem occurs when the UDP socket file descriptor is closed asynchronously from the calling thread immediately after detaching it from the network socket service, without synchronizing with the socket-service poll thread. The poll thread may still reference the freed net_context object, causing a use-after-free and potential memory corruption. This race condition can be triggered repeatedly by delaying or dropping SNTP/NTP responses, leading to denial of service via networking thread crashes. The fix involves deferring the socket close operation to the socket service thread itself, eliminating the race. The affected versions are Zephyr v4.2.0 through v4.4.0.

Potential Impact

The vulnerability can cause denial of service by crashing the networking thread due to use-after-free of kernel poll structures. There is also potential for memory corruption if the freed net_context slot is reallocated and misused. No confidentiality or integrity impact is indicated. The attack vector is network-based but requires high attack complexity and no privileges or user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix defers socket closure to the socket service thread to avoid the race condition. Until an official patch or update is available, users should monitor vendor communications for updates. No vendor advisory or patch links are currently provided.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
zephyr
Date Reserved
2026-06-02T15:24:29.575Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a43f42f27e9c79719185ecb

Added to database: 06/30/2026, 16:51:59 UTC

Last enriched: 06/30/2026, 17:08:12 UTC

Last updated: 06/30/2026, 21:38:44 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses