Linux kernel denial of service in ALSA cs46xx SCB creation
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
With CONFIG_PM_SLEEP enabled, the ALSA cs46xx driver can dereference a NULL pointer if an allocation fails during SCB creation. The input does not describe an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the ALSA cs46xx driver and CONFIG_PM_SLEEP enabled should check their systems; affected versions are not specified.