Skip to main content

Zephyr RTOS CVE-2026-102949

| EUVDEUVD-2026-133379 MEDIUM
Use After Free (CWE-416)
2026-11-23 zephyr
6.4
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

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

  1. Recon
    Attach malicious I2C peripheral to bus
  2. Delivery
    Clock-stretch to delay transfer past 1s timeout
  3. Exploit
    Fire completion between timeout and abort
  4. Install
    Leave stale semaphore token uncleared
  5. C2
    Next transfer consumes stale token, returns early
  6. Execute
    ISR/DMA writes attacker bytes into returned stack frame
  7. Impact
    Stack corruption, crash or code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
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 a device physically present on the I2C bus of an Intel ISH platform that can control clock stretching (e.g. a malicious or tampered peripheral) to delay a transfer so its completion interrupt lands in the race window between the 1 s k_sem_take timeout expiring and SEDI_I2C_ABORT_TRANSFER masking interrupts; the attacker peripheral also supplies the bytes written. The affected driver is intel,sedi-i2c, in-tree used only by Intel ISH (dts/x86/intel/intel_ish5.dtsi). Exploitation is strongly LIMITED by: physical bus access (AV:P), the probabilistic timing win per transfer (AC:H - a completion must land just after the timeout), and the requirement that a subsequent transfer reuse the controller while the stale operation is still running. No software authentication or user interaction is needed. Present since the driver was added in v3.5.0; fully remediated only by updating to 4.3.2 or 4.5.0 (the advisory lists no mitigation other than the fix).

Impact

This is a genuine use-after-return/stale-token race (CWE-416) but a low-urgency one in practice, and the signals are internally consistent rather than conflicting. The CVSS 3.1 vector (AV:P/AC:H/PR:N/UI:N) tells the real story: exploitation requires PHYSICAL presence on the I2C bus and a high-complexity timing win (a transfer must complete just after the fixed 1 s k_sem_take timeout), which is why the base score sits at 6.4 (Medium) despite full C:H/I:H/A:H impact. No EPSS score was provided; KEV status is NO (not CISA-listed); and no public exploit was identified in the input - only a vendor advisory and patch commit, which are not exploit code. SSVC-style signals align with the vendor's own 'this_month' decision label: real but not emergency. The PR:N is defensible because the 'attacker' is a malicious or tampered peripheral on the bus that needs no software authentication, not a logged-in user - but note this means the threat model is a hardware/supply-chain adversary, not a remote network attacker. Bottom line: a credible local-hardware memory-corruption bug worth patching on schedule, not a drop-everything network-exploitable flaw; the AV:P physical requirement is the dominant risk-limiting factor and should be weighed against the theoretical code-execution impact.

Exploit ScenarioDerived

A malicious or tampered I2C peripheral attached to an Intel ISH platform uses clock stretching to steer a transfer so that its completion interrupt fires in the narrow window just after the driver's 1 s timeout but before the abort masks interrupts, leaving a stale semaphore token. The next transfer on that bus immediately consumes the stale token, returns success while the controller is still running, and the HAL ISR/DMA keeps writing peripheral-controlled bytes into a stack buffer that has already been returned from - corrupting kernel/thread stack memory for a crash or potential code execution. No public exploit code was identified at time of analysis; triggering is timing-dependent and requires physical bus access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 23, 2026

Stack memory corruption in the Zephyr Intel SEDI I2C driver (drivers/i2c/i2c_sedi.c) lets a peripheral that controls clock stretching steer a transfer to complete just after the driver's 1 s k_sem_take() timeout, leaving a stale completion token on the per-controller semaphore; the next transfer consumes that token, reports success immediately, and the HAL ISR then keeps writing received bytes into the caller's already-returned stack buffer. Affected are Zephyr >= 3.5.0, < 4.3.2 and >= 4.4.0, < 4.5.0, but only builds using the intel,sedi-i2c driver on Intel ISH platforms. The assessed vector is CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (6.4), reflecting the need for physical access to the bus and a probabilistic timing win; no public exploit code has been identified at time of analysis, and no CISA KEV entry applies.

RemediationAI

Update to Zephyr 4.3.2 or 4.5.0, the releases in which the advisory states the issue is fixed; the patch is commit 628c432817b08e43ffa032876f37efd1bc946c13 on main (PR #119674), with backports merged on v4.4-branch (PR #120918), v4.3-branch (PR #120917) and v3.7-branch (PR #120916), so downstream users on a maintained branch should pick up that branch's backport if they cannot move to 4.3.2 or 4.5.0. The advisory lists no mitigation other than the fix, so there is no documented configuration workaround; the practical exposure limitation is that only products instantiating intel,sedi-i2c on Intel ISH hardware are affected, which bounds the blast radius for everyone else. Consult https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-cq29-vfwj-ph7w for the authoritative patch table.

Affected VersionsENISA

Zephyr 4.4.0 <4.5.0
Zephyr 3.5.0 <4.3.2

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

The Intel SEDI I2C controller driver is a Zephyr RTOS I2C driver used on Intel ISH platforms (in-tree device tree users are listed in dts/x86/intel/intel_ish5.dtsi). It serialises transfers with a mutex and waits for asynchronous hardware completion on a per-controller semaphore, declared with count 0 and limit 1, via k_sem_take() with a 1 s timeout. The completion callback sets context->err and unconditionally k_sem_give()s that semaphore from ISR context. On timeout, i2c_sedi_api_full_io() issues SEDI_I2C_ABORT_TRANSFER, which the Intel HAL (bsp_sedi/drivers/i2c/sedi_i2c_dw_apb_200a.c) implements by masking interrupts and aborting DMA, but it never touches the Zephyr semaphore. The flaw is therefore a bookkeeping desynchronisation mapped to CWE-416: the ISR path that writes FIFO bytes into context->buf continues to target the caller's buffer after the caller has returned, producing a use-after-return of a stack frame. The fix adds k_sem_reset() and clears context->err after the abort, while the transfer mutex is still held. The defect was introduced with the driver in commit b774b97ff92 and first shipped in v3.5.0. The trigger mechanism beyond 'a completion interrupt lands between timeout expiry and the abort masking interrupts' is described in the advisory; it explicitly requires a bus device able to control clock stretching to steer the timing.

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 6.4 MEDIUM
AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.4 MEDIUM

Attacker is an unauthenticated peripheral on the physical bus (AV:P, PR:N), success depends on winning a narrow timing race via clock stretching (AC:H), and controlled stack corruption yields full C/I/A impact.

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

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

Attack Vector
Physical
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

The Intel SEDI I2C controller driver (drivers/i2c/i2c_sedi.c, used on Intel ISH platforms) waits for each asynchronous transfer with k_sem_take() on a per-controller completion semaphore and a 1 s timeout. When the wait times out, i2c_sedi_api_full_io() aborts the transfer via SEDI_I2C_ABORT_TRANSFER, but if the controller's completion interrupt fires between the timeout expiring and the abort masking interrupts, the callback k_sem_give()s the semaphore and the token is never discarded.

The next transfer on that bus then takes the stale token immediately and returns success (the stale context->err is usually 0) while the controller is still executing it. The HAL interrupt handler (or DMA) keeps copying received bytes into the caller's msgs[i].buf. Since I2C callers typically pass stack buffers, this writes into a stack frame that has already been returned from, and the caller also consumes incomplete data. The desynchronization can persist across later transfers.

Triggering the race requires a transfer to complete just after the 1 s timeout. A device on the I2C bus that controls clock stretching (for example a malicious or tampered peripheral) can steer this timing, and it also supplies the bytes that get written. Exploitation therefore needs physical access to the bus and is timing-dependent. The impact is corruption of kernel or thread stack memory with data the peripheral controls, which can lead to a crash or potentially to code execution. The fix calls k_sem_reset() and clears context->err after the abort, while the transfer mutex is still held.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
driver limited to Intel ISH platforms; narrow hardware-specific footprint within Zephyr
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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