> CVE-2026-10677 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-07-21 22:16
MODIFIED
2026-07-21 22:16
CVSS_SCORE V3
6.5
EPSS (Prob. Exploit)
0.14%
Top 96.7%
DATA SOURCES:
NVD đź”— 2026-07-21 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 OSV đź”— 2026-07-26

> 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_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
EXPLOITABILITY
2.0
IMPACT
4.0

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-401

> CWE DETAILED DESCRIPTIONS

CWE-401: Missing Release of Memory after Effective Lifetime - The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Kernel heap memory leak in `z_vrfy_k_poll()` lets an unprivileged user thread exhaust the kernel resource pool

AFFECTED PACKAGES:
Unknown / Unknown
157 versions affected
ALIASES:
GHSA-r3cc-8wcr-xfj9

> HISTORIQUE DES MODIFICATIONS

Première apparition
21/07/2026 22:16
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-401: Missing Release of Memory after Effective Lifetime - The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocatio...
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/zephyrproject-rtos/zephyr/commit/8dc7a37bc75402a0a3329397887f...
https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-r3cc-8wcr-...
« BACK_TO_HOME