Zephyr memory corruption via use-after-free in SEDI I2C driver
- Exploited
- No known exploitation
- Fix
- Fixed in 4.3.2, 4.5.0
- Who is exposed
- Not reported
Summary
In Zephyr's Intel SEDI I2C driver, a timing race after a transfer timeout leaves a stale completion token that lets a later transfer return early while the controller is still writing into the caller's buffer. An attacker with physical access to the I2C bus, such as a tampered peripheral that controls clock stretching, can use this to corrupt kernel or thread stack memory with data the peripheral supplies, which may crash the system or possibly lead to code execution, without logging in or any user action.
Written by a model
Original description
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.
What to do
Upgrade to a fixed version: 4.3.2, 4.5.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-102949 (Stale completion after I2C timeout causes use-after-return of transfer buffer in Intel SEDI I2C driver), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-102949 (entry last updated 2026-11-23):
Affected:
- zephyrproject zephyr: from 3.5.0, fixed in 4.3.2; from 4.4.0, fixed in 4.5.0
Fixed versions: 4.3.2, 4.5.0.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-102949 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-102949 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/zephyrproject-rtos/zephyr/commit/628c432817b08e43ffa032876f37efd1bc946c13
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-cq29-vfwj-ph7w
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-102949
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-102949"}.Affected versions
- zephyrFrom 3.5.0 · fixed in 4.3.2; From 4.4.0 · fixed in 4.5.0
cve.now Index
- Exploitation0/40No signal
- Exposure?/25Unknown. No advisory context yet
- Reach?/20Unknown. No tracked technology or package matched
- Severity7.4/10CVSS 6.4, total technical impact per CISA
- No patch0/5No signal
What would change the score
- Would score about 62 if added to CISA KEV
- Would score about 57 if CISA's SSVC rates exploitation active
- Would score about 29 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Evidence 4
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · zephyrproject-rtos/zephyr · Advisory GHSA-cq29-vfwj-ph7w |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-102949 |
| Record | NVD · CVE-2026-102949 |
| Other links 1 | |
| Patch | GitHub · zephyrproject-rtos/zephyr · Commit 628c4328 |
Questions about CVE-2026-102949
Is CVE-2026-102949 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-102949?
zephyr: from 3.5.0 before 4.3.2; from 4.4.0 before 4.5.0.
Source: cve.now feed data
How do I fix CVE-2026-102949?
Upgrade to a fixed version: 4.3.2, 4.5.0.
Source: cve.now feed data
Related
- CVE-2026-100374Missing user buffer validation in SMBus block read and block process call syscalls allows kernel memory writes
- CVE-2026-95826Out-of-bounds write in the SMSC911x Ethernet driver when transmitting frames larger than the staging buffer
- CVE-2026-95823Use-after-free and net_buf leak in Zephyr TCP header linearization (tcp_pkt_linearize)
- CVE-2026-102954Out-of-bounds write from peripheral-supplied block count in STM32 SMBus driver
- CVE-2026-102951Agilex5 System Manager registers mapped read/write for user mode threads
- CVE-2026-95827Network packet reference leak in IPv6 Router Advertisement handling leads to buffer pool exhaustion
No corrections so far. Something wrong on this page? Report an error.