{
  "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-2026-72138",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-72138",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-08-15T05:53:12.549Z",
    "updatedAt": "2026-08-17T05:08:56.108Z",
    "importedAt": "2026-10-24T01:58:25.636Z",
    "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": "xen/gntdev: fix error handling in ioctl",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nxen/gntdev: fix error handling in ioctl\n\nWhen gntdev_ioctl_map_grant_ref() fails to copy the operation result\nback to userspace after successfully adding the mapping to the list,\nthe error path returns -EFAULT without releasing the reference\nacquired by gntdev_alloc_map(). The mapping remains in priv->maps\nwith a refcount of 1, causing a memory leak and a dangling list\nentry.\n\nAdditionally, gntdev_add_map() may modify map->index to avoid overlap\nwith existing mappings. Therefore, the index returned to userspace\nmust be obtained after gntdev_add_map() completes.\n\nFix this by holding the mutex across gntdev_add_map(), retrieving\nthe correct index, and copy_to_user(). If copy_to_user() fails,\nremove the mapping from the list and release the reference while\nstill holding the lock.\n\n\nFix these issues by properly handling all error cases.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "68b025c813c2eb41ff25628e3d4952d5185eb1a4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "52dc40ef0cfee6ae89b7524967e73f0ba37906d7"
            },
            {
              "version": "68b025c813c2eb41ff25628e3d4952d5185eb1a4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1dd9cb98fe228e017fff9efb33862ff38c741b65"
            },
            {
              "version": "68b025c813c2eb41ff25628e3d4952d5185eb1a4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6df926130aee6cab9b5d2e5b7862e49ccac348dc"
            },
            {
              "version": "68b025c813c2eb41ff25628e3d4952d5185eb1a4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "311011f8cc206c5af2877b03e3f627ee1b8fe024"
            },
            {
              "version": "68b025c813c2eb41ff25628e3d4952d5185eb1a4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "18a693733f7ad004e1ab0466693121ca70cd95dd"
            },
            {
              "version": "68b025c813c2eb41ff25628e3d4952d5185eb1a4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "16d3ccdabb8dee9be2cdcd6d3f9a125572ec0454"
            },
            {
              "version": "68b025c813c2eb41ff25628e3d4952d5185eb1a4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6883269a323609f68f6faa903f8f8ff3d191cec8"
            },
            {
              "version": "68b025c813c2eb41ff25628e3d4952d5185eb1a4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "45ca1afe2fd14c04e37227e79d3f8455831d8408"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.39",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.39"
            },
            {
              "version": "5.10.261",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.212",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.178",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.145",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.97",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.40",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "7.1.5",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "7.1.*"
            },
            {
              "version": "7.2",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}