# CVE-2026-10655: Use-after-free race in SNTP async client when closing the socket while the socket service is still polling it

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.38% (percentile 24, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2026-06-30T16:33:54.147Z
- **Modified:** 2026-10-25T21:10:00.770Z

## Who should check

- Anyone running zephyrproject zephyr \>= 4.2.0, \< 4.3.1; \>= 4.4.0, \< 4.4.2

## 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.

## Affected and fixed versions

- zephyrproject zephyr: \>= 4.2.0, \< 4.3.1; \>= 4.4.0, \< 4.4.2 (cvelist)

## Mitigation

- Upgrade zephyr to 4.4.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-10655. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-10655.md
Affected: zephyrproject zephyr >= 4.2.0, < 4.3.1; >= 4.4.0, < 4.4.2
Fixed in: zephyrproject zephyr 4.3.1, zephyrproject zephyr 4.4.2

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-10655 being exploited?

There is no confirmed exploitation: CVE-2026-10655 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-10655?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-10655?

zephyrproject zephyr \>= 4.2.0, \< 4.3.1; \>= 4.4.0, \< 4.4.2.

### Is there a fix for CVE-2026-10655?

Yes. Fixed in zephyrproject zephyr 4.3.1, zephyrproject zephyr 4.4.2. Upgrade zephyr to 4.4.2 or later.

### How do I check if I'm affected by CVE-2026-10655?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-34wr-cg29-c4mw>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/ef47bdf328b4206ac3b3922ec09184f7a6f7412a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-10655>

HTML: <https://flawdb.com/CVE-2026-10655> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-10655>
