Impact
The vulnerability resides in the tgpio_pin_read_ts_ec syscall handler of Zephyr's time‑aware GPIO subsystem. The handler accepts user‑supplied pointers for timestamp and event_count outputs without verifying that the caller can write to those memory addresses. The unprotected 8‑byte stores, executed in supervisor mode, give a user‑mode thread a write‑what‑where primitive that can corrupt kernel data structures, potentially leading to privilege escalation or a system crash. The weak point is a classic out‑of‑bounds write (CWE‑787).
Affected Systems
Affected only Zephyr releases that compiled with CONFIG_USERSPACE=y and CONFIG_TIMEAWARE_GPIO=y. The problem existed in source versions starting with v3.6.0 after a header relocation and was only rebuildable after the build was repaired in v4.4.0. Downstream trees that applied the needed fixes or built without the time‑aware GPIO were not exposed. The affected vendor product is Zephyr RTOS.
Risk and Exploitability
The CVSS score of 7.8 indicates a high severity with medium‑to‑high impact if exploited. EPSS is not available, so the current exploitation probability is unclear, but the vulnerability is a user‑land write‑what‑where, a pattern frequently exploited in practice. KEV lists the item as not mitigated. Exploitation requires an unprivileged thread that holds access to the TGPIO device object; with such capability the attacker can supply arbitrary pointers and force writes to kernel memory. The narrow build configuration and required user‑capability reduce the exposed attack surface but still present a serious risk for systems that enable userspace GPIO access.
OpenCVE Enrichment