Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRun unprivileged thread with I2S device access
-
DeliveryCall i2s_configure with frame_clk_freq=0 and forged mem_slab
-
ExploitCall i2s_trigger START to enable FIFO interrupt
-
ExecutionKernel ISR runs k_mem_slab_alloc/free on attacker pointer
-
ImpactArbitrary kernel read/write defeats userspace isolation
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires CONFIG_USERSPACE to be enabled (builds without it are unaffected because the verifier is not used) AND the target must use drivers/i2s/i2s_litex.c - i.e. a LiteX soft-core/VexRiscv build - or an out-of-tree I2S driver that retains the caller's config on the unconfigure path; in-tree i2s_stm32, i2s_sam_ssc, i2s_nrfx, i2s_esp32, i2s_stm32_sai and i2s_silabs_siwx91x are not exploitable because they clear, reject, or neutralize the stored config. The attacker also needs a thread that has been granted access to an I2S device object, and must issue i2s_configure() with frame_clk_freq==0 (the 'unconfigure' request) followed by i2s_trigger(I2S_TRIGGER_START). Limiting factors: local access only, a low-privileged but legitimately I2S-capable thread, a non-default userspace build, and the specific LiteX driver - and reliable arbitrary write further requires crafting a pointer whose slab free_list/link-word layout is controlled. |
| Impact | Signals point to a real but narrowly-scoped kernel-isolation bug rather than a mass-exploitation emergency. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H, 7.8 HIGH) correctly captures a local, low-privileged attacker who escapes the CONFIG_USERSPACE boundary with full confidentiality/integrity/availability impact and a scope change into supervisor context. There is no CISA KEV entry and no EPSS score in the input, and no exploit reference is present - only the vendor patch commit and the GHSA advisory - so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a patched, embargoed, not-yet-exploited issue. The practical risk is bounded by preconditions the evidence states explicitly: it only reaches a dangerous driver via drivers/i2s/i2s_litex.c (or an out-of-tree driver that retains config on the unconfigure path), and only when CONFIG_USERSPACE is enabled - which is not the default on LiteX/VexRiscv builds. One point worth flagging: the supplied vector uses AC:H, but the advisory describes triggering the flaw with 'a single i2s_configure() call' plus a trigger, which reads as low-complexity to reach; the genuine complexity lies in crafting a mem_slab pointer whose free_list/link-word layout yields a controlled write, not in the trigger itself. Overall: a serious isolation-defeating primitive for the affected LiteX/userspace configuration, but low fleet-wide urgency. |
| Exploit ScenarioDerived | On a Zephyr build with CONFIG_USERSPACE and the LiteX I2S driver, an unprivileged thread that has been granted access to an I2S device object calls i2s_configure() with frame_clk_freq set to 0 and a forged mem_slab pointer; because the unconfigure path skips the K_SYSCALL_OBJ ownership check, i2s_litex stores the attacker's config and marks the stream READY. The thread then calls i2s_trigger() with I2S_TRIGGER_START, and the RX/TX FIFO interrupt handlers invoke k_mem_slab_alloc()/k_mem_slab_free() on the attacker-chosen pointer in supervisor context, giving a kernel-level arbitrary read/write. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Zephyr RTOS 4.4.0 through 4.4.x builds with CONFIG_USERSPACE can pass an unvalidated user-chosen k_mem_slab pointer into kernel driver context through the I2S configure syscall, yielding a kernel-context read/write primitive on the LiteX I2S path. The z_vrfy_i2s_configure() verifier skips the K_SYSCALL_OBJ() ownership/type check and block_size sanity check when frame_clk_freq is 0; exploitation requires a userspace build, the i2s_litex driver or an out-of-tree driver that retains the caller's configuration on the unconfigure path, and a thread with access to an I2S device object. No public exploit identified at time of analysis; the vendor has released a fix in Zephyr 4.5.0 and merged a v4.4-branch backport.
RemediationAI
Vendor-released patch: upgrade to Zephyr 4.5.0 or later; the fix commit on main is e9898c4d22f69575d9b5f297b3df130ceaff1b8f and the v4.4-branch backport is merged via PR #119090. The advisory is at https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-g43m-x6vj-5cg2. The patch zeroes config.mem_slab and config.block_size on the unconfigure path so drivers never receive an unvalidated pointer while still permitting unconfigure by callers that do not own a memory slab. If upgrading is not immediately possible, disable CONFIG_USERSPACE on builds that do not require userspace isolation, or do not deploy the i2s_litex driver and audit any out-of-tree I2S driver that retains configuration on the unconfigure path; these remove exposure but sacrifice userspace isolation or the LiteX I2S functionality. Restricting I2S device object access to trusted threads reduces reachability but does not repair the underlying verifier gap.
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
The bug sits in the user-mode syscall verification layer for the I2S subsystem, where a struct i2s_config crosses the user/kernel boundary and includes a struct k_mem_slab * that kernel code is entitled to trust. On the frame_clk_freq == 0 'unconfigure the stream' path, the pre-fix verifier jumped to z_impl_i2s_configure() without K_SYSCALL_OBJ(config.mem_slab, K_OBJ_MEM_SLAB) validation or a block_size check, so an unprivileged thread could supply an arbitrary pointer. Most in-tree drivers clear or reject the stored configuration, but drivers/i2s/i2s_litex.c logs only a warning for a mismatched frame clock, memcpy()s the attacker config into stream->cfg, and later reaches k_mem_slab_alloc()/k_mem_slab_free() from RX/TX interrupt handlers after i2s_trigger(I2S_TRIGGER_START). The flaw is CWE-787 (out-of-bounds write) in class because kernel code then reads and writes memory relative to the attacker-chosen pointer, including slab->lock, slab->free_list and a block link word; reliable arbitrary write further requires crafting a pointer whose slab layout is controlled. Builds without CONFIG_USERSPACE are unaffected because the verifier is not used.
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:H/A:H
Local userspace thread (AV:L, PR:L); reliable primitive needs crafted kernel-pointer/slab layout and the LiteX driver, so AC:H; crosses userspace→kernel boundary (S:C) with full kernel read/write (C/I/A:H).
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
The user-mode syscall verifier z_vrfy_i2s_configure() in drivers/i2s/i2s_handlers.c copies the caller's struct i2s_config in from user memory and then, when cfg->frame_clk_freq is 0 (the API's "unconfigure the stream" request), jumps straight to z_impl_i2s_configure() without performing the K_SYSCALL_OBJ(config.mem_slab, K_OBJ_MEM_SLAB) ownership/type check or the block_size sanity check. The mem_slab field is a struct k_mem_slab *, so on that path a completely unvalidated, user-chosen pointer reaches driver code that is entitled to trust it as a real kernel object.
Any thread running under CONFIG_USERSPACE that has access to an I2S device object can trigger this with a single i2s_configure() call. Most in-tree drivers special-case frame_clk_freq == 0 and never store the caller's structure, but drivers/i2s/i2s_litex.c does not: i2s_litex_configure() only logs a warning for a mismatched frame clock, then memcpy()s the caller's config into stream->cfg and marks the stream I2S_STATE_READY. A subsequent i2s_trigger() with I2S_TRIGGER_START enables the FIFO interrupt, and the interrupt handlers i2s_litex_isr_rx() / i2s_litex_isr_tx() then call k_mem_slab_alloc() and k_mem_slab_free() on the attacker-supplied pointer in supervisor context.
The result is an arbitrary-pointer read/write primitive executed by the kernel on behalf of an unprivileged thread - k_mem_slab_alloc() takes a spinlock at slab->lock and reads and writes slab->free_list and the link word inside the returned "block" - which defeats the CONFIG_USERSPACE isolation boundary entirely. The same missing validation is a hazard for out-of-tree I2S drivers that retain the configuration on the unconfigure path. Builds without CONFIG_USERSPACE are unaffected, since the verifier is not used.
The fix zeroes config.mem_slab and config.block_size on the unconfigure path so the driver can never receive an unvalidated pointer, while still allowing a stream to be unconfigured by a caller that does not own a memory slab, as the API documents.
Technical POC Analysis
CWE-787 (out-of-bounds write), realized here as a missing-validation / unvalidated-pointer flaw in a syscall verifier.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in Zephyr RTOS (CVE-2026-87039) could allow a user-space thread to gain kernel-level read/write access on devices using the I2S audio interface with userspace enabled. This impacts product lines built on Zephyr 4.4.x with CONFIG_USERSPACE, potentially compromising device integrity and data confidentiality; leadership should prioritize remediation to avoid costly recalls or security incidents.
Apply vendor patch.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
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-116743
NVD
CVE.org
EPSS
GitHub
Exploit-DB