Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: cmipci: check snd_ctl_new1() return value snd_ctl_new1() can return NULL when memory allocation fails. snd_cmipci_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
3454490e0396191f8f9c215fccf5deef76abffb5 to < b44888c33c4f11277d0e5e023338f2740232a4edaffectedf2f312ad88c68a7f4a7789b9269ae33af3c7c7e9 to < 8825a06bfa7932a7a74dec01669d405df0b47286affectedf2f312ad88c68a7f4a7789b9269ae33af3c7c7e9 to < 4dd5b0b1a52a8d6e59a3f217204817228ce0238baffectedf2f312ad88c68a7f4a7789b9269ae33af3c7c7e9 to < af2b009b773bc42995546507963e5e78970dc3edaffectedf2f312ad88c68a7f4a7789b9269ae33af3c7c7e9 to < 67e9ea92cd598cba1783ff701553c776a6cedee9affectedf2f312ad88c68a7f4a7789b9269ae33af3c7c7e9 to < c205bd1b28fb7e5f1061a4e78813fad7d315cb3eaffected7bf12707fa3db4c14fbe8ab93efb421d8ca93bf8affected6.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/b44888c33c4f11277d0e5e023338f2740232a4ed ↗
- https://git.kernel.org/stable/c/8825a06bfa7932a7a74dec01669d405df0b47286 ↗
- https://git.kernel.org/stable/c/4dd5b0b1a52a8d6e59a3f217204817228ce0238b ↗
- https://git.kernel.org/stable/c/af2b009b773bc42995546507963e5e78970dc3ed ↗
- https://git.kernel.org/stable/c/67e9ea92cd598cba1783ff701553c776a6cedee9 ↗
- https://git.kernel.org/stable/c/c205bd1b28fb7e5f1061a4e78813fad7d315cb3e ↗