CVE-2025-22066

Source
https://cve.org/CVERecord?id=CVE-2025-22066
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22066.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-22066
Downstream
Related
Published
2025-04-16T14:12:20.125Z
Modified
2026-03-11T07:49:32.619324Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ASoC: imx-card: Add NULL check in imx_card_probe()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

devmkasprintf() returns NULL when memory allocation fails. Currently, imxcard_probe() does not check for this case, which results in a NULL pointer dereference.

Add NULL check after devm_kasprintf() to prevent this issue.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22066.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
aa736700f42fa0813e286ca2f9274ffaa25163b9
Fixed
018e6cf2503e60087747b0ebc190e18b3640766f
Fixed
38253922a89a742e7e622f626b41c64388367361
Fixed
e283a5bf4337a7300ac5e6ae363cc8b242a0b4b7
Fixed
4d8458e48ff135bddc402ad79821dc058ea163d0
Fixed
b01700e08be99e3842570142ec5973ccd7e73eaf
Fixed
dd2bbb9564d0d24a2643ad90008a79840368c4b4
Fixed
93d34608fd162f725172e780b1c60cc93a920719

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22066.json"