CVE-2022-50866 (GCVE-0-2022-50866)

Vulnerability from cvelistv5 – Published: 2025-12-30 12:15 – Updated: 2025-12-30 12:15
VLAI?
Title
ASoC: pxa: fix null-pointer dereference in filter()
Summary
In the Linux kernel, the following vulnerability has been resolved: ASoC: pxa: fix null-pointer dereference in filter() kasprintf() would return NULL pointer when kmalloc() fail to allocate. Need to check the return pointer before calling strcmp().
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 7a824e214e25a49442fe868dac0af8a904b24f58 , < 3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3 (git)
Affected: 7a824e214e25a49442fe868dac0af8a904b24f58 , < 5b510a82740d2a42a75b5661b402bcaf8ae22cd5 (git)
Affected: 7a824e214e25a49442fe868dac0af8a904b24f58 , < 0abd1d78317a3a2dfe00b203fbf14ee7df537e0a (git)
Affected: 7a824e214e25a49442fe868dac0af8a904b24f58 , < a8baccb79de2f48a2083d51febf627eb50ce1898 (git)
Affected: 7a824e214e25a49442fe868dac0af8a904b24f58 , < 21a1409e8cf73053b54f7860548e3043dfa351a9 (git)
Affected: 7a824e214e25a49442fe868dac0af8a904b24f58 , < 83baa509396a742e0ce145b09fde1ce0a948f49a (git)
Affected: 7a824e214e25a49442fe868dac0af8a904b24f58 , < 9fb9b3b67a5b8669296d6372cd901ef86557e6f6 (git)
Affected: 7a824e214e25a49442fe868dac0af8a904b24f58 , < 21b92cf41952577a95bfa430e39478cbd66e42a7 (git)
Affected: 7a824e214e25a49442fe868dac0af8a904b24f58 , < ec7bf231aaa1bdbcb69d23bc50c753c80fb22429 (git)
Create a notification for this product.
    Linux Linux Affected: 3.6
Unaffected: 0 , < 3.6 (semver)
Unaffected: 4.9.337 , ≤ 4.9.* (semver)
Unaffected: 4.14.303 , ≤ 4.14.* (semver)
Unaffected: 4.19.270 , ≤ 4.19.* (semver)
Unaffected: 5.4.229 , ≤ 5.4.* (semver)
Unaffected: 5.10.163 , ≤ 5.10.* (semver)
Unaffected: 5.15.86 , ≤ 5.15.* (semver)
Unaffected: 6.0.16 , ≤ 6.0.* (semver)
Unaffected: 6.1.2 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "sound/soc/pxa/mmp-pcm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3",
              "status": "affected",
              "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
              "versionType": "git"
            },
            {
              "lessThan": "5b510a82740d2a42a75b5661b402bcaf8ae22cd5",
              "status": "affected",
              "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
              "versionType": "git"
            },
            {
              "lessThan": "0abd1d78317a3a2dfe00b203fbf14ee7df537e0a",
              "status": "affected",
              "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
              "versionType": "git"
            },
            {
              "lessThan": "a8baccb79de2f48a2083d51febf627eb50ce1898",
              "status": "affected",
              "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
              "versionType": "git"
            },
            {
              "lessThan": "21a1409e8cf73053b54f7860548e3043dfa351a9",
              "status": "affected",
              "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
              "versionType": "git"
            },
            {
              "lessThan": "83baa509396a742e0ce145b09fde1ce0a948f49a",
              "status": "affected",
              "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
              "versionType": "git"
            },
            {
              "lessThan": "9fb9b3b67a5b8669296d6372cd901ef86557e6f6",
              "status": "affected",
              "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
              "versionType": "git"
            },
            {
              "lessThan": "21b92cf41952577a95bfa430e39478cbd66e42a7",
              "status": "affected",
              "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
              "versionType": "git"
            },
            {
              "lessThan": "ec7bf231aaa1bdbcb69d23bc50c753c80fb22429",
              "status": "affected",
              "version": "7a824e214e25a49442fe868dac0af8a904b24f58",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/soc/pxa/mmp-pcm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.6"
            },
            {
              "lessThan": "3.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.337",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.303",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.229",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.337",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "3.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-30T12:15:37.827Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50866",
    "datePublished": "2025-12-30T12:15:37.827Z",
    "dateReserved": "2025-12-30T12:06:07.136Z",
    "dateUpdated": "2025-12-30T12:15:37.827Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…