0.0
NA
CVE-2026-143406
spi: jcore: fix divide-by-zero when speed_hz is zero
Description

In the Linux kernel, the following vulnerability has been resolved: spi: jcore: fix divide-by-zero when speed_hz is zero jcore_spi_baudrate() computes hw->clock_freq / 2 / speed without validating speed. The SPI core fills transfer.speed_hz from spi->max_speed_hz when it is zero, and jcore_spi_probe() never sets host->max_speed_hz, so the clamp in __spi_setup() is skipped. A spi_device created via the sysfs new_device interface (or a DT node without spi-max-frequency) therefore has max_speed_hz == 0, and any SPI_IOC_MESSAGE transfer reaches jcore_spi_baudrate() with speed == 0, causing a division by zero and a kernel panic. Clamp speed to a minimum of 1 Hz before the division so the divisor is never zero. The computed divider then truncates to the register field width and the transfer simply runs at the slowest supported rate. Verified by inspection of the __spi_setup() clamp and __spi_validate()'s speed_hz handling; the division-by-zero path requires the J-Core controller, which was not available.

INFO

Published Date :

Dec. 5, 2026, 3:19 a.m.

Last Modified :

Dec. 5, 2026, 3:19 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-143406 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Fix a divide-by-zero in the Linux kernel's SPI driver to prevent kernel panics.
  • Update the Linux kernel to include the fix.
  • Ensure spi->max_speed_hz is properly set.
  • Validate speed_hz values before division.
  • Clamp speed to at least 1 Hz.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-143406 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-143406 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-143406 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-143406 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 05, 2026

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: spi: jcore: fix divide-by-zero when speed_hz is zero jcore_spi_baudrate() computes hw->clock_freq / 2 / speed without validating speed. The SPI core fills transfer.speed_hz from spi->max_speed_hz when it is zero, and jcore_spi_probe() never sets host->max_speed_hz, so the clamp in __spi_setup() is skipped. A spi_device created via the sysfs new_device interface (or a DT node without spi-max-frequency) therefore has max_speed_hz == 0, and any SPI_IOC_MESSAGE transfer reaches jcore_spi_baudrate() with speed == 0, causing a division by zero and a kernel panic. Clamp speed to a minimum of 1 Hz before the division so the divisor is never zero. The computed divider then truncates to the register field width and the transfer simply runs at the slowest supported rate. Verified by inspection of the __spi_setup() clamp and __spi_validate()'s speed_hz handling; the division-by-zero path requires the J-Core controller, which was not available.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/143xxx/CVE-2026-143406.json">CVE-2026-143406</a>
    Added Reference https://git.kernel.org/stable/c/10982e43876212fe06ec00cff936b0569e5ab7ee
    Added Reference https://git.kernel.org/stable/c/1b8f9d14d2961f894035e3246307cf32fca52c30
    Added Reference https://git.kernel.org/stable/c/7db773075501248893c22b11bedc6745d6d0be45
    Added Reference https://git.kernel.org/stable/c/9345692144d3645809a3cb9cede27a56ba52af11
    Added Reference https://git.kernel.org/stable/c/9c9bbb6a878056447dac471bbe73b4aa93085b01
    Added Reference https://git.kernel.org/stable/c/d1e2ec9dc7f7ef3a6beedcdc150537423c717a49
    Added Reference https://git.kernel.org/stable/c/da62913b94dbd804426c420ec9305e3d13da86fd
    Added Reference https://git.kernel.org/stable/c/fd745ddad8f94cc9b28c4ac3a86ec9b803ec2996
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.