CVE-2026-99613: ALSA: cs46xx: Handle SCB creation failures before dereferencing
In the Linux kernel, the following vulnerability has been resolved:
ALSA: cs46xx: Handle SCB creation failures before dereferencing
With CONFIGPMSLEEP enabled, cs46xxdspcreatescb() can return NULL if kmemdup() fails to allocate the SCB data saved for resume. cs46xxdspscbandtaskinit() and dspcreategenericscb() 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 dspcreategenericscb().
Found by Linux Verification Center (linuxtesting.org) with SVACE static analysis tool.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.64 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.5 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.5-1
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems using the Linux kernel ALSA cs46xx driver are exposed when CONFIG_PM_SLEEP is enabled. The failure path involves saving SCB data for resume, so suspend/resume support is relevant.
What must happen for the flaw to be triggered?
An allocation performed by kmemdup() while creating an SCB must fail. The vulnerable code then dereferences the NULL SCB pointer.
What is the likely impact of successful triggering?
The described result is a NULL pointer dereference in the kernel, which can cause a kernel crash or denial of service.
What can be done before applying the fix?
The provided data identifies CONFIG_PM_SLEEP as a condition for the vulnerable path. Disabling that configuration removes the stated prerequisite, where operationally feasible.