{"id":"CVE-2026-98900","aliases":["CVE-2026-98900"],"related":[],"kind":"vulnerability","state":"published","title":"xen/gntalloc: validate grant count before allocation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-23T11:54:10.566Z","modified":"2026-10-26T07:17:15.340Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"dd3140588d9551235ebc2a0dacdca098e7677573","fixed":"e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8","status":"affected"},{"type":"git","introduced":"dd3140588d9551235ebc2a0dacdca098e7677573","fixed":"71a0cf87e19fb35c4292ca88985e376e613c900a","status":"affected"},{"type":"git","introduced":"dd3140588d9551235ebc2a0dacdca098e7677573","fixed":"641de086a05f349de7fc548612432bc2fed721ca","status":"affected"},{"type":"git","introduced":"dd3140588d9551235ebc2a0dacdca098e7677573","fixed":"720554c04acba80018ded069d3e0984bebaee891","status":"affected"},{"type":"git","introduced":"dd3140588d9551235ebc2a0dacdca098e7677573","fixed":"84d5727cef8eb9c8a28210ad248f1c70b223b065","status":"affected"},{"type":"git","introduced":"dd3140588d9551235ebc2a0dacdca098e7677573","fixed":"231542f4e43cf9837cb520664545e85fbe666b7b","status":"affected"},{"type":"git","introduced":"dd3140588d9551235ebc2a0dacdca098e7677573","fixed":"2299822f3f466b5dcad2377bf63986199f881a6b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.39","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.39","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/71a0cf87e19fb35c4292ca88985e376e613c900a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/641de086a05f349de7fc548612432bc2fed721ca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/720554c04acba80018ded069d3e0984bebaee891","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84d5727cef8eb9c8a28210ad248f1c70b223b065","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/231542f4e43cf9837cb520664545e85fbe666b7b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2299822f3f466b5dcad2377bf63986199f881a6b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98900","url":"https://www.cve.org/CVERecord?id=CVE-2026-98900","licence":"CVE Terms of Use","modified":"2026-10-26T06:56:27.943Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98900","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98900","licence":"Public domain","modified":"2026-10-26T07:17:15.340Z"}],"updatedAt":"2026-11-25T22:59:46.890Z","epss":{"score":0.00213,"percentile":0.12374,"date":"2026-12-01T12:00:22.000Z"}}