CVE-2026-102954EPSS p12.9%

CVE-2026-102954CVE-2026-102954

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 comma

Scoring

CVSS 6.8 ()
VectorCVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS0.28% probability of exploitation · percentile 12.9% · 2026-11-30T12:00:22Z
Last modified2026-11-23
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.