Zephyr kernel memory write in SMBus block syscalls
Affects Zephyr from 3.4.0 before 4.5.0 only when built with CONFIG_USERSPACE and a user-mode thread has access to an SMBus device object. Fixed in 4.5.0.
- Exploited
- No known exploitation
- Fix
- Fixed in 4.5.0
- Who is exposed
- Specific setups only
Summary
In Zephyr, the SMBus block read and block process call handlers did not check the receive buffer, so a low-privileged local user-mode thread that has access to an SMBus device can make the kernel write bus data to an address it chooses. This allows kernel memory writes that could be used to escalate privileges, corrupt kernel state, or crash the system.
Written by a model
Original 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.
Who should check
Teams running Zephyr 3.4.0 up to 4.5.0 with CONFIG_USERSPACE and an SMBus driver (e.g. Intel PCH, STM32, ITE IT51xxx) that expose SMBus devices to user threads
Not fixed by: Release lines that have not taken the backport remain affected.
“>= 3.4.0, < 4.5.0”
What to do
Check whether your setup matches what the bug needs.
Zephyr built with CONFIG_USERSPACE enabled The user-mode thread has been granted access to an SMBus device object Systems without CONFIG_USERSPACE are not affectedUpgrade to a fixed version: 4.5.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-100374 (Missing user buffer validation in SMBus block read and block process call syscalls allows kernel memory writes), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-100374 (entry last updated 2026-11-23):
Affected:
- zephyrproject zephyr: from 3.4.0, fixed in 4.5.0
Fixed versions: 4.5.0.
Conditions (all must be true for the bug to be hit):
- Zephyr built with CONFIG_USERSPACE enabled (source: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-jm6g-v88h-f7c6)
- The user-mode thread has been granted access to an SMBus device object (source: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-jm6g-v88h-f7c6)
- Systems without CONFIG_USERSPACE are not affected (source: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-jm6g-v88h-f7c6)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-100374 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-100374 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/zephyrproject-rtos/zephyr/commit/2206109f3f705bcb6ba415a54c1c9ace8cb9779e
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-jm6g-v88h-f7c6
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-100374
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-100374"}.Affected versions
- zephyrFrom 3.4.0 · fixed in 4.5.0
cve.now Index
- Exploitation0/40No signal
- Exposure5/25Specific setups only
- Reach?/20Unknown. No tracked technology or package matched
- Severity8.8/10CVSS 7.8, total technical impact per CISA
- No patch0/5No signal
What would change the score
- Would score about 64 if added to CISA KEV
- Would score about 59 if CISA's SSVC rates exploitation active
- Would score about 24 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Evidence 4
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · zephyrproject-rtos/zephyr · Advisory GHSA-jm6g-v88h-f7c6 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-100374 |
| Record | NVD · CVE-2026-100374 |
| Other links 1 | |
| Patch | GitHub · zephyrproject-rtos/zephyr · Commit 2206109f |
Questions about CVE-2026-100374
Is CVE-2026-100374 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A user-mode thread can write bytes supplied by a peripheral to an address it chooses in kernel memory, through the SMBus block read and block process call syscalls. This can allow privilege escalation, or at minimum corrupt kernel state or crash the system.
Source: github.com
Which versions are affected by CVE-2026-100374?
zephyr: from 3.4.0 before 4.5.0.
Source: cve.now feed data
Am I affected, and how do I check?
Zephyr 3.4.0 up to but not including 4.5.0, built with CONFIG_USERSPACE and with a user-mode thread granted access to an SMBus device object. Systems built without CONFIG_USERSPACE are not affected. Check the Zephyr version in use and whether CONFIG_USERSPACE is enabled in the build configuration.
Source: github.com
How do I fix CVE-2026-100374?
Upgrade to Zephyr 4.5.0 or later, the version listed as fixed.
Source: github.com
Related
- CVE-2026-95826Out-of-bounds write in the SMSC911x Ethernet driver when transmitting frames larger than the staging buffer
- CVE-2026-95823Use-after-free and net_buf leak in Zephyr TCP header linearization (tcp_pkt_linearize)
- CVE-2026-102954Out-of-bounds write from peripheral-supplied block count in STM32 SMBus driver
- CVE-2026-102951Agilex5 System Manager registers mapped read/write for user mode threads
- CVE-2026-95827Network packet reference leak in IPv6 Router Advertisement handling leads to buffer pool exhaustion
- CVE-2026-95824Infinite loop in IPv6 Router Advertisement handling when the RA omits the source link-layer address option
No corrections so far. Something wrong on this page? Report an error.