CVE-2026-98900 (GCVE-0-2026-98900)
Vulnerability from cvelistv5
Published
2026-10-23 11:54
Modified
2026-10-26 06:56
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: xen/gntalloc: validate grant count before allocation gntalloc_ioctl_alloc() allocates the grant-id array before checking whether the requested count fits within the global grant limit. Counts above that limit cannot succeed, so reject them before the user-controlled allocation reaches kcalloc(). Use a subtraction-based check while holding gref_mutex so adding the requested count cannot wrap. Also cast the count before advancing the per-file index so the page-size multiplication is performed in 64-bit arithmetic.
Impacted products
Vendor Product Version
Linux Linux Version: dd3140588d9551235ebc2a0dacdca098e7677573
Version: dd3140588d9551235ebc2a0dacdca098e7677573
Version: dd3140588d9551235ebc2a0dacdca098e7677573
Version: dd3140588d9551235ebc2a0dacdca098e7677573
Version: dd3140588d9551235ebc2a0dacdca098e7677573
Version: dd3140588d9551235ebc2a0dacdca098e7677573
Version: dd3140588d9551235ebc2a0dacdca098e7677573
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/xen/gntalloc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8",
              "status": "affected",
              "version": "dd3140588d9551235ebc2a0dacdca098e7677573",
              "versionType": "git"
            },
            {
              "lessThan": "71a0cf87e19fb35c4292ca88985e376e613c900a",
              "status": "affected",
              "version": "dd3140588d9551235ebc2a0dacdca098e7677573",
              "versionType": "git"
            },
            {
              "lessThan": "641de086a05f349de7fc548612432bc2fed721ca",
              "status": "affected",
              "version": "dd3140588d9551235ebc2a0dacdca098e7677573",
              "versionType": "git"
            },
            {
              "lessThan": "720554c04acba80018ded069d3e0984bebaee891",
              "status": "affected",
              "version": "dd3140588d9551235ebc2a0dacdca098e7677573",
              "versionType": "git"
            },
            {
              "lessThan": "84d5727cef8eb9c8a28210ad248f1c70b223b065",
              "status": "affected",
              "version": "dd3140588d9551235ebc2a0dacdca098e7677573",
              "versionType": "git"
            },
            {
              "lessThan": "231542f4e43cf9837cb520664545e85fbe666b7b",
              "status": "affected",
              "version": "dd3140588d9551235ebc2a0dacdca098e7677573",
              "versionType": "git"
            },
            {
              "lessThan": "2299822f3f466b5dcad2377bf63986199f881a6b",
              "status": "affected",
              "version": "dd3140588d9551235ebc2a0dacdca098e7677573",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/xen/gntalloc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.39"
            },
            {
              "lessThan": "2.6.39",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.271",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxen/gntalloc: validate grant count before allocation\n\ngntalloc_ioctl_alloc() allocates the grant-id array before checking\nwhether the requested count fits within the global grant limit. Counts\nabove that limit cannot succeed, so reject them before the\nuser-controlled allocation reaches kcalloc().\n\nUse a subtraction-based check while holding gref_mutex so adding the\nrequested count cannot wrap. Also cast the count before advancing the\nper-file index so the page-size multiplication is performed in 64-bit\narithmetic."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-26T06:56:27.943Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8"
        },
        {
          "url": "https://git.kernel.org/stable/c/71a0cf87e19fb35c4292ca88985e376e613c900a"
        },
        {
          "url": "https://git.kernel.org/stable/c/641de086a05f349de7fc548612432bc2fed721ca"
        },
        {
          "url": "https://git.kernel.org/stable/c/720554c04acba80018ded069d3e0984bebaee891"
        },
        {
          "url": "https://git.kernel.org/stable/c/84d5727cef8eb9c8a28210ad248f1c70b223b065"
        },
        {
          "url": "https://git.kernel.org/stable/c/231542f4e43cf9837cb520664545e85fbe666b7b"
        },
        {
          "url": "https://git.kernel.org/stable/c/2299822f3f466b5dcad2377bf63986199f881a6b"
        }
      ],
      "title": "xen/gntalloc: validate grant count before allocation",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98900",
    "datePublished": "2026-10-23T11:54:10.566Z",
    "dateReserved": "2026-09-25T10:25:14.379Z",
    "dateUpdated": "2026-10-26T06:56:27.943Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…