CVE-2026-143406

Unknown

Last modified

CVE-2026-143406 is a vulnerability of currently unknown severity. 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.

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.

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, < 10982e43876212fe06ec00cff936b0569e5ab7ee; >= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, < 9345692144d3645809a3cb9cede27a56ba52af11; >= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, < da62913b94dbd804426c420ec9305e3d13da86fd; >= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, < d1e2ec9dc7f7ef3a6beedcdc150537423c717a49; >= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, < fd745ddad8f94cc9b28c4ac3a86ec9b803ec2996; >= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, < 9c9bbb6a878056447dac471bbe73b4aa93085b01; >= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, < 1b8f9d14d2961f894035e3246307cf32fca52c30; >= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, < 7db773075501248893c22b11bedc6745d6d0be45
LinuxLinux4.9

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-143406?
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.
How severe is CVE-2026-143406?
Severity scoring for CVE-2026-143406 is pending analysis.
How do I fix CVE-2026-143406?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-143406?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST