Skip to content
Medium 5.5

xen/gntalloc: validate grant count before allocation

CVE-2026-98900 First seen on SecPulse

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 2.6.39, < 5.10.271→ 5.10.271
≥ 5.11.0, < 5.15.222→ 5.15.222
≥ 5.16.0, < 6.1.189→ 6.1.189
≥ 6.2.0, < 6.6.158→ 6.6.158
≥ 6.7.0, < 6.12.111→ 6.12.111
≥ 6.13.0, < 6.18.53→ 6.18.53

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details