NetSight
medium5.5

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 memor…

Impact

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 products

VendorProductAffected versions
LinuxLinux Kernel
from 5.14 before 5.15.180
from 5.16 before 6.1.134
from 6.2 before 6.6.87
from 6.7 before 6.12.23
from 6.13 before 6.13.11
from 6.14 before 6.14.2

Weakness classification

References