CVE-2026-98900
Full vulnerability record from the local CVENow database.
Description
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.
Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-23 12:18:24.020000
Last modified
2026-10-26 07:17:15.340000
View original CVE JSON
{
"id": "CVE-2026-98900",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-23T12:18:24.020",
"lastModified": "2026-10-26T07:17:15.340",
"vulnStatus": "Received",
"cveTags": [],
"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."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/xen/gntalloc.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "dd3140588d9551235ebc2a0dacdca098e7677573",
"lessThan": "e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8",
"versionType": "git",
"status": "affected"
},
{
"version": "dd3140588d9551235ebc2a0dacdca098e7677573",
"lessThan": "71a0cf87e19fb35c4292ca88985e376e613c900a",
"versionType": "git",
"status": "affected"
},
{
"version": "dd3140588d9551235ebc2a0dacdca098e7677573",
"lessThan": "641de086a05f349de7fc548612432bc2fed721ca",
"versionType": "git",
"status": "affected"
},
{
"version": "dd3140588d9551235ebc2a0dacdca098e7677573",
"lessThan": "720554c04acba80018ded069d3e0984bebaee891",
"versionType": "git",
"status": "affected"
},
{
"version": "dd3140588d9551235ebc2a0dacdca098e7677573",
"lessThan": "84d5727cef8eb9c8a28210ad248f1c70b223b065",
"versionType": "git",
"status": "affected"
},
{
"version": "dd3140588d9551235ebc2a0dacdca098e7677573",
"lessThan": "231542f4e43cf9837cb520664545e85fbe666b7b",
"versionType": "git",
"status": "affected"
},
{
"version": "dd3140588d9551235ebc2a0dacdca098e7677573",
"lessThan": "2299822f3f466b5dcad2377bf63986199f881a6b",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/xen/gntalloc.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "2.6.39",
"status": "affected"
},
{
"version": "0",
"lessThan": "2.6.39",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.10.271",
"lessThanOrEqual": "5.10.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.15.222",
"lessThanOrEqual": "5.15.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.189",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.158",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.111",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.53",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/2299822f3f466b5dcad2377bf63986199f881a6b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/231542f4e43cf9837cb520664545e85fbe666b7b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/641de086a05f349de7fc548612432bc2fed721ca",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/71a0cf87e19fb35c4292ca88985e376e613c900a",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/720554c04acba80018ded069d3e0984bebaee891",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/84d5727cef8eb9c8a28210ad248f1c70b223b065",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}