PT-2026-163041
CVE-2026-139000
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
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:
i3c: master: Fix out-of-bounds read in DMA bounce buffer setup
When a bounce buffer is required for DMA TO DEVICE transfers,
i3c master dma map single() rounds the DMA mapping length up to a
cache-line boundary:
map len = ALIGN(len, cache line size());It then allocates the bounce buffer with:
kmemdup(buf, map len, GFP KERNEL);kmemdup() copies the full allocation size, causing it to read map len
bytes from buf even though only len bytes are valid. This results in an
out-of-bounds read of up to cache line size() - 1 bytes past the end of
the caller's buffer.
Fix the issue by allocating the bounce buffer with kzalloc() and copying
only len bytes from the original buffer. The remaining bytes up to
map len stay zero-filled, avoiding both the out-of-bounds read and
exposure of unrelated memory contents to the DMA engine.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾