{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-10677","published":"2026-07-21T22:16:59.923000Z","last_modified":"2026-10-24T19:10:00.127000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","source":"vulnerabilities@zephyrproject.org","primary":false},"auth":true,"cwes":["CWE-401"],"cpes":[{"criteria":"cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*","part":"o","vendor":"zephyrproject","product":"zephyr","version_start_including":"1.12.0","version_end_including":"4.4.1"}],"cpes_truncated":false,"vendors":["zephyrproject"],"products":["zephyrproject/zephyr"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"os","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2026-10677/","html_en":"/en/cve/CVE-2026-10677/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-10677","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-10677"},"untrusted":{"vendor_name":"Zephyrproject","product_name":"Zephyr","desc_en":"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.\n\nA 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.\n\nThe 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":[{"untrusted_vendor":"zephyrproject","untrusted_product":"zephyr","versions":[]}],"references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/commit/8dc7a37bc75402a0a3329397887f32f5fb4da3ad","tags":["Patch"]},{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-r3cc-8wcr-xfj9","tags":["Patch","Vendor Advisory"]}]}}