PT-2026-166559
CVE-2026-142836
·
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:
ALSA: cs46xx: fix unit mismatch in DSP code area bounds check
ins->code.offset and code->size are measured in 32-bit words, while
DSP CODE BYTE SIZE is the size of the DSP code area in bytes. The
check ins->code.offset + code->size > DSP CODE BYTE SIZE in
cs46xx dsp load module() therefore allowed up to four times more code
than the code area can hold.
The shadow buffer ins->code.data is allocated with
kmalloc(DSP CODE BYTE SIZE), i.e. it holds DSP CODE BYTE SIZE/4
words. A firmware file with a code segment larger than
DSP CODE BYTE SIZE/4 words (28 KiB) passed the check and caused an
out-of-bounds write in shadow and reallocate code() and an
out-of-bounds read in snd cs46xx download().
Compare the sum in words against DSP CODE BYTE SIZE/4 and cast it to
u64 so that the sum cannot wrap for large code->size values.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾