{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-50866",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-12-30T12:06:07.136Z",
        "datePublished": "2025-12-30T12:15:37.827Z",
        "dateUpdated": "2026-05-11T19:26:38.291Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T19:26:38.291Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: pxa: fix null-pointer dereference in filter()\n\nkasprintf() would return NULL pointer when kmalloc() fail to allocate.\nNeed to check the return pointer before calling strcmp()."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/soc/pxa/mmp-pcm.c"
                    ],
                    "versions": [
                        {
                            "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
                            "lessThan": "3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
                            "lessThan": "5b510a82740d2a42a75b5661b402bcaf8ae22cd5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
                            "lessThan": "0abd1d78317a3a2dfe00b203fbf14ee7df537e0a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
                            "lessThan": "a8baccb79de2f48a2083d51febf627eb50ce1898",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
                            "lessThan": "21a1409e8cf73053b54f7860548e3043dfa351a9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
                            "lessThan": "83baa509396a742e0ce145b09fde1ce0a948f49a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
                            "lessThan": "9fb9b3b67a5b8669296d6372cd901ef86557e6f6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
                            "lessThan": "21b92cf41952577a95bfa430e39478cbd66e42a7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
                            "lessThan": "ec7bf231aaa1bdbcb69d23bc50c753c80fb22429",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/soc/pxa/mmp-pcm.c"
                    ],
                    "versions": [
                        {
                            "version": "3.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.6",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.9.337",
                            "lessThanOrEqual": "4.9.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.303",
                            "lessThanOrEqual": "4.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.270",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.229",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.163",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.86",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.16",
                            "lessThanOrEqual": "6.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.2",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "4.9.337"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "4.14.303"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "4.19.270"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "5.4.229"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "5.10.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "5.15.86"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "6.0.16"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "6.1.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "6.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5b510a82740d2a42a75b5661b402bcaf8ae22cd5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0abd1d78317a3a2dfe00b203fbf14ee7df537e0a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a8baccb79de2f48a2083d51febf627eb50ce1898"
                },
                {
                    "url": "https://git.kernel.org/stable/c/21a1409e8cf73053b54f7860548e3043dfa351a9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/83baa509396a742e0ce145b09fde1ce0a948f49a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9fb9b3b67a5b8669296d6372cd901ef86557e6f6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/21b92cf41952577a95bfa430e39478cbd66e42a7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ec7bf231aaa1bdbcb69d23bc50c753c80fb22429"
                }
            ],
            "title": "ASoC: pxa: fix null-pointer dereference in filter()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}