{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-98900",
  "modified": "2026-10-24T04:30:01Z",
  "upstream": [
    "CVE-2026-98900"
  ],
  "published": "2026-10-23T11:55:49Z",
  "summary": "xen/gntalloc: validate grant count before allocation",
  "details": "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.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.189",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-98900"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/71a0cf87e19fb35c4292ca88985e376e613c900a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/641de086a05f349de7fc548612432bc2fed721ca"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/720554c04acba80018ded069d3e0984bebaee891"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/84d5727cef8eb9c8a28210ad248f1c70b223b065"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/231542f4e43cf9837cb520664545e85fbe666b7b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2299822f3f466b5dcad2377bf63986199f881a6b"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-10-23T11:55:49Z"
  }
}
