A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/023d3e1176202339cd94a3d732e3aec74e36ba22
- git.kernel.org /stable/c/18b7342e7f67022b5c7b51d126550cc74add3e88
- git.kernel.org /stable/c/286e44e9abd59574f38236b4453069e225fcb071
- git.kernel.org /stable/c/4deac108afeab21a5d53108bfb8548ea7c29fd69
- git.kernel.org /stable/c/54c43fc838c304f76243b6ad00d57d81650e3bb8
- git.kernel.org /stable/c/5e7adea96f2f3b77133edc9e63a5d9bd36aaaee2
- git.kernel.org /stable/c/96b5383b2f7e47ea2b06f1220355316d7bc8430e
- git.kernel.org /stable/c/9802a09dd3f86ddb29a3da9fae96603ef98db7f3
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning