CVE-2026-102949
Awaiting Analysis Awaiting Analysis - Queue

Race Condition in Intel SEDI I2C Controller Driver

Vulnerability report for CVE-2026-102949, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-23

Last updated on: 2026-11-23

Assigner: Zephyr Project

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-23
Last Modified
2026-11-23
Generated
2026-11-23
AI Q&A
2026-11-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
zephyrproject zephyr From 3.5.0 (inc) to 4.3.2 (exc)
zephyrproject zephyr From 4.4.0 (inc) to 4.5.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a use-after-return vulnerability in the Intel SEDI I2C controller driver for Zephyr RTOS. When an I2C transfer times out after 1 second, the completion interrupt may fire just after the timeout but before the abort operation masks interrupts. This incorrectly signals a semaphore, leaving a stale completion token. A later transfer then consumes this stale token, causing it to return while the controller is still accessing the caller's buffer. If the buffer is stack-allocated, this leads to memory corruption as the controller writes data into a returned stack frame.

Detection Guidance

This vulnerability requires physical access to the I2C bus and specific timing conditions to trigger. Detection is challenging as it involves monitoring for use-after-return conditions in kernel or thread stack memory. Check for crashes or memory corruption in I2C driver operations. Review Zephyr RTOS versions between 3.5.0 and 4.3.1 or 4.4.0 and 4.4.9 for affected systems.

Impact Analysis

The vulnerability can cause memory corruption, leading to crashes or potentially arbitrary code execution. Since I2C callers typically use stack-allocated buffers, the controller may write data into a returned stack frame. Exploitation requires physical access to the I2C bus and precise timing, often facilitated by a malicious or tampered peripheral controlling clock stretching.

Mitigation Strategies

Upgrade Zephyr RTOS to versions 4.3.2, 4.5.0, or later which include the patch. Apply the fix from the Zephyr project commit 628c432817b08e43ffa032876f37efd1bc946c13. Ensure no I2C transfers use stack-allocated buffers. Monitor for crashes or memory corruption in I2C operations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-102949. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...