Home › CVE › Operating systems
CVE-2026-104378 — zephyrproject zephyr
One of 10 zephyrproject zephyr vulnerabilities published together by NVD: our article covers all of them.
Operating systemsVulnerabilitiesSummary
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 overflowing descriptors contain values the caller largely controls (data length, defining byte, CCC id, a user buffer pointer and transfer lengths). They overwrite the rest of the driver data, including the device-index table, the deftgts_work work item and device pointer when both controller and target roles are enabled, and any memory that follows. This lets an unprivileged thread corrupt kernel memory, which can lead to privilege escalation or denial of service. In-kernel callers in the tree only issue single-target direct CCCs, so builds without CONFIG_USERSPACE are only exposed to their own application code.
Severity breakdown
High · 8.8
An attacker with a normal user account can exploit this with local access, without any user action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- high on confidentiality, integrity and availability
Weakness
- CWE-787: Out-of-bounds Write
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| zephyrproject zephyr | ≥ 4.1.0, < 4.3.2 | 4.3.2 |
| ≥ 4.4.0, < 4.5.0 | 4.5.0 |
References by type
Vendor advisories
Patches and fixed releases
Affected
- zephyrproject zephyr
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-104378?
The Synopsys DesignWare I3C controller driver (drivers/i3c/i3cdw.c) builds one command descriptor per target when issuing a direct CCC in dwi3cdoccc(). It stored payload->targets.numtargets in xfer->ncmds and filled xfer->cmds[i] for every target without checking the count against the size of the cmds[] array (DWI3CMAXCMDBUFSIZE, 16 entries). Weakness type: Out-of-bounds Write (CWE-787).
How severe is CVE-2026-104378?
CVE-2026-104378 has a CVSS 3.1 base score of 8.8 (high), from the CNA (zephyrproject.org). An attacker with a normal user account can exploit this with local access, without any user action.
Is CVE-2026-104378 being exploited?
Not as far as is known: CVE-2026-104378 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026.
Which versions are affected by CVE-2026-104378?
zephyrproject zephyr ≥ 4.1.0, < 4.3.2 (fixed in 4.3.2); zephyrproject zephyr ≥ 4.4.0, < 4.5.0 (fixed in 4.5.0).
How do I fix CVE-2026-104378?
Update to a fixed release: zephyrproject zephyr 4.3.2; zephyrproject zephyr 4.5.0.