# CVE-2026-10677: Kernel heap memory leak in \`z\_vrfy\_k\_poll()\` lets an unprivileged user thread exhaust the kernel resource pool

> 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:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.14% (percentile 2, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-07-21T21:30:54.690Z
- **Modified:** 2026-11-04T04:58:55.126Z

## Who should check

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

## Description

The CONFIG\_USERSPACE syscall verifier z\_vrfy\_k\_poll() in kernel/poll.c allocates a kernel-side copy of the user-supplied k\_poll\_event\[\] via z\_thread\_malloc() and then validates each event's object handle. Before this fix, validation used K\_OOPS(K\_SYSCALL\_OBJ(...)) inline inside the loop, which kills the calling thread without freeing events\_copy.

A user thread can pass num\_events \>= 1 with a forged object handle to leak the allocation; because newly spawned user threads inherit the parent's resource\_pool (kernel/thread.c), an attacker spawns sacrificial threads to repeat the leak until the shared kernel heap is exhausted. Once depleted, legitimate kernel allocations from that pool (k\_queue alloc nodes, k\_msgq buffers, future k\_poll calls, etc.) fail, causing a system-level denial of service.

The fix replaces each inline K\_OOPS with a conditional goto oops\_free so the buffer is freed before the thread is killed. Affects Zephyr releases from v1.12.0 (when k\_poll was first exposed to user mode) through v4.4.1.

## Affected and fixed versions

- zephyrproject zephyr: \>= 1.12.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-10677. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-10677.md
Affected: zephyrproject zephyr >= 1.12.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-10677 being exploited?

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

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

Medium: CVSS 6.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

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

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

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-10677?

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-r3cc-8wcr-xfj9>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/8dc7a37bc75402a0a3329397887f32f5fb4da3ad>

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

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