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-05-18T05:57:24.627655560Z
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"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.14.0
Fixed
5.15.180
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.134
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.87
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.23
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.11
Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.14.2

Database specific

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