Skip to content
Heist/ feed
Back to feed
UnratedFix available

ASoC: qcom: Add checks for devm_kcalloc

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: ASoC: qcom: Add checks for devm_kcalloc As the devm_kcalloc may return NULL, the return value needs to be checked to avoid NULL poineter dereference.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.163, 5.15.86, 6.0.16, 6.1.2
CVEs
CVE-2022-50308
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 03:26 UTC · Revision 1

Source evidence

ASoC: qcom: Add checks for devm_kcalloc

core-osv · Original source

Published 15 Sept 2025, 14:46 UTC

In the Linux kernel, the following vulnerability has been resolved: ASoC: qcom: Add checks for devm_kcalloc As the devm_kcalloc may return NULL, the return value needs to be checked to avoid NULL poineter dereference.

osv:CVE-2022-50308

Kernel

Fixed versions: 5.10.163, 5.15.86, 6.0.16, 6.1.2

Complete source record
{
  "id": "6c9f02f68029294d6c8bb3de117b47323198be2bf268d2db50030bd5b3c5976f",
  "url": "https://osv.dev/vulnerability/CVE-2022-50308",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ASoC: qcom: Add checks for devm_kcalloc",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: ASoC: qcom: Add checks for devm_kcalloc As the devm_kcalloc may return NULL, the return value needs to be checked to avoid NULL poineter dereference.",
    "evidence": "osv:CVE-2022-50308",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.163",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.86",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-50308",
      "aliases": [
        "CVE-2022-50308"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "24caf8d9eb108c52e144bcc7af94bb1edcb70700"
                },
                {
                  "fixed": "4518d7cc38b7d1a7ce5a7878ca601c91e19fe47d"
                },
                {
                  "fixed": "f849c116d320e85d1e2c2804c0edb0be3953b62d"
                },
                {
                  "fixed": "7830e2289eb4b74970b6cd1b6cc68dcd021c2281"
                },
                {
                  "fixed": "b1e4f92dd0c1d3c162d7ca6c1196995565cca96d"
                },
                {
                  "fixed": "1bf5ee979076ceb121ee51c95197d890b1cee7f4"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50308.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.10.0"
                },
                {
                  "fixed": "5.10.163"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.86"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.0.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50308.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.593555224Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1bf5ee979076ceb121ee51c95197d890b1cee7f4",
        "https://git.kernel.org/stable/c/4518d7cc38b7d1a7ce5a7878ca601c91e19fe47d",
        "https://git.kernel.org/stable/c/7830e2289eb4b74970b6cd1b6cc68dcd021c2281",
        "https://git.kernel.org/stable/c/b1e4f92dd0c1d3c162d7ca6c1196995565cca96d",
        "https://git.kernel.org/stable/c/f849c116d320e85d1e2c2804c0edb0be3953b62d",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50308.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50308",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50308.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50308",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 517741,
  "published_at": "2025-09-15T14:46:03.51+00:00"
}