ALSA: aoa: check snd_ctl_new1() return value
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f3d9478b2ce468c3115b02ecae7e975990697f15 · < fd786466889e4a6e6de0f4462bd0068edea63960| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: aoa: check snd_ctl_new1() return value
snd_ctl_new1() can return NULL when memory allocation fails. In layout.c, the function does not check the return value before dereferencing ctl->id.name or passing to aoa_snd_ctl_add(), which can lead to a NULL pointer dereference.
Add NULL checks after snd_ctl_new1() calls and return early if any fails.
From the CVE record · Linux
The Linux kernel’s ALSA aoa layout code fails to check whether snd_ctl_new1() returns NULL. If memory allocation fails, it can dereference a NULL pointer; the input does not specify attacker access or interaction requirements.
Engineers running Linux kernels with the ALSA aoa layout code should check their installations; affected versions are not specified.