PT-2026-166566
CVE-2026-142843
·
Publicado
2026-12-03
·
Atualizado
2026-12-03
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: stm32: fix double free of SRAM buffer on MDMA fallback
When the "rxm2m" MDMA channel cannot be obtained, the driver frees the
SRAM buffer and falls back to DMA-only mode. However, sram rx buf is
left pointing to the freed buffer.
As a result, stm32 spi unprepare msg() may clear the released SRAM
area, while stm32 spi remove() or a later probe error path may free the
buffer again, triggering BUG ON() in gen pool free owner().
The probe error path also checks sram pool instead of sram rx buf. If
the SRAM allocation failed and a later probe step fails,
gen pool free() may therefore be called with an unallocated buffer.
Clear sram rx buf after freeing it on the MDMA fallback path and use
the buffer pointer to determine whether cleanup is needed.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾