Impact
The DesignWare SPI driver calculates a baud rate divider by dividing the controller’s clock frequency by the requested transfer frequency without verifying that the frequency is non‑zero. When an unprivileged userspace thread, granted permission to a DesignWare SPI device, passes a zero frequency value to the spi_transceive syscall, the driver performs an unsigned integer divide‑by‑zero during initialization, causing a CPU fault and a kernel crash. The vulnerability only leads to a local denial of service; there is no memory corruption or data disclosure impact.
Affected Systems
All Zephyr releases up to and including version 4.4.0 are affected. The issue is present when CONFIG_USERSPACE is enabled and an unprivileged thread has been granted SPI driver permissions. The vendor affected is Zephyr Project.
Risk and Exploitability
The CVSS score of 3.3 indicates low severity, and the EPSS score is below 1 %, reflecting a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an unprivileged userspace thread that already has Access to a DesignWare SPI device kernel object and the ability to supply a configuration with a zero frequency. On Cortex‑M hardware with the DIV_0_TRP trap enabled and ARC processors with the dedicated divide‑by‑zero vector, the fault disrupts system operation via a kernel panic.
OpenCVE Enrichment