Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1f6c520932bca5be9e8dec137fccb2fc094a80fe before d7c71dfd4b80f0eacac2c157a8a3a4c6e8b2e0d1; affected c9b83ae4a1609b1914ba7fc70826a3f3a8b234db before 91095474eea29b95c9a8bceb9b501a2702b6c55f; affected c9b83ae4a1609b1914ba7fc70826a3f3a8b234db before 02f33c2062c75e28abc7ad58ce86451cf3140455; affected c9b83ae4a1609b1914ba7fc70826a3f3a8b234db before f6538a318947b627710b08a268bc80a48c23bde7; affected c9b83ae4a1609b1914ba7fc70826a3f3a8b234db before 18ec7d7785be7a4ee8ea11e355122282caad4267; affected c9b83ae4a1609b1914ba7fc70826a3f3a8b234db before e64d170346d00b580c0043de3e5ccb3e331c47d4; affected cf671d2462d9af50c328bcc185d2c7b9726f8093; affected 6.1.34 before 6.1.178; affected 6.3.8 before 6.4 |
| Linux / Linux | affected 6.4; unaffected 0 before 6.4; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.96 through 6.12.*; unaffected 6.18.39 through 6.18.*; unaffected 7.1.4 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/d7c71dfd4b80f0eacac2c157a8a3a4c6e8b2e0d1
- https://git.kernel.org/stable/c/91095474eea29b95c9a8bceb9b501a2702b6c55f
- https://git.kernel.org/stable/c/02f33c2062c75e28abc7ad58ce86451cf3140455
- https://git.kernel.org/stable/c/f6538a318947b627710b08a268bc80a48c23bde7
- https://git.kernel.org/stable/c/18ec7d7785be7a4ee8ea11e355122282caad4267
- https://git.kernel.org/stable/c/e64d170346d00b580c0043de3e5ccb3e331c47d4