{"id":82368,"date":"2026-07-22T01:00:55","date_gmt":"2026-07-21T21:30:55","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-10679-divide-by-zero-in-designware-spi-driver-reachable-from-spi_transceive-syscall-local-dos\/"},"modified":"2026-07-22T01:00:55","modified_gmt":"2026-07-21T21:30:55","slug":"cve-2026-10679-divide-by-zero-in-designware-spi-driver-reachable-from-spi_transceive-syscall-local-dos","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-10679-divide-by-zero-in-designware-spi-driver-reachable-from-spi_transceive-syscall-local-dos\/","title":{"rendered":"CVE-2026-10679 &#8211; Divide-by-zero in DesignWare SPI driver reachable from spi_transceive syscall (local DoS)"},"content":{"rendered":"<p>CVE ID :CVE-2026-10679<\/p>\n<p>  Published : July 21, 2026, 9:30 p.m. | 14\u00a0minutes ago<\/p>\n<p>  Description :The DesignWare SPI driver (drivers\/spi\/spi_dw.c) computed the SPI BAUDR clock divider as info-&gt;clock_frequency \/ config-&gt;frequency without validating config-&gt;frequency.<\/p>\n<p>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().<\/p>\n<p>On Cortex-M Mainline (SCB-&gt;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.<\/p>\n<p>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.<\/p>\n<p>  Severity: 3.3 | LOW<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-10679 Published : July 21, 2026, 9:30 p.m. | 14\u00a0minutes ago Description :The DesignWare SPI driver (drivers\/spi\/spi_dw.c) computed the SPI BAUDR clock divider as info-&gt;clock_frequency \/ config-&gt;frequency without validating config-&gt;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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-82368","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=82368"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82368\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=82368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=82368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=82368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}