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.
[
{
"digest": {
"function_hash": "102892699855946709336131256333426069476",
"length": 3751.0
},
"target": {
"file": "sound/soc/fsl/imx-card.c",
"function": "imx_card_probe"
},
"id": "CVE-2025-22066-0a44246a",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38253922a89a742e7e622f626b41c64388367361",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"66875712651842218291540925923288181371",
"63118702531965747354677979670581778262",
"73677541275994827866147133505976287427",
"156036114347261565285988062819881618503",
"29224736743648970796202140984952805760",
"162505032701499138762281560623054643591",
"217948683583766321402970448333151962635",
"315306089952127166860579148656188696506"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/fsl/imx-card.c"
},
"id": "CVE-2025-22066-0dc73bab",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4d8458e48ff135bddc402ad79821dc058ea163d0",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"66875712651842218291540925923288181371",
"63118702531965747354677979670581778262",
"73677541275994827866147133505976287427",
"156036114347261565285988062819881618503",
"29224736743648970796202140984952805760",
"162505032701499138762281560623054643591",
"217948683583766321402970448333151962635",
"315306089952127166860579148656188696506"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/fsl/imx-card.c"
},
"id": "CVE-2025-22066-10927dca",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@93d34608fd162f725172e780b1c60cc93a920719",
"deprecated": false
},
{
"digest": {
"function_hash": "102892699855946709336131256333426069476",
"length": 3751.0
},
"target": {
"file": "sound/soc/fsl/imx-card.c",
"function": "imx_card_probe"
},
"id": "CVE-2025-22066-626b9743",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4d8458e48ff135bddc402ad79821dc058ea163d0",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"66875712651842218291540925923288181371",
"63118702531965747354677979670581778262",
"73677541275994827866147133505976287427",
"156036114347261565285988062819881618503",
"29224736743648970796202140984952805760",
"162505032701499138762281560623054643591",
"217948683583766321402970448333151962635",
"315306089952127166860579148656188696506"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/fsl/imx-card.c"
},
"id": "CVE-2025-22066-6791b324",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b01700e08be99e3842570142ec5973ccd7e73eaf",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"66875712651842218291540925923288181371",
"63118702531965747354677979670581778262",
"73677541275994827866147133505976287427",
"156036114347261565285988062819881618503",
"29224736743648970796202140984952805760",
"162505032701499138762281560623054643591",
"217948683583766321402970448333151962635",
"315306089952127166860579148656188696506"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/fsl/imx-card.c"
},
"id": "CVE-2025-22066-6e6175d4",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e283a5bf4337a7300ac5e6ae363cc8b242a0b4b7",
"deprecated": false
},
{
"digest": {
"function_hash": "158437248282724905398231735394628112448",
"length": 4403.0
},
"target": {
"file": "sound/soc/fsl/imx-card.c",
"function": "imx_card_probe"
},
"id": "CVE-2025-22066-7305b1a4",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd2bbb9564d0d24a2643ad90008a79840368c4b4",
"deprecated": false
},
{
"digest": {
"function_hash": "102892699855946709336131256333426069476",
"length": 3751.0
},
"target": {
"file": "sound/soc/fsl/imx-card.c",
"function": "imx_card_probe"
},
"id": "CVE-2025-22066-77906909",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@018e6cf2503e60087747b0ebc190e18b3640766f",
"deprecated": false
},
{
"digest": {
"function_hash": "158437248282724905398231735394628112448",
"length": 4403.0
},
"target": {
"file": "sound/soc/fsl/imx-card.c",
"function": "imx_card_probe"
},
"id": "CVE-2025-22066-94c38894",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b01700e08be99e3842570142ec5973ccd7e73eaf",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"66875712651842218291540925923288181371",
"63118702531965747354677979670581778262",
"73677541275994827866147133505976287427",
"156036114347261565285988062819881618503",
"29224736743648970796202140984952805760",
"162505032701499138762281560623054643591",
"217948683583766321402970448333151962635",
"315306089952127166860579148656188696506"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/fsl/imx-card.c"
},
"id": "CVE-2025-22066-b238c015",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@018e6cf2503e60087747b0ebc190e18b3640766f",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"66875712651842218291540925923288181371",
"63118702531965747354677979670581778262",
"73677541275994827866147133505976287427",
"156036114347261565285988062819881618503",
"29224736743648970796202140984952805760",
"162505032701499138762281560623054643591",
"217948683583766321402970448333151962635",
"315306089952127166860579148656188696506"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/fsl/imx-card.c"
},
"id": "CVE-2025-22066-ca20b94f",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd2bbb9564d0d24a2643ad90008a79840368c4b4",
"deprecated": false
},
{
"digest": {
"function_hash": "102892699855946709336131256333426069476",
"length": 3751.0
},
"target": {
"file": "sound/soc/fsl/imx-card.c",
"function": "imx_card_probe"
},
"id": "CVE-2025-22066-d61a259e",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e283a5bf4337a7300ac5e6ae363cc8b242a0b4b7",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"66875712651842218291540925923288181371",
"63118702531965747354677979670581778262",
"73677541275994827866147133505976287427",
"156036114347261565285988062819881618503",
"29224736743648970796202140984952805760",
"162505032701499138762281560623054643591",
"217948683583766321402970448333151962635",
"315306089952127166860579148656188696506"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/fsl/imx-card.c"
},
"id": "CVE-2025-22066-dc5d30c5",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38253922a89a742e7e622f626b41c64388367361",
"deprecated": false
},
{
"digest": {
"function_hash": "158437248282724905398231735394628112448",
"length": 4403.0
},
"target": {
"file": "sound/soc/fsl/imx-card.c",
"function": "imx_card_probe"
},
"id": "CVE-2025-22066-e37b0cbc",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@93d34608fd162f725172e780b1c60cc93a920719",
"deprecated": false
}
]