CVE-2025-22066

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

MEDIUM
5.5
CVSS Score
Published: April 16, 2025 at 02:12 PM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.14 ≤ v < 5.15.1805.14 ≤ v < 6.1.1345.14 ≤ v < 6.12.235.14 ≤ v < 6.13.115.14 ≤ v < 6.14.25.14 ≤ v < 6.155.14 ≤ v < 6.6.875.16 ≤ v < 6.1.1346.13 ≤ v < 6.13.116.14 ≤ v < 6.14.26.2 ≤ v < 6.6.876.7 ≤ v < 6.12.235.14aa736700f42fa0813e286ca2f9274ffaa25163b9
Vendor states this is fixed in 018e6cf2503e60087747b0ebc190e18b3640766f (fixed)
Vendor states this is fixed in 38253922a89a742e7e622f626b41c64388367361 (fixed)
Vendor states this is fixed in 4d8458e48ff135bddc402ad79821dc058ea163d0 (fixed)
Vendor states this is fixed in 93d34608fd162f725172e780b1c60cc93a920719 (fixed)
Vendor states this is fixed in b01700e08be99e3842570142ec5973ccd7e73eaf (fixed)
Vendor states this is fixed in dd2bbb9564d0d24a2643ad90008a79840368c4b4 (fixed)
Vendor states this is fixed in e283a5bf4337a7300ac5e6ae363cc8b242a0b4b7 (fixed)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.15.180 (unaffected)
Vendor states this is fixed in 6.1.134 (unaffected)
Vendor states this is fixed in 6.12.23 (unaffected)
Vendor states this is fixed in 6.13.11 (unaffected)
Vendor states this is fixed in 6.14.2 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.87 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/018e6cf2503e60087747b0ebc190e18b3640766f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/38253922a89a742e7e622f626b41c64388367361
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4d8458e48ff135bddc402ad79821dc058ea163d0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/93d34608fd162f725172e780b1c60cc93a920719
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b01700e08be99e3842570142ec5973ccd7e73eaf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dd2bbb9564d0d24a2643ad90008a79840368c4b4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e283a5bf4337a7300ac5e6ae363cc8b242a0b4b7
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card