Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ALSA: es1938: check snd_ctl_new1() return value snd_ctl_new1() can return NULL when memory allocation fails. snd_es1938_mixer() does not check the return value before dereferencing the pointer, 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 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 96cad5bd7d0a176db3fdc06717a41271247336bd; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6c4efebaf73e217efbd08cdbda805758a7db3680; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 41759affbcfe3d51a32900da9547a1ffd744a85f; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7531a37720c2545a480fd0fa464978569bf9d6a2; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before af01c48e17a66fa038af210a5c49d6cdefd210bd; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9e53e99b6fa3cd82992d963cbff58dbbd1df8651; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1949163dee39e0e4a1468f37dd7302962f6af45a; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1edd1f02dddd20aeb6066ded41017615766ea42f |
| Linux / Linux | affected 2.6.12; unaffected 0 before 2.6.12; unaffected 5.10.261 through 5.10.*; unaffected 5.15.212 through 5.15.*; 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/96cad5bd7d0a176db3fdc06717a41271247336bd
- https://git.kernel.org/stable/c/6c4efebaf73e217efbd08cdbda805758a7db3680
- https://git.kernel.org/stable/c/41759affbcfe3d51a32900da9547a1ffd744a85f
- https://git.kernel.org/stable/c/7531a37720c2545a480fd0fa464978569bf9d6a2
- https://git.kernel.org/stable/c/af01c48e17a66fa038af210a5c49d6cdefd210bd
- https://git.kernel.org/stable/c/9e53e99b6fa3cd82992d963cbff58dbbd1df8651
- https://git.kernel.org/stable/c/1949163dee39e0e4a1468f37dd7302962f6af45a
- https://git.kernel.org/stable/c/1edd1f02dddd20aeb6066ded41017615766ea42f