CVE-2026-100374
Awaiting Analysis Awaiting Analysis - Queue

Buffer Overflow in Zephyr RTOS SMBus Handler

Vulnerability report for CVE-2026-100374, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-23

Last updated on: 2026-11-23

Assigner: Zephyr Project

Description

The system call verification handlers for smbus_block_read() and smbus_block_pcall() in drivers/smbus/smbus_handlers.c (z_vrfy_smbus_block_read() and z_vrfy_smbus_block_pcall()) validated the device object, the count pointers and (for process call) the send buffer, but never validated the receive buffer (buf / rcv_buf). The call then proceeds into the driver implementation, which runs in supervisor mode and writes the bytes received from the SMBus peripheral through that pointer. A user-mode thread on a system built with CONFIG_USERSPACE that has been granted access to an SMBus device object can pass an arbitrary address, including kernel data or another thread's memory, as the receive buffer. The driver then writes up to SMBUS_BLOCK_BYTES_MAX (32) bytes of peripheral-supplied data there (the STM32 driver writes as many bytes as the peripheral's length byte announces, up to 255). The address is fully attacker-chosen; the written content comes from the bus and is typically influenceable by the caller through the choice of peripheral and command, or by first writing data to a device that echoes it back. This breaks the user/kernel isolation boundary: it gives an unprivileged thread a kernel-memory write primitive usable for privilege escalation, or at minimum to corrupt kernel state or crash the system. The fix adds K_SYSCALL_MEMORY_WRITE() checks of the receive buffer for the documented worst case, SMBUS_BLOCK_BYTES_MAX. Systems without CONFIG_USERSPACE are not affected.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-23
Last Modified
2026-11-23
Generated
2026-11-23
AI Q&A
2026-11-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
zephyrproject zephyr From 3.4.0 (inc) to 4.5.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-822 The product obtains a value from an untrusted source, converts this value to a pointer, and dereferences the resulting pointer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-100374 is a vulnerability in the Zephyr RTOS where system call handlers for SMBus block read and block process call operations fail to validate the receive buffer passed by user-mode threads. This allows an attacker with access to an SMBus device to write up to 32 bytes of kernel memory by providing an arbitrary address as the receive buffer. The driver, running in supervisor mode, writes peripheral-supplied data to this unvalidated buffer, breaking user/kernel isolation.

Detection Guidance

To detect this vulnerability, check if your Zephyr RTOS version is between 3.4.0 and 4.4.0. Run 'git log --oneline --all | grep 2206109f3f705bcb6ba415a54c1c9ace8cb9779e' to see if the fix commit is present. If not, the system is vulnerable.

Impact Analysis

This vulnerability can lead to privilege escalation, kernel state corruption, or system crashes. An unprivileged user thread can exploit it to write arbitrary data to kernel memory, potentially gaining elevated privileges or causing denial-of-service conditions. The impact is limited to systems built with CONFIG_USERSPACE enabled.

Mitigation Strategies

Upgrade Zephyr RTOS to version 4.5.0 or later. If upgrading is not immediately possible, disable CONFIG_USERSPACE to prevent unprivileged threads from accessing SMBus devices.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-100374. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...