Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e6c84fe4cf6f98f7b1ad446a42cfcb46bae83f66; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 908323ed61d5e7ad74889524d327cfb6a65ec8df; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3d8adddf4e4a5a43847ee62e5e78ba05e756bdef; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 91c97a7969dae976de954453ab6e925e6522fecb; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 978079238f40f1a08ddb12ce208c484246f6a1b0; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d88c24b76f285df9d206751e22c28e2613258cb3; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 422e42b7c2b882ba1d16d4afc8891bcea7c4de93 |
| Linux / Linux | affected 2.6.12; unaffected 0 before 2.6.12; unaffected 5.10.271 through 5.10.*; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/e6c84fe4cf6f98f7b1ad446a42cfcb46bae83f66
- https://git.kernel.org/stable/c/908323ed61d5e7ad74889524d327cfb6a65ec8df
- https://git.kernel.org/stable/c/3d8adddf4e4a5a43847ee62e5e78ba05e756bdef
- https://git.kernel.org/stable/c/91c97a7969dae976de954453ab6e925e6522fecb
- https://git.kernel.org/stable/c/978079238f40f1a08ddb12ce208c484246f6a1b0
- https://git.kernel.org/stable/c/d88c24b76f285df9d206751e22c28e2613258cb3
- https://git.kernel.org/stable/c/422e42b7c2b882ba1d16d4afc8891bcea7c4de93