CVE-2026-17052
Last modified
CVE-2026-17052 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| zephyrproject | zephyr | >= 3.5.0, < 4.4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-17052?
How severe is CVE-2026-17052?
How do I fix CVE-2026-17052?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-17045IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authentica…8.1
- CVE-2026-17047IBM Db2 Mirror for i 7.4, 7.5, and 7.6 could allow a remote …5.4
- CVE-2026-17048A flaw was found in the Keycloak Admin REST API, which is us…4.9
- CVE-2026-1705A vulnerability was detected in D-Link DSL-6641K N8.TR069.20…2.4
- CVE-2026-17050The experimental USB host stack allocates a per-device confi…5.7
- CVE-2026-17051The Intel SEDI IPM (inter-processor mailbox) driver in drive…6
- CVE-2026-17054The Espressif ESP-hosted Wi-Fi driver (drivers/wifi/esp_host…5.3
- CVE-2026-17057IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote attacker t…9.1
- CVE-2026-17059A flaw was found in the role-users endpoint of the keycloak-…6.5
- CVE-2026-1706The All-in-One Video Gallery plugin for WordPress is vulnera…6.1
- CVE-2026-17060IBM AIX 7.2, and 7.3 and IBM PowerVM VIOS 4.1 could allow a …9.1
- CVE-2026-17061A Deserialization of Untrusted Data vulnerability affecting …10
Are you affected by CVE-2026-17052?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
