Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
1f6c520932bca5be9e8dec137fccb2fc094a80fe to < d7c71dfd4b80f0eacac2c157a8a3a4c6e8b2e0d1affectedc9b83ae4a1609b1914ba7fc70826a3f3a8b234db to < 91095474eea29b95c9a8bceb9b501a2702b6c55faffectedc9b83ae4a1609b1914ba7fc70826a3f3a8b234db to < 02f33c2062c75e28abc7ad58ce86451cf3140455affectedc9b83ae4a1609b1914ba7fc70826a3f3a8b234db to < f6538a318947b627710b08a268bc80a48c23bde7affectedc9b83ae4a1609b1914ba7fc70826a3f3a8b234db to < 18ec7d7785be7a4ee8ea11e355122282caad4267affectedc9b83ae4a1609b1914ba7fc70826a3f3a8b234db to < e64d170346d00b580c0043de3e5ccb3e331c47d4affectedcf671d2462d9af50c328bcc185d2c7b9726f8093affected6.1.34 to < 6.1.178affected6.3.8 to < 6.4affected
Linux Linux
Default version status: affected
6.4affected0 to < 6.4unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.96 to ≤ 6.12.*unaffected6.18.39 to ≤ 6.18.*unaffected7.1.4 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
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 ↗