Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ASoC: imx-card: Add NULL check in imx_card_probe() devm_kasprintf() returns NULL when memory allocation fails. Currently, imx_card_probe() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected aa736700f42fa0813e286ca2f9274ffaa25163b9 before 018e6cf2503e60087747b0ebc190e18b3640766f; affected aa736700f42fa0813e286ca2f9274ffaa25163b9 before 38253922a89a742e7e622f626b41c64388367361; affected aa736700f42fa0813e286ca2f9274ffaa25163b9 before e283a5bf4337a7300ac5e6ae363cc8b242a0b4b7; affected aa736700f42fa0813e286ca2f9274ffaa25163b9 before 4d8458e48ff135bddc402ad79821dc058ea163d0; affected aa736700f42fa0813e286ca2f9274ffaa25163b9 before b01700e08be99e3842570142ec5973ccd7e73eaf; affected aa736700f42fa0813e286ca2f9274ffaa25163b9 before dd2bbb9564d0d24a2643ad90008a79840368c4b4; affected aa736700f42fa0813e286ca2f9274ffaa25163b9 before 93d34608fd162f725172e780b1c60cc93a920719 |
| Linux / Linux | affected 5.14; unaffected 0 before 5.14; unaffected 5.15.180 through 5.15.*; unaffected 6.1.134 through 6.1.*; unaffected 6.6.87 through 6.6.*; unaffected 6.12.23 through 6.12.*; unaffected 6.13.11 through 6.13.*; unaffected 6.14.2 through 6.14.*; unaffected 6.15 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/018e6cf2503e60087747b0ebc190e18b3640766f
- https://git.kernel.org/stable/c/38253922a89a742e7e622f626b41c64388367361
- https://git.kernel.org/stable/c/e283a5bf4337a7300ac5e6ae363cc8b242a0b4b7
- https://git.kernel.org/stable/c/4d8458e48ff135bddc402ad79821dc058ea163d0
- https://git.kernel.org/stable/c/b01700e08be99e3842570142ec5973ccd7e73eaf
- https://git.kernel.org/stable/c/dd2bbb9564d0d24a2643ad90008a79840368c4b4
- https://git.kernel.org/stable/c/93d34608fd162f725172e780b1c60cc93a920719
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.