Skip to main content
Menu
CVEs

Zephyr out-of-bounds write in DesignWare I3C driver CCC handling

Affects Zephyr 4.1.0 to 4.3.2 and 4.4.0 to 4.5.0 on builds with CONFIG_USERSPACE that use the DesignWare I3C driver. Fixed in 4.3.2 and 4.5.0.

CVE-2026-104378Published November 29, 2026, updated

8.8HighCNA
Exploited
No known exploitation
Fix
Fixed in 4.3.2, 4.5.0
Who is exposed
Specific setups only

Summary

The Zephyr DesignWare I3C controller driver writes past the end of its command buffer when a direct CCC request names more than 16 targets. A local, low-privileged user-mode thread that has access to the I3C controller device can trigger this on builds with user mode enabled, corrupting kernel memory and potentially gaining privilege or causing a denial of service.

Written by a model

Original description

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.

Who should check

Teams shipping Zephyr 4.1.0 to before 4.3.2, or 4.4.x before 4.5.0, with the Synopsys DesignWare I3C driver and CONFIG_USERSPACE enabled.

“>= 4.1.0, < 4.3.2; >= 4.4.0, < 4.5.0”

github.com

What to do

  1. Check whether your setup matches what the bug needs.

    Zephyr versions 4.1.0 up to 4.3.2 and 4.4.0 up to 4.5.0 (affected range) Synopsys DesignWare I3C driver issues a direct CCC addressing more than 16 targets Build has CONFIG_USERSPACE enabled
  2. Upgrade to a fixed version: 4.3.2, 4.5.0.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-104378 (Out-of-bounds write in DesignWare I3C driver direct CCC handling via unbounded target count), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-104378 (entry last updated 2026-11-29):
Affected:
- zephyrproject zephyr: from 4.1.0, fixed in 4.3.2; from 4.4.0, fixed in 4.5.0
Fixed versions: 4.3.2, 4.5.0.
Conditions (all must be true for the bug to be hit):
- Zephyr versions 4.1.0 up to 4.3.2 and 4.4.0 up to 4.5.0 (affected range) (source: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gfvp-74wv-q953)
- Synopsys DesignWare I3C driver issues a direct CCC addressing more than 16 targets (source: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gfvp-74wv-q953)
- Build has CONFIG_USERSPACE enabled (source: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gfvp-74wv-q953)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-104378 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-104378 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/zephyrproject-rtos/zephyr/commit/a7986d606ce0a78060abf1ac37f2dfc69568c7a5
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gfvp-74wv-q953
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-104378
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-104378"}.

Affected versions

cve.now Index

14Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure5/25Specific setups only
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity8.8/10CVSS 8.8
  • No patch0/5No signal

What would change the score

  • Would score about 64 if added to CISA KEV
  • Would score about 59 if CISA's SSVC rates exploitation active
  • Would score about 24 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 4

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
AdvisoryGitHub · zephyrproject-rtos/zephyr · Advisory GHSA-gfvp-74wv-q953
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-104378
RecordNVD · CVE-2026-104378
Other links 1
PatchGitHub · zephyrproject-rtos/zephyr · Commit a7986d60

Questions about CVE-2026-104378

Is CVE-2026-104378 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

A direct CCC addressing more than 16 targets makes the Synopsys DesignWare I3C driver write command descriptors past the end of a buffer. The advisory says an unprivileged thread can corrupt kernel memory, which can lead to privilege escalation or denial of service.

Source: github.com

Which versions are affected by CVE-2026-104378?

zephyr: from 4.1.0 before 4.3.2; from 4.4.0 before 4.5.0.

Source: cve.now feed data

Am I affected, and how do I check?

Zephyr 4.1.0 up to 4.3.2 and 4.4.0 up to 4.5.0, on builds with CONFIG_USERSPACE enabled that issue a direct CCC to more than 16 targets through the DesignWare I3C driver. To check, look at the Zephyr version in use and whether CONFIG_USERSPACE is set in the build configuration.

Source: github.com

How do I fix CVE-2026-104378?

Upgrade to Zephyr 4.3.2 for the 4.1 and 4.3 line, or to 4.5.0 for the 4.4 line. The facts do not name vendor patch ids or a workaround.

Source: github.com

No corrections so far. Something wrong on this page? Report an error.