Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
zephyrproject zephyr
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

下面是这段描述信息的中文翻译(尽量忠实于原文,保留内核路径、宏名和结构体名): Synopsys DesignWare I3C 控制器驱动(drivers/i3c/i3c_dw.c)在调用 dw_i3c_do_ccc() 发起直接 CCC 时,会为每个目标构建一个命令描述符。它把 payload->targets.num_targets 存储进 xfer->ncmds,并为每个目标填充 xfer->cmds[i],但并未将该数量与 cmds[] 数组大小(DW_I3C_MAX_CMD_BUF_SIZE,16 项)进

CVSS 8.8 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-104378

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Out-of-bounds write in DesignWare I3C driver direct CCC handling via unbounded target count
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
zephyrproject zephyr 4.1.0 ~ 4.3.2 -

II. Public POCs for CVE-2026-104378

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-104378

请登录查看更多情报信息。

Other References for CVE-2026-104378 (2)

Same Patch Batch · zephyrproject · 2026-11-29 · 10 CVEs total

CVE-2026-130477 8.8 HIGH Kernel user mode: dynamic thread and stack objects can be freed while their thread is stil
CVE-2026-104376 7.7 HIGH Use-after-free write through dangling object-core list node in Zephyr kernel obj_core
CVE-2026-105415 7.0 HIGH Out-of-bounds write via unchecked channel index in ESP32 MCPWM PWM driver set_cycles sysca
CVE-2026-104929 6.5 MEDIUM Remote Bluetooth RX livelock in STM32WBA HCI driver when receive errors are reported as bu
CVE-2026-95821 6.5 MEDIUM Dangling stack pointer left installed as TCP receive callback after a failed SOCKS5 handsh
CVE-2026-102961 5.9 MEDIUM Race between IP fragment reassembly and its timeout handler causes use-after-free in the Z
CVE-2026-104930 5.9 MEDIUM STM32 Ethernet driver (HAL API v2) RX path stalls permanently after a dropped frame
CVE-2026-104379 5.9 MEDIUM Use-after-free of transmitted IPv6 packet in Zephyr net_if_try_send_data
CVE-2026-104377 3.7 LOW Out-of-bounds read via unterminated TFTP ERROR message in Zephyr TFTP client

IV. Related Vulnerabilities