# CVE-2026-98900: xen/gntalloc: validate grant count before allocation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-10-23T11:54:10.566Z
- **Modified:** 2026-10-26T07:17:15.340Z

## Who should check

- Anyone running Linux \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 71a0cf87e19fb35c4292ca88985e376e613c900a; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 641de086a05f349de7fc548612432bc2fed721ca; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 720554c04acba80018ded069d3e0984bebaee891; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 84d5727cef8eb9c8a28210ad248f1c70b223b065; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 231542f4e43cf9837cb520664545e85fbe666b7b; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 2299822f3f466b5dcad2377bf63986199f881a6b
- Anyone running Linux 2.6.39

## 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.

## Affected and fixed versions

- Linux: \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 71a0cf87e19fb35c4292ca88985e376e613c900a; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 641de086a05f349de7fc548612432bc2fed721ca; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 720554c04acba80018ded069d3e0984bebaee891; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 84d5727cef8eb9c8a28210ad248f1c70b223b065; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 231542f4e43cf9837cb520664545e85fbe666b7b; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 2299822f3f466b5dcad2377bf63986199f881a6b (cvelist)
- Linux: 2.6.39 (cvelist)

## Mitigation

- Upgrade Linux to 2299822f3f466b5dcad2377bf63986199f881a6b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98900. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98900.md
Affected: Linux >= dd3140588d9551235ebc2a0dacdca098e7677573, < e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8; >= dd3140588d9551235ebc2a0dacdca098e7677573, < 71a0cf87e19fb35c4292ca88985e376e613c900a; >= dd3140588d9551235ebc2a0dacdca098e7677573, < 641de086a05f349de7fc548612432bc2fed721ca; >= dd3140588d9551235ebc2a0…
Fixed in: Linux 71a0cf87e19fb35c4292ca88985e376e613c900a, Linux 641de086a05f349de7fc548612432bc2fed721ca, Linux 720554c04acba80018ded069d3e0984bebaee891, Linux 84d5727cef8eb9c8a28210ad248f1c70b223b065, Linux 231542f4e43cf9837cb520664545e85fbe666b7b, Linux 2299822f3f466b5dcad2377bf63986199f881a6b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98900 being exploited?

There is no confirmed exploitation: CVE-2026-98900 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98900?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98900?

Linux \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 71a0cf87e19fb35c4292ca88985e376e613c900a; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 641de086a05f349de7fc548612432bc2fed721ca; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 720554c04acba80018ded069d3e0984bebaee891; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 84d5727cef8eb9c8a28210ad248f1c70b223b065; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 231542f4e43cf9837cb520664545e85fbe666b7b; \>= dd3140588d9551235ebc2a0dacdca098e7677573, \< 2299822f3f466b5dcad2377bf63986199f881a6b; Linux 2.6.39.

### Is there a fix for CVE-2026-98900?

Yes. Fixed in Linux 71a0cf87e19fb35c4292ca88985e376e613c900a, Linux 641de086a05f349de7fc548612432bc2fed721ca, Linux 720554c04acba80018ded069d3e0984bebaee891, Linux 84d5727cef8eb9c8a28210ad248f1c70b223b065, Linux 231542f4e43cf9837cb520664545e85fbe666b7b, Linux 2299822f3f466b5dcad2377bf63986199f881a6b. Upgrade Linux to 2299822f3f466b5dcad2377bf63986199f881a6b or later.

### How do I check if I'm affected by CVE-2026-98900?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8>
- other: <https://git.kernel.org/stable/c/71a0cf87e19fb35c4292ca88985e376e613c900a>
- other: <https://git.kernel.org/stable/c/641de086a05f349de7fc548612432bc2fed721ca>
- other: <https://git.kernel.org/stable/c/720554c04acba80018ded069d3e0984bebaee891>
- other: <https://git.kernel.org/stable/c/84d5727cef8eb9c8a28210ad248f1c70b223b065>
- other: <https://git.kernel.org/stable/c/231542f4e43cf9837cb520664545e85fbe666b7b>
- other: <https://git.kernel.org/stable/c/2299822f3f466b5dcad2377bf63986199f881a6b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98900>

HTML: <https://flawdb.com/CVE-2026-98900> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98900>
