PT-2026-168711
CVE-2026-143406
·
Published
2026-12-05
·
Updated
2026-12-05
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾