CVE-2025-22066

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

06 May 2025, 16:40

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/018e6cf2503e60087747b0ebc190e18b3640766f - () https://git.kernel.org/stable/c/018e6cf2503e60087747b0ebc190e18b3640766f - Patch
References () https://git.kernel.org/stable/c/38253922a89a742e7e622f626b41c64388367361 - () https://git.kernel.org/stable/c/38253922a89a742e7e622f626b41c64388367361 - Patch
References () https://git.kernel.org/stable/c/4d8458e48ff135bddc402ad79821dc058ea163d0 - () https://git.kernel.org/stable/c/4d8458e48ff135bddc402ad79821dc058ea163d0 - Patch
References () https://git.kernel.org/stable/c/93d34608fd162f725172e780b1c60cc93a920719 - () https://git.kernel.org/stable/c/93d34608fd162f725172e780b1c60cc93a920719 - Patch
References () https://git.kernel.org/stable/c/b01700e08be99e3842570142ec5973ccd7e73eaf - () https://git.kernel.org/stable/c/b01700e08be99e3842570142ec5973ccd7e73eaf - Patch
References () https://git.kernel.org/stable/c/dd2bbb9564d0d24a2643ad90008a79840368c4b4 - () https://git.kernel.org/stable/c/dd2bbb9564d0d24a2643ad90008a79840368c4b4 - Patch
References () https://git.kernel.org/stable/c/e283a5bf4337a7300ac5e6ae363cc8b242a0b4b7 - () https://git.kernel.org/stable/c/e283a5bf4337a7300ac5e6ae363cc8b242a0b4b7 - Patch
CWE CWE-476
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: imx-card: Añadir comprobación de NULL en imx_card_probe(). Devm_kasprintf() devuelve NULL cuando falla la asignación de memoria. Actualmente, imx_card_probe() no comprueba este caso, lo que provoca una desreferencia de puntero NULL. Añadir comprobación de NULL después de devm_kasprintf() para evitar este problema.

16 Apr 2025, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2025-04-16 15:16

Updated : 2025-05-06 16:40


NVD link : CVE-2025-22066

Mitre link : CVE-2025-22066

CVE.ORG link : CVE-2025-22066


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference