Technical impact
The vulnerability originates from the RTIO subsystem: two syscall verifiers that fail to enforce pointer validation before the kernel follows user-supplied pointers. The lack of a NULL check or K_SYSCALL_MEMORY_WRITE restriction causes any user‑mode thread that can invoke the affected syscalls to cause the kernel to write into a location of its choosing. By arranging the pointer chain to target internal kernel structures, an attacker can set permission bits or thread state flags, effectively elevating local privileges. The flaw is a classic untrusted write (CWE‑787) compounded by missing bounds checks (CWE‑862), enabling arbitrary kernel memory corruption.
Affected Systems
This flaw exists in the Zephyr RTOS code base, specifically in the RTIO handler files in versions before the hot‑fix commit. Systems that enable the RTIO kernel module and the CONFIG_USERSPACE option are susceptible; builds that disable user space or the RTIO subsystem are unaffected. The exact affected pre‑fix release is not specified, but any Zephyr release prior to the fix commit – covering versions around and before v4.3.0 – remains vulnerable.
Risk and Exploitability
The CVSS score of 8.8 indicates a high risk for privilege escalation. EPSS is not available, so current exploitation probability is unknown, but the flaw is listed as not in CISA KEV. An attacker who can run a user‑mode thread on a device with RTIO enabled can exploit the issue locally; the embedded nature of Zephyr suggests that devices with exposed configuration to user programs might be at higher risk. Once the kernel writes arbitrary data, the attacker can pivot to more damaging kernel modifications, so the operational impact can be catastrophic for affected embedded systems.