PT-2026-162642

CVE-2026-100060

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

Descrição por

Pontuação
N/A
Não disponível

Nã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: amd: fix len==0 underflow and FIFO overflow
amd spi fifo xfer() unconditionally decrements xfer->len when a tx buf is present. The SPI core does not reject zero-length transfers, so a transfer submitted through the SPI IOC MESSAGE ioctl with len == 0 and a tx buf makes the u32 len wrap to 0xFFFFFFFF, and the following per-byte loop writes far past the FIFO window.
The driver also never checks the cumulative FIFO offset against AMD SPI FIFO SIZE. The core splits each transfer down to the controller's max transfer size but does not bound the total message length, so a message of several transfers whose total exceeds the FIFO overflows it with out-of-bounds MMIO writes (tx) and reads (rx).
Skip zero-length transfers and reject any transfer that would run past the end of the FIFO window.
Tested with a user-space replica of the fifo xfer length arithmetic (ASAN build): a zero-length transfer with tx buf makes len-- wrap to 0xffffffff, and skipping zero-length transfers avoids the wrap. No AMD SPI hardware was available, so the FIFO bound check was verified by inspection against AMD SPI FIFO SIZE.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾