{"id":"CVE-2025-22066","summary":"ASoC: imx-card: Add NULL check in imx_card_probe()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: imx-card: Add NULL check in imx_card_probe()\n\ndevm_kasprintf() returns NULL when memory allocation fails. Currently,\nimx_card_probe() does not check for this case, which results in a NULL\npointer dereference.\n\nAdd NULL check after devm_kasprintf() to prevent this issue.","modified":"2026-04-16T04:35:00.745000245Z","published":"2025-04-16T14:12:20.125Z","related":["SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22066.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/018e6cf2503e60087747b0ebc190e18b3640766f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38253922a89a742e7e622f626b41c64388367361"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4d8458e48ff135bddc402ad79821dc058ea163d0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/93d34608fd162f725172e780b1c60cc93a920719"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b01700e08be99e3842570142ec5973ccd7e73eaf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dd2bbb9564d0d24a2643ad90008a79840368c4b4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e283a5bf4337a7300ac5e6ae363cc8b242a0b4b7"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22066.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22066"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2025-22066.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}