> CVE-2026-10679 [LOW]

« BACK_TO_HOME
PUBLISHED
2026-07-21 22:17
MODIFIED
2026-07-21 22:17
CVSS_SCORE V3
3.3
EPSS (Prob. Exploit)
0.14%
Top 97.3%
DATA SOURCES:
NVD đź”— 2026-07-21 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 OSV đź”— 2026-07-26

> DESCRIPTION

The DesignWare SPI driver (drivers/spi/spi_dw.c) computed the SPI BAUDR clock divider as info->clock_frequency / config->frequency without validating config->frequency. spi_transceive is a Zephyr __syscall and its verify handler (drivers/spi/spi_handlers.c) copies the caller-supplied spi_config from userspace without checking the frequency field, so a userspace thread that has been granted access to a DesignWare SPI device kernel object can pass frequency = 0 and trigger an unsigned integer divide-by-zero in spi_dw_configure(). On Cortex-M Mainline (SCB->CCR.DIV_0_TRP is set in z_arm_fault_init()) and on ARC (a dedicated __ev_div_zero vector) this raises a CPU exception, resulting in a kernel fault and local denial of service. The fix rejects zero frequency and frequencies above clock_frequency / 2 (the DesignWare SSI databook minimum SCKDIV of 2) with -EINVAL. The defect affects all Zephyr releases up to and including v4.4.0; exploitation requires CONFIG_USERSPACE=y and an unprivileged thread already granted SPI driver permission. There is no memory-corruption or information-disclosure impact.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EXPLOITABILITY
1.8
IMPACT
1.4

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-369

> CWE DETAILED DESCRIPTIONS

CWE-369: Divide By Zero - The product divides a value by zero.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Divide-by-zero in DesignWare SPI driver reachable from spi_transceive syscall (local DoS)

AFFECTED PACKAGES:
Unknown / Unknown
156 versions affected
ALIASES:
GHSA-3qcm-qwh2-v4hq

> HISTORIQUE DES MODIFICATIONS

Première apparition
21/07/2026 22:17
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-369: Divide By Zero - The product divides a value by zero.
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/zephyrproject-rtos/zephyr/commit/65935885622b0e4a5dbe5b82504c...
https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-3qcm-qwh2-...
« BACK_TO_HOME