Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRun unprivileged user-mode thread with TGPIO capability
-
DeliveryCall tgpio_pin_read_ts_ec with forged output pointers
-
ExploitBypass missing memory-write validation
-
ExecutionDriver stores 8-byte regs at kernel address
-
PersistCorrupt kernel structures
-
ImpactEscalate thread to supervisor or crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a Zephyr build compiled with both CONFIG_USERSPACE=y and CONFIG_TIMEAWARE_GPIO=y (Intel time-aware GPIO driver), and the attacker must already be a local unprivileged user-mode thread that has been granted access to the TGPIO device object - a narrow capability not intended to confer kernel-memory access. Exploitation is further limited by the build-breakage window: from v3.6.0 the affected file failed to compile (relocated <zephyr/syscall_handler.h>, removed Z_SYSCALL_* macros) until repaired after v4.4.0, so the realistically exposed population is v3.5.0 builds and downstream trees that locally fixed that breakage. No remote or network path exists; access is local only. |
| Impact | This is a genuine high-severity local privilege-escalation flaw, but its real-world reach is tightly bounded. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 7.8) is well-founded: a local user-mode thread already granted a narrow TGPIO device capability gains a controlled write-what-where primitive across the userspace/kernel boundary, credibly yielding supervisor privilege or a crash. No EPSS score, no CISA KEV listing, and no public exploit are present in the provided data - consistent with a newly disclosed, embedded-RTOS local bug rather than a widely-exploited internet-facing one. Signals do not conflict: local-only vector, a requirement for CONFIG_USERSPACE=y plus CONFIG_TIMEAWARE_GPIO=y plus the Intel driver, and a build-breakage window (v3.6.0 through post-v4.4.0) that means only v3.5.0 builds and downstream trees that locally repaired the breakage are actually exposed. Net: technically real and worth patching for affected embedded builds, but the practical attack surface is very small, so this is a targeted/configuration-specific concern rather than a broad emergency. |
| Exploit ScenarioDerived | On a Zephyr build compiled with CONFIG_USERSPACE=y and CONFIG_TIMEAWARE_GPIO=y (Intel time-aware GPIO), an unprivileged user-mode thread that has been granted access to the TGPIO device object calls tgpio_pin_read_ts_ec() with attacker-chosen timestamp and event_count output pointers. Because z_vrfy_tgpio_pin_read_ts_ec() omits the K_SYSCALL_MEMORY_WRITE() checks its sibling handlers perform, the Intel driver executes two 8-byte supervisor-mode stores at those addresses, corrupting kernel data structures to escalate to supervisor privilege or crash the system. No public exploit code is identified at time of analysis, though the vendor commit and advisory pinpoint the exact primitive. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 21, 2026
Local privilege escalation in Zephyr RTOS allows an unprivileged user-mode thread that holds access to the Intel time-aware GPIO (TGPIO) device object to perform two uncontrolled 8-byte supervisor-mode writes to attacker-chosen kernel addresses via the tgpio_pin_read_ts_ec() syscall. The syscall's verification handler omitted the K_SYSCALL_MEMORY_WRITE() check that the sibling handlers in the same file already perform, converting a benign timestamp read-back into a write-what-where primitive that can corrupt kernel data structures, escalate the calling thread to supervisor privilege, or crash the system. Exposed builds are narrow: CONFIG_USERSPACE=y and CONFIG_TIMEAWARE_GPIO=y must both be set, and because the affected source file failed to compile from v3.6.0 until after it was repaired past v4.4.0, the realistically exposed population is v3.5.0 builds plus downstream trees that locally patched that build breakage; no public exploit code has been identified at time of analysis and the flaw is not confirmed actively exploited (CISA KEV), though it is rated CVSS 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
RemediationAI
Apply the upstream fix, commit 26264fffc17c2174319394ffa274af3f6efdc221 (https://github.com/zephyrproject-rtos/zephyr/commit/26264fffc17c2174319394ffa274af3f6efdc221), which is the patch referenced by advisory GHSA-8qw6-x76h-8mpc (https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-8qw6-x76h-8mpc); it adds K_OOPS(K_SYSCALL_MEMORY_WRITE(timestamp, sizeof(uint64_t))) and K_OOPS(K_SYSCALL_MEMORY_WRITE(event_count, sizeof(uint64_t))) to z_vrfy_tgpio_pin_read_ts_ec() in drivers/timeaware_gpio/timeaware_gpio_handlers.c. Patch availability is upstream fix available (PR/commit); a released patched version number is not independently confirmed from the supplied data, so downstream integrators should backport the two-line change to their own tree rather than assume a tagged release contains it. Because the flaw requires a local unprivileged thread that has already been granted access to the TGPIO device object, the most direct compensating controls are configuration-level: remove CONFIG_USERSPACE=y so the syscall verification path and the unprivileged-thread boundary do not exist (trade-off: eliminates Zephyr's userspace isolation entirely and is not acceptable for products that rely on it), or disable CONFIG_TIMEAWARE_GPIO=y (trade-off: loses Intel time-aware GPIO timestamping functionality, but the driver is platform-specific and many deployments do not use it). If the driver is required, tighten the device object's access policy so that only trusted threads with no other privilege needs can reach the TGPIO device object - this reduces but does not eliminate the attack surface, since any authorized thread retains the write-what-where primitive until the handler is patched - and audit downstream forks for local repairs to the post-v3.6.0 build breakage, which are precisely the trees most likely to be running an unpatched handler.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Zephyr's syscall verification layer (z_vrfy_* handlers, generated from __syscall declarations) is the security boundary that enforces userspace/kernel separation when CONFIG_USERSPACE=y. A handler must validate every pointer argument supplied by the calling user-mode thread before dereferencing it in supervisor mode; K_SYSCALL_MEMORY_WRITE()/K_SYSCALL_MEMORY_READ() are the canonical checks used for that purpose. In drivers/timeaware_gpio/timeaware_gpio_handlers.c, z_vrfy_tgpio_pin_read_ts_ec() validated only the struct device *port object and forwarded the caller-supplied uint64_t *timestamp and uint32_t *event_count output pointers without those checks, even though z_vrfy_tgpio_port_get_time() and z_vrfy_tgpio_port_get_cycles_per_second() in the same file did. Because tgpio_pin_read_ts_ec() is declared __syscall, an unprivileged thread granted access to the TGPIO device object could pass arbitrary pointer values. tgpio_intel_read_ts_ec() in drivers/timeaware_gpio/timeaware_gpio_intel.c bounds-checks only the pin index and then unconditionally executes '*timestamp = <hardware time capture>' and '*event_count = <event counter>', i.e. two 8-byte stores in supervisor mode at fully attacker-selected addresses. This is an out-of-bounds/write-what-where defect in the CWE-787 family (the stored values are hardware register contents, so the primitive is a constrained write rather than an arbitrary byte copy, but the target address is unconstrained). The upstream fix, commit 26264fffc17c2174319394ffa274af3f6efdc221, inserts K_OOPS(K_SYSCALL_MEMORY_WRITE(timestamp, sizeof(uint64_t))) and K_OOPS(K_SYSCALL_MEMORY_WRITE(event_count, sizeof(uint64_t))) into the handler ahead of the driver call. Compounding the exposure, the affected file referenced a relocated header (<zephyr/syscall_handler.h>) and removed Z_SYSCALL_* macros from v3.6.0 onward, so the configuration simply did not build until that breakage was repaired after v4.4.0 - meaning only v3.5.0 and downstream trees carrying local fixes for that breakage compile an exploitable handler.
Know when Zephyr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local user-mode thread (AV:L) needs only a granted TGPIO device capability (PR:L), no user interaction; the reliable write-what-where enables supervisor escalation, giving full C/I/A impact.
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
The Time-aware GPIO syscall verification handler z_vrfy_tgpio_pin_read_ts_ec() in drivers/timeaware_gpio/timeaware_gpio_handlers.c validated only the port device object and passed the caller-supplied timestamp and event_count output pointers to the driver without a K_SYSCALL_MEMORY_WRITE() check. The other handlers in the same file (z_vrfy_tgpio_port_get_time(), z_vrfy_tgpio_port_get_cycles_per_second()) already performed that check, so the omission left one syscall unguarded.
tgpio_pin_read_ts_ec() is declared __syscall, so with CONFIG_USERSPACE=y an unprivileged user-mode thread that has been granted access to the TGPIO device object can invoke it with arbitrary pointer values. tgpio_intel_read_ts_ec() in drivers/timeaware_gpio/timeaware_gpio_intel.c bounds-checks only the pin index and then unconditionally performs timestamp = ... and event_count = ..., executing two 8-byte stores in supervisor mode at addresses chosen by the user-mode caller.
The result is a write-what-where primitive that crosses the userspace/kernel boundary: the target address is fully attacker-chosen and the stored values are the hardware time-capture and event-counter register contents. Corrupting kernel data structures this way can escalate the calling thread to supervisor privilege or crash the system; the device-object permission required is a narrow capability that is not intended to confer any kernel-memory access. The fix adds the two missing K_SYSCALL_MEMORY_WRITE() validations before the driver call.
Exposure is narrow in practice. Only builds with CONFIG_USERSPACE=y and CONFIG_TIMEAWARE_GPIO=y compile the affected file, and from v3.6.0 onward the file additionally referenced a relocated header (<zephyr/syscall_handler.h>) and removed Z_SYSCALL_* macros, so such a configuration failed to build until those were repaired after v4.4.0. Downstream trees that locally corrected that breakage, and v3.5.0 builds where it did not exist, are the exposed population.
Technical POC Analysis
Assigned CWE-787; the underlying defect is a missing validation of user-supplied pointers, not a buffer boundary computation.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity flaw in the Zephyr RTOS (CVE-2026-17052) lets an unprivileged user-mode thread that has been granted access to the Intel time-aware GPIO device object write attacker-chosen values into kernel memory, potentially elevating itself to supervisor privilege or crashing the device. Only builds that enable both userspace support and time-aware GPIO are exposed, which in practice means v3.5.0 builds and downstream forks that locally repaired the affected file's compile breakage, so the impacted population is narrow but includes long-lived embedded products. Leadership should care because success yields full supervisor-level control of the device's most trusted execution context, defeating the isolation boundary that product hardening and certification claims rest on.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),
An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on
Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit
Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS
Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner
Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability
Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul
zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(
Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul
The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte
Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c
EUVD-2026-84054
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB