ALSA: es1938: check snd_ctl_new1() return value
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 9e53e99b6fa3cd82992d963cbff58dbbd1df8651| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: es1938: check snd_ctl_new1() return value
snd_ctl_new1() can return NULL when memory allocation fails. snd_es1938_mixer() does not check the return value before dereferencing the pointer, which can lead to a NULL pointer dereference.
Add a NULL check after snd_ctl_new1() and return -ENOMEM if it fails.
From the CVE record · Linux
The Linux kernel's ALSA es1938 mixer does not check whether snd_ctl_new1() returns NULL before dereferencing it. If memory allocation fails, this can cause a NULL pointer dereference. The input does not specify whether an attacker can trigger this condition or what access would be required.
Engineers running Linux kernels with the ALSA es1938 mixer should check their kernel version; affected versions are not specified.