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.
Metrics
Affected Vendors & Products
| Source | ID | Title | 
|---|---|---|
  Debian DLA | 
                DLA-4193-1 | linux-6.1 security update | 
  Debian DSA | 
                DSA-5907-1 | linux security update | 
  EUVD | 
                EUVD-2025-11230 | 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. | 
  Ubuntu USN | 
                USN-7591-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7591-2 | Linux kernel (FIPS) vulnerabilities | 
  Ubuntu USN | 
                USN-7591-3 | Linux kernel (Real-time) vulnerabilities | 
  Ubuntu USN | 
                USN-7591-4 | Linux kernel (AWS) vulnerabilities | 
  Ubuntu USN | 
                USN-7591-5 | Linux kernel (Intel IoTG) vulnerabilities | 
  Ubuntu USN | 
                USN-7591-6 | Linux kernel (Raspberry Pi) vulnerabilities | 
  Ubuntu USN | 
                USN-7592-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7593-1 | Linux kernel (HWE) vulnerabilities | 
  Ubuntu USN | 
                USN-7594-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7594-2 | Linux kernel (Azure) vulnerabilities | 
  Ubuntu USN | 
                USN-7594-3 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7597-1 | Linux kernel (Azure) vulnerabilities | 
  Ubuntu USN | 
                USN-7597-2 | Linux kernel (Azure FIPS) vulnerabilities | 
  Ubuntu USN | 
                USN-7598-1 | Linux kernel (Azure) vulnerabilities | 
  Ubuntu USN | 
                USN-7602-1 | Linux kernel (Xilinx ZynqMP) vulnerabilities | 
  Ubuntu USN | 
                USN-7605-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7605-2 | Linux kernel (Low Latency) vulnerabilities | 
  Ubuntu USN | 
                USN-7606-1 | Linux kernel (OEM) vulnerabilities | 
  Ubuntu USN | 
                USN-7628-1 | Linux kernel (Azure) vulnerabilities | 
  Ubuntu USN | 
                USN-7655-1 | Linux kernel (Intel IoTG) vulnerabilities | 
  Ubuntu USN | 
                USN-7835-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7835-2 | Linux kernel (Real-time) vulnerabilities | 
  Ubuntu USN | 
                USN-7835-3 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7835-4 | Linux kernel (HWE) vulnerabilities | 
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
Mon, 03 Nov 2025 20:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
         | 
Wed, 01 Oct 2025 18:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Metrics | 
        
        ssvc
         
  | 
Tue, 06 May 2025 17:00:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time appeared | 
        
        Linux
         Linux linux Kernel  | 
|
| Weaknesses | CWE-476 | |
| CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
| Vendors & Products | 
        
        Linux
         Linux linux Kernel  | 
Fri, 18 Apr 2025 02:45:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
         | |
| Metrics | 
        
        
        threat_severity
         
  | 
    
        
        cvssV3_1
         
 
  | 
Wed, 16 Apr 2025 14:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| 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. | |
| Title | ASoC: imx-card: Add NULL check in imx_card_probe() | |
| References | 
         | 
        
  | 
Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2025-11-03T19:41:49.509Z
Reserved: 2024-12-29T08:45:45.813Z
Link: CVE-2025-22066
Updated: 2025-10-01T14:41:05.553Z
Status : Modified
Published: 2025-04-16T15:16:00.810
Modified: 2025-11-03T20:17:41.547
Link: CVE-2025-22066
                        OpenCVE Enrichment
                    No data.
 Debian DLA
 Debian DSA
 EUVD
 Ubuntu USN