CVE-2026-104378: Out-of-bounds write in DesignWare I3C driver direct CCC handling via unbounded target count

Published Nov 29, 2026
·
Updated

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). A direct CCC with more than 16 targets wrote command descriptors past the end of struct dwi3cxfer, which is embedded in the driver's per-instance struct dwi3cdata.

i3cdoccc() is a system call. On builds with CONFIGUSERSPACE, a user-mode thread that has been granted access to the I3C controller device can supply the payload. In released versions the zvrfyi3cdoccc() handler only checked that the caller's target array was accessible user memory and placed no upper bound on numtargets; 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 deftgtswork 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 CONFIGUSERSPACE are only exposed to their own application code.

Affected Software

1 affected component
Zephyr Project Zephyr

Event History

Nov 29, 2026
CVE Published
via MITRE·08:56 PM
Data Sourced
via MITRE·08:56 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to unprivileged exploitation?

Builds with CONFIG_USERSPACE are exposed when a user-mode thread has been granted access to an I3C controller device. The vulnerable path is reachable through the i3c_do_ccc() system call.

2

What does an attacker need to trigger the overwrite?

The caller needs access to the I3C controller device and must submit a direct CCC with more than 16 targets. Each target only needs to use an address already known to the controller; the same address may be repeated, and no bus transaction is required before the writes occur.

3

What can be done before applying the fix?

Do not grant user-mode threads access to affected I3C controller devices, or otherwise prevent them from invoking direct CCC operations. This removes the stated unprivileged entry point to the vulnerable driver path.

4

How can I identify potentially affected usage?

Check whether CONFIG_USERSPACE is enabled and whether any user-mode threads have permission to access an I3C controller device. Review direct CCC calls for payloads whose target count can exceed 16, including counts formed from user-controlled input.

5

Is there a fix reference available?

The provided fix reference is commit a7986d606ce0a78060abf1ac37f2dfc69568c7a5 in the Zephyr repository. The advisory reference is GHSA-gfvp-74wv-q953.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203