EnvMap GitHub

CVE-2026-142836

ALSA: cs46xx: fix unit mismatch in DSP code area bounds check

Not scored yetEPSS 0.31%Received

Description

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.

In the words of the organisation that published it (Linux).

Affected

  • Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 295716aa9efe5169dd7cb8d4434; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 842c4f3e448ea6fff3be6730f94; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e2604712a9cbbdddeba1be02dcb; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 579f615bd0f7e38b12a5de5615c; 2.6.12

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.31% chance of exploitation in the next 30 days, higher than 26% of all CVEs (as of 4 December 2026).

References

Record

Published04:18 UTC, 3 December 2026
Last changed04:18 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-142836 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.