Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain unprivileged thread on CONFIG_USERSPACE Zephyr system
-
DeliverySpawn racing thread in same address space
-
ExploitInvoke mbox_send() with valid msg struct
-
InstallRacing thread overwrites msg->data with target kernel address
-
C2Verifier check passes before overwrite is caught
-
ExecuteDriver dereferences kernel address in supervisor context
-
ImpactKernel memory bytes forwarded to mailbox peer endpoint
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | CONFIG_USERSPACE must be explicitly enabled in the Zephyr build configuration - this is not universally default and must be intentionally configured by the system integrator. The attacker must hold an unprivileged userspace thread on the target system (PR:L per CVSS); fully unauthenticated remote exploitation is not possible. A second thread sharing the caller's address space is required to perform the concurrent overwrite - single-threaded environments or environments where all threads are mutually trusted are not exploitable. The race window is narrow and timing-dependent (AC:H), meaning exploitation requires repeated attempts and precise scheduling; it is not reliably automatable in a single attempt. The vulnerability is specific to the mbox_send() syscall path and manifests only when a mailbox driver (such as the NXP mailbox driver) dereferences msg->data in supervisor context. Exploitation is strictly local - no network vector exists. Confidentiality impact requires knowledge or guessing of a valid mapped kernel address; targeting an invalid/unmapped address instead causes a faulting kernel read (DoS) rather than memory disclosure. |
| Impact | The CVSS 3.1 vector AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L is well-calibrated to the actual threat: local-only access (AV:L) and high complexity (AC:H) reflect the requirement to win a precise race condition between two threads, substantially lowering practical exploitability compared to network-exploitable or trivially triggered flaws. PR:L confirms an unprivileged-but-present userspace thread is required, not a fully unauthenticated remote attacker. The scope change (S:C) correctly captures the userspace-to-supervisor boundary crossing. EPSS data was not included in the provided intelligence, so probabilistic exploitation likelihood cannot be quantified from available inputs. No CISA KEV listing is present, and no public POC has been identified, meaning active exploitation is not confirmed. The C:H impact is real - a successful race yields arbitrary kernel memory reads - but the AC:H constraint means exploitation is not trivially automatable. SSVC signals (no active exploitation, patch available) suggest a moderate urgency tier appropriate for scheduled patching cycles rather than emergency response for most operators. |
| Exploit ScenarioDerived | An attacker with access to an unprivileged userspace thread on a Zephyr CONFIG_USERSPACE build spawns a second thread sharing the same address space and begins spinning to overwrite msg->data with a target kernel address (e.g., a known kernel data structure) immediately after the mbox_send() syscall is entered. When the race is won between the verifier's K_SYSCALL_MEMORY_READ check and the driver's subsequent memcpy, the driver reads bytes from the attacker-controlled supervisor address in kernel context and forwards them to the mailbox peer endpoint, leaking kernel memory contents. No public POC is identified at time of analysis; the timing window is narrow, requiring repeated attempts to win reliably. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Kernel memory disclosure and denial-of-service in Zephyr RTOS's mbox_send() syscall verifier stem from a time-of-check/time-of-use (TOCTOU) race in z_vrfy_mbox_send() (drivers/mbox/mbox_handlers.c), present in versions 3.0.0 through 4.4.2 on CONFIG_USERSPACE builds. An unprivileged userspace thread can race a second thread in the same address space to replace the validated msg->data pointer with a supervisor-mode address after the bounds check completes, causing the underlying driver to perform a supervisor-context read from an attacker-chosen kernel address. The upstream fix (commit ab35eacc) is confirmed available; no public exploit is identified at time of analysis.
RemediationAI
Upgrade to Zephyr 4.4.2 or later, which incorporates the fix from upstream commit ab35eaccec5976f05c196f176d0c32885754496f; the patch and advisory are available at https://github.com/zephyrproject-rtos/zephyr/commit/ab35eaccec5976f05c196f176d0c32885754496f and https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-47q2-w832-7w67. If immediate upgrade is not feasible, removing CONFIG_USERSPACE from the build configuration eliminates the vulnerable syscall verification path entirely, but this disables all userspace/kernel separation and will break any application logic relying on unprivileged user threads - a significant functional trade-off unsuitable for most deployments using that feature. An alternative compensating control is to restrict the system to a single trusted thread or trusted-only thread model, eliminating the untrusted concurrent-thread precondition; this may not be architecturally feasible in multi-tenant or multi-application Zephyr deployments.
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 RTOS implements a syscall verification layer (z_vrfy_* functions) that validates userspace pointers before forwarding them to kernel implementations (z_impl_*). In z_vrfy_mbox_send(), the pre-fix code called K_SYSCALL_MEMORY_READ on msg->data and msg->size read directly from the live userspace struct mbox_msg pointer, then passed the original userspace pointer - still writable by any thread sharing that address space - to z_impl_mbox_send(). This classic CWE-367 (TOCTOU) flaw created a race window: a concurrent thread could replace msg->data with a supervisor-mode address between validation and the driver's dereference. The NXP mailbox driver (and potentially other drivers) performs memcpy(&data32, msg->data, msg->size) in supervisor context, reading bytes from the attacker-controlled address. The fix introduced in commit ab35eacc uses k_usermode_from_copy() to snapshot the entire struct mbox_msg onto the kernel stack before validation, then validates and forwards the immutable kernel-side copy. Affected product per CPE: cpe:2.3:a:zephyrproject:zephyr:*:*:*:*:*:*:*:* versions 3.0.0 through less than 4.4.2.
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:H/PR:L/UI:N/S:C/C:H/I:N/A:L
Local-only vector (AV:L), race-condition timing requirement (AC:H), and unprivileged-thread prerequisite (PR:L) match the described TOCTOU; scope change (S:C) reflects the userspace-to-supervisor boundary crossing with no integrity impact.
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
The userspace syscall verifier z_vrfy_mbox_send() in drivers/mbox/mbox_handlers.c validated the nested msg->data/msg->size fields by reading them directly out of live userspace memory, and then forwarded the original, still-mutable userspace struct mbox_msg * pointer to z_impl_mbox_send() and the underlying driver. Between the access check and the driver's use of msg->data, the validated pointer could be replaced, leaving a time-of-check/time-of-use window.
On a system built with CONFIG_USERSPACE, any unprivileged userspace thread may invoke the mbox_send() system call. A second thread sharing the caller's address space can race to overwrite msg->data with a supervisor (kernel) address after the verifier's bounds check has passed but before the driver dereferences it. The driver then reads from the attacker-chosen address in supervisor context (for example memcpy(&data32, msg->data, msg->size) in the NXP mailbox driver, whose bytes are subsequently emitted to the peer mailbox endpoint).
The impact is a userspace-to-supervisor access-control bypass: disclosure of kernel memory contents (high confidentiality impact), or, for an invalid/unmapped target address, a faulting kernel read causing denial of service. The fix snapshots the entire struct mbox_msg into a kernel-stack copy with k_usermode_from_copy() and validates and forwards that immutable copy, closing the race.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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-64897
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB