Sari la conținut
RedCVE

CVE-2026-102954zephyrproject Zephyr out-of-bounds write

zephyrprojectPublicat:

Scor CVSS

6.8

Mediu

CVSS 3.1 de la zephyrproject.org

Probabilitate de exploatare (EPSS)

Încă nu are scor EPSS.

CISA KEV

Nu este în KEV

CISA nu a raportat până acum exploatări confirmate.

Descrierea oficială

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.

Sursa: NVD · CNA: vulnerabilities@zephyrproject.org

Cum îl remediezi, pas cu pas

  1. Verifică dacă ești afectat

    Identifică toate sistemele care rulează zephyrproject Zephyr și compară versiunea lor cu versiunile afectate.

  2. Actualizează la o versiune remediată

    • Actualizează Zephyr la 4.5.0 sau mai nou.
  3. Confirmă remedierea

    Verifică dacă toate sistemele afectate raportează acum o versiune remediată și revezi avizul furnizorului: remedierile sunt uneori revizuite.

Ți-a fost util?

Cum poate fi exploatată

Vector de atac
Fizic
Complexitatea atacului
Scăzut
Privilegii necesare
Niciunul
Interacțiune cu utilizatorul
Niciunul
Domeniu de impact
Neschimbat
Confidențialitate
Ridicat
Integritate
Ridicat
Disponibilitate
Ridicat

Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Produse afectate

Produse afectateVersiuni
zephyrproject Zephyr≥ 4.3.0, < 4.5.0

Tip de slăbiciune

Cronologie

  1. Publicat:
  2. Ultima modificare:

Întrebări frecvente

Este CVE-2026-102954 exploatată?

Până acum nu există exploatări confirmate în catalogul CISA KEV.

Care este scorul CVSS pentru CVE-2026-102954?

CVE-2026-102954 are un scor de bază CVSS 3.1 de 6.8 (mediu).

Ce versiuni sunt afectate?

Zephyrproject Zephyr (≥ 4.3.0, < 4.5.0)

Există patch pentru CVE-2026-102954?

Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.

Referințe

Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.