Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ALSA: gus: check snd_ctl_new1() return value snd_ctl_new1() can return NULL when memory allocation fails. snd_gf1_pcm_volume_control() does not check the return value before dereferencing kctl->id.index, which can lead to a NULL pointer dereference. Add a NULL check after snd_ctl_new1() and return -ENOMEM if it fails.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected c35034fd6446afaf408d5ab296068e32c775c965 before 97f6bdf5d5ded2e37f358cacb5a95f1393356604; affected c5ae57b1bb99bd6f50b90428fabde397c2aeba0f before eccf8e91266e39f6f15637702a04a1d344833fe2; affected c5ae57b1bb99bd6f50b90428fabde397c2aeba0f before fc5d4f27ca1293bc1379ef8fff691c30d9803ca2; affected c5ae57b1bb99bd6f50b90428fabde397c2aeba0f before 5e74e5e8cb7cc25f7a89f59abaf3489bf0c6f4a0; affected c5ae57b1bb99bd6f50b90428fabde397c2aeba0f before 465075c6835103821d725c13f8c545898e5f2636; affected c5ae57b1bb99bd6f50b90428fabde397c2aeba0f before c7fa99d30c7a166a5e5db5a585ce7501ff68326b; affected a1374d2683442633f8ad2169f8f31df45048e008; 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/97f6bdf5d5ded2e37f358cacb5a95f1393356604
- https://git.kernel.org/stable/c/eccf8e91266e39f6f15637702a04a1d344833fe2
- https://git.kernel.org/stable/c/fc5d4f27ca1293bc1379ef8fff691c30d9803ca2
- https://git.kernel.org/stable/c/5e74e5e8cb7cc25f7a89f59abaf3489bf0c6f4a0
- https://git.kernel.org/stable/c/465075c6835103821d725c13f8c545898e5f2636
- https://git.kernel.org/stable/c/c7fa99d30c7a166a5e5db5a585ce7501ff68326b