Out-of-bounds write in Linux kernel cs46xx ALSA driver
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 7 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
The Linux kernel ALSA cs46xx sound driver, affected from 2.6.12, compares DSP code sizes counted in 32-bit words against a limit measured in bytes. This lets an oversized firmware code segment pass the bounds check, which causes an out-of-bounds write and an out-of-bounds read in the DSP code loading path.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 2.6.12 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 2.6.12 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 Patch available CNA
Remediation
Upgrade Linux kernel to 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 or 7.4-rc1, or a later release in the same branch. Red Hat lists no available plan for Red Hat Enterprise Linux 6, 7, 8, 9 and 10 or for Red Hat OpenShift Container Platform 4 and 5.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 6 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
Timeline
- 2026-12-03 Threatist record created from CVE-2026-142836
- 2026-12-03 Alias added: GHSA-qg6w-4p3v-gx3w
- 2026-12-03 Affected versions changed · Red Hat
- 2026-12-03 CVSS score added · Red Hat
- 2026-12-04 Affected versions changed · Red Hat
- 2026-12-04 Affected versions changed · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/295716aa9efe5169dd7cb8d4434a2f4d89d68ea3
- https://git.kernel.org/stable/c/842c4f3e448ea6fff3be6730f94690927a294c2c
- https://git.kernel.org/stable/c/e2604712a9cbbdddeba1be02dcb86ff87972c52c
- https://git.kernel.org/stable/c/579f615bd0f7e38b12a5de5615ca671aca030fc7
- https://git.kernel.org/stable/c/183cc1c1c47d095513d1ab43aacba9771d8ab5e6
- https://git.kernel.org/stable/c/15e36dc9be7b6050045de4b44ab518f3eec8ad3d
- https://git.kernel.org/stable/c/7f0c621d6a94dcf65c9af9af37063f5235170714
- https://git.kernel.org/stable/c/fd65108f5001ffb416dc9bd37ec1893f55cff24a
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-142836 · CVE Program
- CVE-2026-142836 · NVD
- FIRST EPSS
- GHSA-qg6w-4p3v-gx3w · GitHub Advisory Database · CC BY 4.0
- CVE-2026-142836 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences