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.
{
"cna_assigner": "zephyr",
"cwe_ids": [
"CWE-401"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10677.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.12.0"
},
{
"fixed": "4.3.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "4.4.0"
},
{
"fixed": "4.4.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "8dc7a37bc75402a0a3329397887f32f5fb4da3ad"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-10677.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "254972498038870246360918444116104506371",
"length": 1502
},
"id": "CVE-2026-10677-4aa738b9",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/zephyrproject-rtos/zephyr/commit/8dc7a37bc75402a0a3329397887f32f5fb4da3ad",
"target": {
"file": "kernel/poll.c",
"function": "z_vrfy_k_poll"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"50207683876053897450814244935199346572",
"267275315882934701780153964521888966020",
"85685743785461927747896785727207631101",
"312853238007902623061533608806370559721",
"158857032001479221579518635655920675376",
"117783183809272337662628354532431372385",
"325592623786711882175831055514186355361",
"57332128823508572493149184769344555699",
"273046357105971927558688360355367986839",
"125876141163649386231390968236630570536",
"292107320573748149248574643681696372830",
"130993145525159827603907475839907725929",
"154691133355004823516360661436345240410",
"180689098186007915052937476970745134479",
"334800654998351726167561502937701591737",
"335629426297155321226933412748831535146"
],
"threshold": 0.9
},
"id": "CVE-2026-10677-cd4935e4",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/zephyrproject-rtos/zephyr/commit/8dc7a37bc75402a0a3329397887f32f5fb4da3ad",
"target": {
"file": "kernel/poll.c"
}
}
]
"2026-11-05T08:04:26Z"