{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2022-50353",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50353",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-09-17T14:56:06.761Z",
    "updatedAt": "2026-05-11T19:17:53.702Z",
    "importedAt": "2026-10-24T01:56:49.724Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "mmc: wmt-sdmmc: fix return value check of mmc_add_host()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: wmt-sdmmc: fix return value check of mmc_add_host()\n\nmmc_add_host() may return error, if we ignore its return value, the memory\nthat allocated in mmc_alloc_host() will be leaked and it will lead a kernel\ncrash because of deleting not added device in the remove path.\n\nSo fix this by checking the return value and goto error path which will call\nmmc_free_host(), besides, clk_disable_unprepare() also needs be called.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "3a96dff0f828ae9dfb43efd49a9b67a74c6dc360",
              "status": "affected",
              "versionType": "git",
              "lessThan": "70b0620afab3c69d95a7e2dd7ceff162a21c4009"
            },
            {
              "version": "3a96dff0f828ae9dfb43efd49a9b67a74c6dc360",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ecd6f77af3478f5223aa4011642a891b7dc91228"
            },
            {
              "version": "3a96dff0f828ae9dfb43efd49a9b67a74c6dc360",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c7a328cea791cc2769b6417943939420913b4a46"
            },
            {
              "version": "3a96dff0f828ae9dfb43efd49a9b67a74c6dc360",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9bedf64dda84b29151e41591d8ded9ff0e6d336a"
            },
            {
              "version": "3a96dff0f828ae9dfb43efd49a9b67a74c6dc360",
              "status": "affected",
              "versionType": "git",
              "lessThan": "58c3a8d0f1abeb1ca5c2df948be58ad4f7bb6f67"
            },
            {
              "version": "3a96dff0f828ae9dfb43efd49a9b67a74c6dc360",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b40ac3b696a9c84b36211ef0c3f5a422650c101b"
            },
            {
              "version": "3a96dff0f828ae9dfb43efd49a9b67a74c6dc360",
              "status": "affected",
              "versionType": "git",
              "lessThan": "eb7a2d516d4fbd165c07877a20feccb047342b1f"
            },
            {
              "version": "3a96dff0f828ae9dfb43efd49a9b67a74c6dc360",
              "status": "affected",
              "versionType": "git",
              "lessThan": "29276d56f6ed138db0f38cd31aedc0b725c8c76c"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.8",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.8"
            },
            {
              "version": "4.14.303",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.270",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.229",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.163",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.86",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.0.16",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.0.*"
            },
            {
              "version": "6.1.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.2",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}