{
  "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-50301",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50301",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-09-15T14:45:57.019Z",
    "updatedAt": "2026-05-11T19:16:40.085Z",
    "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": "iommu/omap: Fix buffer overflow in debugfs",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\niommu/omap: Fix buffer overflow in debugfs\n\nThere are two issues here:\n\n1) The \"len\" variable needs to be checked before the very first write.\n   Otherwise if omap2_iommu_dump_ctx() with \"bytes\" less than 32 it is a\n   buffer overflow.\n2) The snprintf() function returns the number of bytes that *would* have\n   been copied if there were enough space.  But we want to know the\n   number of bytes which were *actually* copied so use scnprintf()\n   instead.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "bd4396f09a4a9e77423e92ec9448217ab46f6edf",
              "status": "affected",
              "versionType": "git",
              "lessThan": "706e359cf046c142db290244c3f4938b20fbe805"
            },
            {
              "version": "bd4396f09a4a9e77423e92ec9448217ab46f6edf",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ec53b99b6b9da8b501f001595a6260c03b42d5b7"
            },
            {
              "version": "bd4396f09a4a9e77423e92ec9448217ab46f6edf",
              "status": "affected",
              "versionType": "git",
              "lessThan": "648472df221f2bbffb433b964bcb87baccc586d8"
            },
            {
              "version": "bd4396f09a4a9e77423e92ec9448217ab46f6edf",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4010a1afaae1c0fb9c2cac5de703bed29b1f1782"
            },
            {
              "version": "bd4396f09a4a9e77423e92ec9448217ab46f6edf",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2fee0dbfaeaaa4bda04279ce772c4572b1429d04"
            },
            {
              "version": "bd4396f09a4a9e77423e92ec9448217ab46f6edf",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0c7043a5b5c3b35f5dc8875757f71e7f491d64d4"
            },
            {
              "version": "bd4396f09a4a9e77423e92ec9448217ab46f6edf",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bd0438f534b2e31b12f0b39b355c5dc2bbdaf854"
            },
            {
              "version": "bd4396f09a4a9e77423e92ec9448217ab46f6edf",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9814cc350e0765ce69244bf55ae4c8b29facd27e"
            },
            {
              "version": "bd4396f09a4a9e77423e92ec9448217ab46f6edf",
              "status": "affected",
              "versionType": "git",
              "lessThan": "184233a5202786b20220acd2d04ddf909ef18f29"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.19",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.19"
            },
            {
              "version": "4.9.331",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.9.*"
            },
            {
              "version": "4.14.296",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.262",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.220",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.150",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.75",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "5.19.17",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.19.*"
            },
            {
              "version": "6.0.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.0.*"
            },
            {
              "version": "6.1",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}