CVE-2026-102949: Stale completion after I2C timeout causes use-after-return of transfer buffer in Intel SEDI I2C driver

Published Nov 23, 2026
·
Updated

The Intel SEDI I2C controller driver (drivers/i2c/i2csedi.c, used on Intel ISH platforms) waits for each asynchronous transfer with ksemtake() on a per-controller completion semaphore and a 1 s timeout. When the wait times out, i2csediapifullio() aborts the transfer via SEDII2CABORTTRANSFER, but if the controller's completion interrupt fires between the timeout expiring and the abort masking interrupts, the callback ksemgive()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 ksemreset() and clears context->err after the abort, while the transfer mutex is still held.

Affected Software

1 affected component
Intel SEDI I2C driver

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the Intel SEDI I2C driver, after aborting a timed-out transfer and while the transfer mutex is still held, call k_sem_reset() and clear context->err.

Event History

Nov 23, 2026
CVE Published
via MITRE·06:02 PM
Data Sourced
via MITRE·06:02 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Systems using the Intel SEDI I2C driver on Intel ISH platforms are exposed when an I2C peripheral can influence bus timing, such as through clock stretching.

2

What does an attacker need to exploit the race?

The attacker needs physical access to, or control of, an I2C device on the affected bus that can steer a transfer to complete just after the driver's one-second timeout. The supplied vector indicates no privileges or user interaction are required, but exploitation has high complexity.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203