6.8

CVE-2026-102954: Out-of-bounds write from peripheral-supplied block count in STM32 SMBus driver

Awaiting analysis
Published 23-11-2026Last modified 23-11-2026

Vulnerability summary

CVE-2026-102954 is a medium (CVSS 6.8) Out-of-bounds Write vulnerability in zephyrproject zephyr. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 35.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.8, physical access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.39%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 23-11-2026
    PublishedVulnerability first disclosed.
  2. 23-11-2026
    Last modifiedVulnerability information updated.

Description

The STM32 SMBus driver (drivers/smbus/smbus_stm32.c) implements smbus_block_read() and smbus_block_pcall() by issuing a single i2c_transfer() in which the byte-count byte returned by the peripheral is read directly into the len field of the following i2c_msg. That message then receives data straight into the caller-supplied buffer. Nothing bounds the count, so smbus_stm32_block_read() and smbus_stm32_block_pcall() read up to 255 bytes into a buffer that the SMBus API documents (and the syscall verifiers validate) as holding at most SMBUS_BLOCK_BYTES_MAX (32) bytes. The count is chosen by the addressed SMBus peripheral. A malicious, counterfeit or faulty device on the bus (for example a removable smart battery, PMBus supply or plug-in module), or anyone able to drive the bus lines, can report a block count above 32 and cause the driver to write up to 223 bytes past the end of the caller's buffer. Callers typically pass a 32-byte stack buffer, as the in-tree smbus block_read shell command does, so the overflow lands on the caller's stack before any caller-side count check can run. The result is attacker-controlled stack or memory corruption in the context of the calling thread, which can crash the system or potentially be leveraged for code execution. When the call arrives through the smbus_block_read/smbus_block_pcall system calls, the out-of-bounds write happens in supervisor mode beyond the 32-byte region validated for the user thread. The fix receives the block into a driver-local 255-byte buffer and copies it out only when the count is at most SMBUS_BLOCK_BYTES_MAX, returning -ENODATA otherwise.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.39%

Chance of exploitation in the next 30 days

Percentile

36%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

24-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: physical access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Zephyrproject1 product

1 vendor · 1 product

References

2 links