PT-2026-166559

CVE-2026-142836

·

Published

2026-12-03

·

Updated

2026-12-03

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

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.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾