CVE-2026-93670
Awaiting Analysis Awaiting Analysis - Queue

Buffer Overflow in Synopsys DesignWare I3C Controller Driver

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

Publication date: 2026-11-16

Last updated on: 2026-11-16

Assigner: Zephyr Project

Description

The Synopsys DesignWare I3C controller driver (drivers/i3c/i3c_dw.c) tracks free Device Address Table (DAT) slots with get_free_pos(), which signals an exhausted table by returning -1. The helper declared its return type as uint8_t, so the sentinel was truncated to 255, and both consumers (dw_i3c_attach_device() and dw_i3c_i2c_attach_device()) also stored it in a uint8_t before testing if (pos < 0) β€” a comparison that is never true for an unsigned value. The exhaustion guard was therefore inert in every build. With the guard defeated, an attach attempted on a full DAT proceeds with pos == 255: it writes data->dw_i3c_i2c_priv_data[255].id, more than 200 bytes past the end of the 32-element dw_i3c_i2c_priv_data array and past the end of struct dw_i3c_data; it stores the resulting out-of-bounds address in desc->controller_priv, from which later detach, reattach and IBI operations read the slot index back; and it performs a 32-bit MMIO store 1020 bytes beyond the hardware DAT base, outside the table the controller reports. The attach still returns success, so the upper layer believes the device is bound. The DAT is smaller than the software array (its depth is read from DEVICE_ADDR_TABLE_POINTER, commonly 8 or 16 entries), so exhaustion is reachable. In a dual-role build (CONFIG_I3C_DUAL_ROLE with CONFIG_I3C_USE_IBI) acting as a secondary controller, the attach count is supplied by the bus's active controller: i3c_sec_handoffed() attaches one device per entry of the received DEFTGTS list, so a hostile or malfunctioning controller on the local I3C bus that declares more targets than the local DAT depth triggers the condition once per surplus entry. Exhaustion can also be reached from a devicetree that declares more devices than the table holds, or by repeated i3c attach shell commands. Impact is bounded: the out-of-bounds store is a single byte of fixed value at a fixed displacement, with no attacker-chosen data or offset, so the realistic outcomes are corruption of neighbouring static driver state, writes into reserved controller registers, and inconsistent driver bookkeeping (a crash or a wedged I3C bus) rather than a controllable memory-write primitive. The attack vector is the local chip-to-chip I3C bus; there is no network-reachable path.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
zephyrproject zephyr From 4.1.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-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in the Synopsys DesignWare I3C controller driver. It involves a type mismatch where a function returns -1 to indicate an error, but the return type is uint8_t, causing -1 to be truncated to 255. This bypasses checks for a full Device Address Table (DAT), leading to out-of-bounds writes when attaching devices.

Detection Guidance

This vulnerability is specific to the Synopsys DesignWare I3C controller driver and requires local access to the I3C bus. Detection involves checking for out-of-bounds writes or driver crashes during device attachment. Monitor kernel logs for I3C-related errors or crashes after attaching multiple devices. Check if the DAT is exhausted by verifying the number of attached devices against the table depth.

Impact Analysis

The vulnerability can cause memory corruption, writes to reserved controller registers, and inconsistent driver state. This may lead to crashes, a wedged I3C bus, or unpredictable behavior. The attack requires local access to the I3C bus.

Mitigation Strategies

Apply a patch from the Synopsys DesignWare I3C driver maintainers to fix the uint8_t return type issue. Limit the number of devices attached to the I3C bus to not exceed the DAT depth. Disable dual-role mode (CONFIG_I3C_DUAL_ROLE) if not required. Review devicetree configurations to ensure declared devices do not exceed the DAT size.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-93670. 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...