PT-2026-168711
CVE-2026-143406
·
Publicado
2026-12-05
·
Atualizado
2026-12-05
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾