Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 97%

CVE-2026-10679: dos in zephyrproject zephyr

0
Low
VulnerabilityCVE-2026-10679cvecve-2026-10679
Published: 07/21/2026 (07/21/2026, 21:30:55 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

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.

CVSS v3.1

Score 3.3low

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Affected software

GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=1.8.0 <4.5.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 10:08:33 UTC

Technical Analysis

The DesignWare SPI driver in Zephyr computes the SPI BAUDR clock divider by dividing info->clock_frequency by config->frequency without validating config->frequency. The spi_transceive syscall copies the spi_config from userspace without checking the frequency field, allowing a userspace thread with SPI device access to supply a frequency of zero. This triggers an unsigned integer divide-by-zero in spi_dw_configure(), causing a CPU exception on Cortex-M and ARC architectures, resulting in a kernel fault and local denial of service. The vulnerability affects all Zephyr releases up to and including v4.4.0 with CONFIG_USERSPACE=y and requires an unprivileged thread already granted SPI driver permission. The fix rejects zero and excessively high frequencies with an error code. No memory corruption or information disclosure occurs.

Potential Impact

Exploitation causes a local denial of service by triggering a kernel fault due to a divide-by-zero CPU exception. There is no impact on confidentiality or integrity, and no memory corruption or information disclosure is involved. The vulnerability requires local access with specific permissions and userspace enabled.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves rejecting zero and invalid frequency values in the SPI driver configuration. Until patched, ensure that unprivileged userspace threads are not granted permission to access the DesignWare SPI driver or disable CONFIG_USERSPACE if not needed.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
zephyr
Date Reserved
2026-06-02T15:26:09.584Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5fe6ba9c2644c7f8cb00cd

Added to database: 07/21/2026, 21:38:02 UTC

Last enriched: 07/22/2026, 10:08:33 UTC

Last updated: 07/31/2026, 19:22:57 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses