CVE-2026-104378
8.8HighPublished Nov 29, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-787
What an attacker gets
Local attackers can escalate privileges or cause a kernel panic by triggering a buffer overflow in the I3C controller driver. This requires the attacker to have access to the I3C controller device node.
Root cause
The dw_i3c_do_ccc function fails to validate the number of targets against the command descriptor array size, leading to an out-of-bounds write in kernel memory.
Affected versions
Zephyr RTOS versions prior to the fix in commit a7986d606ce0a78060abf1ac37f2dfc69568c7a5.
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Fix & remediation
Update to the latest Zephyr release containing the fix. If you cannot update, disable CONFIG_USERSPACE or restrict access to the I3C controller device nodes.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1304778.8HighLocal unprivileged users can gain full kernel-mode code execution and bypass memory isolation. This requires the ability to create threads and trigger syscalls in an environment with userspace support enabled.
- CVE-2026-1043767.7HighLocal attackers can corrupt kernel memory and escape userspace isolation to gain supervisor-mode privileges. This requires the Zephyr kernel to be built with CONFIG_OBJ_CORE, CONFIG_USERSPACE, and CONFIG_DYNAMIC_OBJECTS enabled.
- CVE-2026-1054157.0HighLocal unprivileged users can trigger a kernel memory write and potential privilege escalation. This requires the device to have CONFIG_USERSPACE enabled and the user to have access to the MCPWM device.
- CVE-2026-1029577.7HighLocal unprivileged users can trigger kernel memory corruption and potentially escalate privileges. This occurs when a user-mode thread calls pwm_capture_cycles with a K_NO_WAIT timeout on a system with CONFIG_USERSPACE and CONFIG_PWM_CAPTURE enabled.
- CVE-2026-958267.5HighAn adjacent attacker can cause kernel memory corruption and potential code execution. They need to be on the same local network to send a malicious Router Advertisement to trigger the buffer overflow.
- CVE-2026-13836210.0CriticalRemote unauthenticated attackers can achieve full system compromise via a stack-based buffer overflow. This requires network access to the device's web interface.