ALSA: ymfpci: check snd_ctl_new1() return value
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c9b83ae4a1609b1914ba7fc70826a3f3a8b234db · < e64d170346d00b580c0043de3e5ccb3e331c47d4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: ymfpci: check snd_ctl_new1() return value
snd_ctl_new1() can return NULL when memory allocation fails. snd_ymfpci_create_spdif_controls() does not check the return value before dereferencing kctl->id.device, which can lead to a NULL pointer dereference.
Add NULL checks after snd_ctl_new1() calls and return -ENOMEM if any fails.
From the CVE record · Linux
In the Linux kernel’s ALSA ymfpci driver, a failed memory allocation can cause a NULL pointer dereference while creating SPDIF controls. The input does not establish whether an attacker can trigger the failure or specify access, authentication, or user-interaction requirements.
Teams running Linux kernels with the ALSA ymfpci driver should check their versions; affected versions are not specified.