CVE-2026-99613: ALSA: cs46xx: Handle SCB creation failures before dereferencing
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ALSA: cs46xx: Handle SCB creation failures before dereferencing
With CONFIG_PM_SLEEP enabled, cs46xx_dsp_create_scb() can return NULL if kmemdup() fails to allocate the SCB data saved for resume. cs46xx_dsp_scb_and_task_init() and _dsp_create_generic_scb() dereference the returned pointer without checking it, causing a NULL pointer dereference on allocation failure.
Check both return values before accessing the SCB descriptors. Return -ENOMEM when creating the null SCB fails and propagate NULL from _dsp_create_generic_scb().
Found by Linux Verification Center (linuxtesting.org) with SVACE static analysis tool.
The Linux kernel CVE team has assigned CVE-2026-99613 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.34 with commit 41116e926cb92292fa4fcbe888ae8133fa0038e6 and fixed in 6.12.118 with commit 4deac108afeab21a5d53108bfb8548ea7c29fd69 Issue introduced in 2.6.34 with commit 41116e926cb92292fa4fcbe888ae8133fa0038e6 and fixed in 6.18.64 with commit 286e44e9abd59574f38236b4453069e225fcb071 Issue introduced in 2.6.34 with commit 41116e926cb92292fa4fcbe888ae8133fa0038e6 and fixed in 7.3.5 with commit 18b7342e7f67022b5c7b51d126550cc74add3e88 Issue introduced in 2.6.34 with commit 41116e926cb92292fa4fcbe888ae8133fa0038e6 and fixed in 7.4-rc2 with commit 023d3e1176202339cd94a3d732e3aec74e36ba22
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99613
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
sound/pci/cs46xx/dsp_spos.c sound/pci/cs46xx/dsp_spos_scb_lib.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/4deac108afeab21a5d53108bfb8548ea7c29fd69 https://git.kernel.org/stable/c/286e44e9abd59574f38236b4453069e225fcb071 https://git.kernel.org/stable/c/18b7342e7f67022b5c7b51d126550cc74add3e88 https://git.kernel.org/stable/c/023d3e1176202339cd94a3d732e3aec74e36ba22