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.
https://git.kernel.org/stable/c/d88c24b76f285df9d206751e22c28e2613258cb3
https://git.kernel.org/stable/c/978079238f40f1a08ddb12ce208c484246f6a1b0
https://git.kernel.org/stable/c/422e42b7c2b882ba1d16d4afc8891bcea7c4de93