CVE-2025-22066

ASoC: imx-card: Add NULL check in imx_card_probe()

Medium · published April 16, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
10.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00210 · 10.7th percentile
Published
2025-04-16T14:12Z
EPSS history
Timeline
  • 16 APR 14:12Z
    ASoC: imx-card: Add NULL check in imx_card_probe()
    cvelistv5