Description
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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= aa736700f42fa0813e286ca2f9274ffaa25163b9, < 018e6cf2503e60087747b0ebc190e18b3640766f; >= aa736700f42fa0813e286ca2f9274ffaa25163b9, < 38253922a89a742e7e622f626b41c64388367361; >= aa736700f42fa0813e286ca2f9274ffaa25163b9, < e283a5bf4337a7300ac5e6ae363cc8b242a0b4b7; >= aa736700f42fa0813e286ca2f9274ffaa25163b9, < 4d8458e48ff135bddc402ad79821dc058ea163d0; >= aa736700f42fa0813e286ca2f9274ffaa25163b9, < b01700e08be99e3842570142ec5973ccd7e73eaf; >= aa736700f42fa0813e286ca2f9274ffaa25163b9, < dd2bbb9564d0d24a2643ad90008a79840368c4b4; >= aa736700f42fa0813e286ca2f9274ffaa25163b9, < 93d34608fd162f725172e780b1c60cc93a920719 |
| Linux | Linux | 5.14 |
References
- https://git.kernel.org/stable/c/018e6cf2503e60087747b0ebc190e18b3640766fPatch
- https://git.kernel.org/stable/c/38253922a89a742e7e622f626b41c64388367361Patch
- https://git.kernel.org/stable/c/4d8458e48ff135bddc402ad79821dc058ea163d0Patch
- https://git.kernel.org/stable/c/93d34608fd162f725172e780b1c60cc93a920719Patch
- https://git.kernel.org/stable/c/b01700e08be99e3842570142ec5973ccd7e73eafPatch
- https://git.kernel.org/stable/c/dd2bbb9564d0d24a2643ad90008a79840368c4b4Patch
- https://git.kernel.org/stable/c/e283a5bf4337a7300ac5e6ae363cc8b242a0b4b7Patch
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Timeline
- Published
- Apr 16, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Modified