ALSA: es18xx: check control allocation before private data setup
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < d88c24b76f285df9d206751e22c28e2613258cb3| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: es18xx: check control allocation before private data setup
snd_es18xx_mixer() creates controls with snd_ctl_new1() and then stores bookkeeping pointers or sets private_free before calling snd_ctl_add(). snd_ctl_new1() can return NULL on allocation failure, so those writes can dereference a NULL control pointer.
Check the returned control pointers before using them and return -ENOMEM on allocation failure.
From the CVE record · Linux
The Linux kernel’s ALSA es18xx mixer can dereference a NULL control pointer if control allocation fails. This can cause a crash; the input does not specify whether an attacker can trigger the failure, or any access or user-interaction requirements.
Engineers running Linux kernels with the ALSA es18xx driver should check their versions; affected versions are not specified.