{
  "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-50140",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50140",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-06-18T11:03:03.027Z",
    "updatedAt": "2026-05-11T19:13:35.821Z",
    "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": "memstick/ms_block: Fix a memory leak",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nmemstick/ms_block: Fix a memory leak\n\n'erased_blocks_bitmap' is never freed. As it is allocated at the same time\nas 'used_blocks_bitmap', it is likely that it should be freed also at the\nsame time.\n\nAdd the corresponding bitmap_free() in msb_data_clear().",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "status": "affected",
              "versionType": "git",
              "lessThan": "efd675246aec045507b9425c67b548cc2d782d8f"
            },
            {
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "status": "affected",
              "versionType": "git",
              "lessThan": "37958980eb4cd71ae594ace093c11b6a91e165e8"
            },
            {
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9d8b911fe3c3ed788c66edba7c90e32a4a7a5f53"
            },
            {
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9260a154b3b5e387dbceec7c0ac441470646bc6f"
            },
            {
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "status": "affected",
              "versionType": "git",
              "lessThan": "961d7d12080fe70847f944d656e36cd0dd0214ba"
            },
            {
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "status": "affected",
              "versionType": "git",
              "lessThan": "16e07966638717416abf45393d6a80a5a1034429"
            },
            {
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "status": "affected",
              "versionType": "git",
              "lessThan": "39be95d1ff7b44c1e969af72ba9da7332dfcc1da"
            },
            {
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "status": "affected",
              "versionType": "git",
              "lessThan": "54eb7a55be6779c4d0c25eaf5056498a28595049"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.12",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.12"
            },
            {
              "version": "4.14.291",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.256",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.211",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.137",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.61",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "5.18.18",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.18.*"
            },
            {
              "version": "5.19.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.19.*"
            },
            {
              "version": "6.0",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}