CVE-2026-104378: zephyrproject zephyr Buffer Overflow

CVE-2026-104378

NVDCVSS scored by vulnerabilities@zephyrproject.org

Vulnerability 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 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 Level
HIGH(8.8)
Published Date
Nov 29, 2026
Last Modified
Nov 29, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The product writes data past the end, or before the beginning, of the intended buffer.
CVSS v3.1 Base Metrics — Score 8.8 (HIGH)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • zephyrproject zephyr >= 4.1.0 and < 4.3.2
  • zephyrproject zephyr >= 4.4.0 and < 4.5.0
Patched Versions
  • zephyrproject zephyr 4.3.2
  • zephyrproject zephyr 4.5.0

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run zephyrproject zephyr and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 29, 2026Published
  • Nov 29, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new zephyrproject zephyr CVEsYou are reading CVE-2026-104378. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 29, 2026 20:01 UTC