HackerFeeds
All CVEs

CVE-2026-104378: Out-of-bounds Write

HIGH8.8

Published 2026-11-29 · Updated 2026-12-03 · Source vulnerabilities@zephyrproject.org

Not known to be exploited · high severity — apply the vendor fix or mitigation in your next patch cycle.

What to do

  1. Check the references below for the vendor's patched release of the affected product and apply it.
  2. Until it is patched, limit who has a local account on systems running the affected product.
  3. Avoid processing untrusted input with the affected component until it is updated.

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality, integrity and availability is rated high. A successful attack can affect components beyond the vulnerable one.

CVSS 3.1 metrics for CVE-2026-104378
Attack vectorLocalExploiting it requires local access to the system, or getting a user to open a crafted file.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredLowThe attacker needs an ordinary low-privileged account.
User interactionNoneNo action by a victim is needed.
ConfidentialityHighTotal loss of confidentiality.
IntegrityHighTotal loss of integrity.
AvailabilityHighTotal loss of availability.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Weakness: Out-of-bounds Write

The software writes past the end of a buffer, corrupting memory in a way that can crash it or allow code execution.

Classified as CWE-787.

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.

Advisory text as published in the NVD record.

View on NVD