ALSA: cs46xx: Handle SCB creation failures before dereferencing
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4deac108afeab21a5d53108bfb8548ea7c29fd69, Kernel 023d3e1176202339cd94a3d732e3aec74e36ba22, Kernel 18b7342e7f67022b5c7b51d126550cc74add3e88 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=41116e926cb92292fa4fcbe888ae8133fa0038e6 <4deac108afeab21a5d53108bfb8548ea7c29fd69, >=41116e926cb92292fa4fcbe888ae8133fa0038e6 <023d3e1176202339cd94a3d732e3aec74e36ba22, >=41116e926cb92292fa4fcbe888ae8133fa0038e6 <18b7342e7f67022b5c7b51d126550cc74add3e88, >=41116e926cb92292fa4fcbe888ae8133fa0038e6 <286e44e9abd59574f38236b4453069e225fcb071, =2.6.34 | 4deac108afeab21a5d53108bfb8548ea7c29fd69, 023d3e1176202339cd94a3d732e3aec74e36ba22, 18b7342e7f67022b5c7b51d126550cc74add3e88, 286e44e9abd59574f38236b4453069e225fcb071 |
| linux-kernel: Kernel | >=6.13.0 <6.18.64, >=6.19.0 <7.3.5, >=2.6.34 <6.12.118 | 6.18.64, 7.3.5, 6.12.118 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket