Skip to main content

Zephyr RTIO CVE-2026-16511

| EUVDEUVD-2026-116741 HIGH
Untrusted Pointer Dereference (CWE-822)
2026-11-04 zephyr
8.8
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain unprivileged user-mode thread execution
  2. Delivery
    Craft struct rtio_sqe pointer into kernel memory
  3. Exploit
    Call rtio_sqe_cancel syscall with that pointer
  4. Execution
    Kernel ORs BIT(3) at chosen address
  5. Persist
    Corrupt permission or thread-state fields
  6. Impact
    Escalate to supervisor privilege

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Untrusted pointer prevention
Exploitation Conditions

Exploitation requires a build with both CONFIG_USERSPACE=y and CONFIG_RTIO=y, on a target where userspace isolation is genuinely enforced (e.g. an MMU/MPU board such as qemu_x86); systems built without CONFIG_USERSPACE or without CONFIG_RTIO are explicitly unaffected. The attacker must already execute code in an unprivileged (K_USER) thread on the device - this is a local escalation primitive, not a remote entry point. For the worst path (rtio_sqe_cancel) NO RTIO object grant is needed, so any user thread qualifies; the second path (rtio_sqe_copy_in_get_handles) additionally requires the thread to hold a granted RTIO context object. Limiting factors: local code execution is a prerequisite, the feature must be compiled in, and no network vector exists.

Impact

This is a genuine high-priority local privilege-escalation flaw, not an inflated CVSS number. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H = 8.8) is internally consistent with the mechanism: a local, low-privileged user-mode thread with no user interaction triggers a supervisor-mode write across the user/kernel scope boundary (S:C), yielding full confidentiality, integrity and availability loss once kernel privilege is obtained. The most severe path, z_vrfy_rtio_sqe_cancel(), needs NO RTIO object grant, so on any CONFIG_USERSPACE+CONFIG_RTIO build every unprivileged thread can OR BIT(3) into a 16-bit word at an attacker-chosen kernel address and chase an attacker-influenced ->next chain - a near-arbitrary kernel write usable to flip object-permission or thread-state fields and escalate. No EPSS score and no KEV status were provided in the input; absence of a KEV listing is expected for an embedded-RTOS kernel bug and does not lower the technical severity. The vuln.today decision label is 'this_week' (not act_now/emergency), which fits a serious but local, config-gated defect rather than a mass-exploited remote one. The reporter has reproduced the cancel primitive end-to-end on qemu_x86, so working proof-of-concept code is embedded in the GHSA advisory, raising practical risk above a purely theoretical finding. Net: real priority for any product shipping Zephyr userspace builds with RTIO, bounded by the local-access and build-configuration prerequisites.

Exploit ScenarioDerived

On a device running a Zephyr image built with CONFIG_USERSPACE=y and CONFIG_RTIO=y, an attacker who already has code running in an unprivileged (K_USER) thread calls the public rtio_sqe_cancel() syscall with a pointer aimed at a chosen kernel structure; the unvalidated verifier forwards it and the kernel ORs RTIO_SQE_CANCELED into a 16-bit field at that address in supervisor mode, which can be aimed at object-permission or thread-state fields to escalate to kernel privilege. A reproduced proof-of-concept demonstrating this supervisor-mode write on qemu_x86 is included in the GHSA advisory. The second bug additionally lets a thread holding a granted RTIO context make the kernel store a pointer at an arbitrary address.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 04, 2026

Unvalidated user pointers in two Zephyr RTIO syscall verifiers let an unprivileged user-mode thread make the kernel write to attacker-chosen kernel addresses, giving a local privilege-escalation primitive on builds that enable both CONFIG_USERSPACE and CONFIG_RTIO. The worst path, z_vrfy_rtio_sqe_cancel(), performs no validation and needs no RTIO object grant, so any user thread can OR RTIO_SQE_CANCELED (BIT(3)) into a 16-bit word at an arbitrary kernel address in supervisor mode and then chase the resulting pointer chain; a second path in z_vrfy_rtio_sqe_copy_in_get_handles() only NULL-checks its handle out-parameter and lets a thread holding a granted RTIO context store a kernel pointer at an arbitrary address. The issue affects Zephyr >= 3.4.0 < 4.3.2 and >= 4.4.0 < 4.5.0 and is not listed in CISA KEV; the published GHSA advisory includes a proof-of-concept reproducer confirmed on qemu_x86, and priority guidance places remediation in this week's work.

RemediationAI

Vendor-released patch: Zephyr 4.3.2 and 4.5.0 per the GHSA-3rh4-hpgj-jrww advisory (https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-3rh4-hpgj-jrww); downstream release lines that have not taken the backport remain affected within the stated ranges. The fixes are delivered by three commits: b1092a0aa7fbe67118ca4b08d5b4e54b34709a6e bounds the cancel handle to element-aligned rtio_sqe_pool storage (https://github.com/zephyrproject-rtos/zephyr/commit/b1092a0aa7fbe67118ca4b08d5b4e54b34709a6e), 95c355c425763fbe5e735b9ef54dacce2c4ce21f adds the K_SYSCALL_MEMORY_WRITE(handle, sizeof(*handle)) check on the out-parameter (https://github.com/zephyrproject-rtos/zephyr/commit/95c355c425763fbe5e735b9ef54dacce2c4ce21f), and 3f244c1709ec0be533ed83d34998e942fc4da399 walks the rtio contexts to find the pool owner and requires K_SYSCALL_OBJ(owner, K_OBJ_RTIO) so a bounded handle cannot cancel another context's submissions (https://github.com/zephyrproject-rtos/zephyr/commit/3f244c1709ec0be533ed83d34998e942fc4da399). Applying those commits directly is the interim option for branches awaiting the 4.3.2/4.5.0 backports. Where an upgrade cannot be scheduled immediately, the exposure can be removed by dropping CONFIG_USERSPACE or CONFIG_RTIO from the build, with the trade-off that removing CONFIG_USERSPACE eliminates the kernel/user isolation that this flaw abuses and removing CONFIG_RTIO removes the subsystem entirely. Because the rtio_sqe_cancel path requires no object grant, no runtime permission configuration compensates for it; the compiled-in verifier is the only boundary.

Affected VersionsENISA

Zephyr 3.4.0 <4.3.2
Zephyr 4.4.0 <4.5.0

Affected Packages

euvd zephyr fix: 4.3.2, 4.5.0

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 user-mode syscall model requires each __syscall wrapper to have a z_vrfy_* verifier that validates user-supplied arguments before the z_impl_* body runs with supervisor privilege; the standard tools are K_SYSCALL_MEMORY_READ/WRITE for buffers and K_SYSCALL_OBJ for kernel object grants. The RTIO submission queue is a struct rtio_iodev_sqe whose first member is a struct rtio_sqe, so the zero-offset CONTAINER_OF in z_impl_rtio_sqe_cancel() resolves back to whatever pointer the caller passed, and the implementation then performs a supervisor-mode read-modify-write of the uint16_t sqe.flags field (RTIO_SQE_CANCELED is BIT(3)) and follows rtio_iodev_sqe_next() until NULL. Because the rtio_sqe_cancel syscall takes no RTIO context argument, no object grant is required, and because no rtio_sqe kernel object type exists in the generated object table (only rtio, rtio_iodev and rtio_pool), the pointer cannot be validated with K_SYSCALL_OBJ at all and must instead be bounded against the registered rtio_sqe_pool storage. This untrusted-pointer-dereference defect (CWE-822, mapped additionally to CWE-787 and CWE-862) permits setting chosen bits in kernel data structures such as object permission or thread state fields, which the advisory notes can be used to escalate from user mode. The sibling verifier z_vrfy_rtio_sqe_copy_in_get_handles() does validate the rtio context and the input SQE array but omits K_SYSCALL_MEMORY_WRITE on the handle out-parameter before executing *handle = sqe. The third defect addressed by the fixes is a missing ownership check: a handle bounded to real pool storage could still cancel submissions belonging to another context, silently aborting that context's I/O.

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

Vendor (zephyr) PRIMARY 8.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Local user-mode thread (AV:L, PR:L) reliably triggers an unvalidated supervisor-mode write (AC:L) crossing the user/kernel boundary (S:C), enabling full kernel compromise (C:H/I:H/A:H).

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Two RTIO syscall verifiers, in subsys/rtio/rtio_syscalls.c (subsys/rtio/rtio_handlers.c before v4.3.0), did not validate user-supplied pointers before the kernel wrote through them.

z_vrfy_rtio_sqe_cancel() performed no validation at all. It passed the caller's struct rtio_sqe pointer straight to z_impl_rtio_sqe_cancel(), which converts it with CONTAINER_OF to a struct rtio_iodev_sqe, ORs RTIO_SQE_CANCELED (BIT(3)) into its 16-bit flags field in supervisor mode, then loads its next pointer and repeats until that pointer is NULL. The syscall takes no RTIO context argument, so it needs no object grant: any user-mode thread on a CONFIG_USERSPACE build can set that bit in a 16-bit word at an address of its choosing in kernel memory, and the kernel continues the write along whatever pointer chain it finds at the corresponding offset. Setting chosen bits in kernel data structures, such as object permission or thread state fields, can be used to escalate privilege from user mode.

z_vrfy_rtio_sqe_copy_in_get_handles() validated its RTIO context and the input SQE array, but only NULL-checked the handle out-parameter before writing a kernel SQE pointer through it, with no K_SYSCALL_MEMORY_WRITE check. A user thread that holds a granted RTIO context can therefore make the kernel store a pointer value at an arbitrary address.

The fixes validate the handle out-parameter as writable, bound the cancel handle to real submission-pool storage, and require permission on the RTIO context that owns the matching pool. Without that last check a bounded handle still let any user thread cancel submissions belonging to other contexts, silently aborting their I/O. Systems built without CONFIG_USERSPACE or without CONFIG_RTIO are unaffected.

Technical POC Analysis

CWE-822 (Untrusted Pointer Dereference); the advisory also files CWE-787 and CWE-862.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

The Zephyr RTOS contains a high-severity local privilege escalation flaw (CVE-2026-16511) that allows any unprivileged user-mode thread to write to arbitrary kernel memory, potentially giving attackers full control of affected devices. Organizations using Zephyr in products should act urgently because the flaw is easily exploitable by any local user and a working proof-of-concept exists, though no active exploitation has been confirmed. Leadership should prioritize patching to prevent unauthorized access and potential safety or operational disruptions.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
popular open-source RTOS, but userspace+RTIO MMU builds are a subset
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

More in Zephyr

View all
CVE-2023-4260 CRITICAL POC
10.0 Sep 27

Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),

CVE-2026-1678 CRITICAL POC
9.8 Mar 05

An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on

CVE-2023-5055 CRITICAL POC
9.8 Nov 21

Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2023-4257 CRITICAL POC
9.8 Oct 13

Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS

CVE-2023-3725 CRITICAL POC
9.8 Oct 06

Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner

CVE-2021-3323 CRITICAL POC
9.8 Oct 12

Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2021-3625 CRITICAL POC
9.8 Oct 05

Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable

CVE-2021-3319 CRITICAL POC
9.8 Oct 05

DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul

CVE-2018-1000800 CRITICAL POC
9.8 Sep 06

zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(

CVE-2023-4264 CRITICAL POC
9.6 Sep 27

Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul

CVE-2024-1638 CRITICAL POC
9.1 Feb 19

The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte

CVE-2023-5753 HIGH POC
8.8 Oct 25

Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy