CVE-2026-142836

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-142837In the Linux kernel, the following vulnerability has been resolved: clk: qcom: ipq-cmn-pll: Assign .num before accessing .hws hw_data->hwsCVE-2026-142838In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd/pmf: Fix power_supply refcount leak in amd_pmf_get_batCVE-2026-142839In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-wmi: fix heap OOB read and memory corruption in hp_wmiCVE-2026-142840In the Linux kernel, the following vulnerability has been resolved: mm/zswap: publish the initial pool with list_add_rcu() zswap_setup() pCVE-2026-142841In the Linux kernel, the following vulnerability has been resolved: ext4: skip extra isize expansion while unmounting syzbot reports a WARCVE-2026-142842In the Linux kernel, the following vulnerability has been resolved: ext4: fix fast commit replay failing on a read-only mount A filesystemCVE-2026-142843In the Linux kernel, the following vulnerability has been resolved: spi: stm32: fix double free of SRAM buffer on MDMA fallback When the "CVE-2026-142844In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt76x02: validate TX-status rate index before mac80211 handCVE-2026-142845In the Linux kernel, the following vulnerability has been resolved: mm/list_lru: don't copy stale shrinker id from non-memcg-aware shrinkerCVE-2026-142846In the Linux kernel, the following vulnerability has been resolved: mm/page_table_check: skip zero pages page_table_check_set() accounts pCVE-2026-142847In the Linux kernel, the following vulnerability has been resolved: mm/page_isolation: fix UBSAN shift-out-of-bounds warning Patch series CVE-2026-142848In the Linux kernel, the following vulnerability has been resolved: floppy: don't store a stack buffer in timeout_message request_done() f
CVE-2026-142836: Unscored | Vulnix