{
  "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-50245",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50245",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-09-15T14:02:03.353Z",
    "updatedAt": "2026-05-11T19:15:34.798Z",
    "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": "rapidio: fix possible UAF when kfifo_alloc() fails",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nrapidio: fix possible UAF when kfifo_alloc() fails\n\nIf kfifo_alloc() fails in mport_cdev_open(), goto err_fifo and just free\npriv. But priv is still in the chdev->file_list, then list traversal\nmay cause UAF. This fixes the following smatch warning:\n\ndrivers/rapidio/devices/rio_mport_cdev.c:1930 mport_cdev_open() warn: '&priv->list' not removed from list",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2a6c75adf8192f07ddcdd4a1a13488c890a73919"
            },
            {
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2dfd60724d271a6ab99f93f40f38f2ced1ddbb87"
            },
            {
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a253dde0403a153075ffb254f6f7b2635e49e97a"
            },
            {
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "311b488405ac45af46756b1c8f1d27007b68b07e"
            },
            {
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5ee850645e42f541ce1ea8130c2b27cc495f965c"
            },
            {
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2f5cc7fd73fd6253cc71214f0dd499cc62feb469"
            },
            {
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2ba06e57f933f0eac242e8b389433da1cc00d4d5"
            },
            {
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cb87af2c19c0993f6e21f75b963a5599c5a73e76"
            },
            {
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "02d7d89f816951e0862147d751b1150d67aaebdd"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.6",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.6"
            },
            {
              "version": "4.9.337",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.9.*"
            },
            {
              "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": "*"
            }
          ]
        }
      ]
    }
  }
}