CVE-2026-104378 - Out-of-bounds write in DesignWare I3C driver direct CCC handling via unbounded target count
Vulnerability · Reported by NVD · · CWE-787
- Severity
- High Risk score 88/100
- CVSS
- 8.8 v3.1 · from NVD
- Exploit chance (EPSS)
- – Not available yet
- Known exploited
- No Not in CISA KEV
Summary
The Synopsys DesignWare I3C controller driver (drivers/i3c/i3c_dw.c) builds one command descriptor per target when issuing a direct CCC in dw_i3c_do_ccc(). It stored payload->targets.num_targets in xfer->ncmds and filled xfer->cmds[i] for every target without checking the count against the size of the cmds[] array (DW_I3C_MAX_CMD_BUF_SIZE, 16 entries). A direct CCC with more than 16 targets wrote command descriptors past the end of struct dw_i3c_xfer, which is embedded in the driver's per-instance struct dw_i3c_data. i3c_do_ccc() is a system call. On builds with CONFIG_USERSPACE, a user-mode thread that has been granted access to the I3C controller device can supply the payload. In released versions the z_vrfy_i3c_do_ccc() handler only checked that the caller's target array was accessible user memory and placed no upper bound on num_targets; the driver therefore performed the out-of-bounds writes in supervisor mode. The only requirement for each target is an address the controller already knows (the same address may be repeated), and the writes happen before any bus transaction. The overflo
How this vulnerability can be exploited
This is a out-of-bounds write flaw (CWE-787). An attacker can exploit this vulnerability with local access to the system, with a low-privileged account, and without any action from a user. Attack complexity is low, so no special conditions are needed. If successful, the attacker could read sensitive data, modify data or code and crash or disrupt the service. The impact can spread beyond the vulnerable component to other parts of the system.
Is it being exploited?
There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.
Patch priority and what to do
Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Tags
CVE-2026-104378
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-104378 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.