CVE-2026-98900

xen/gntalloc: validate grant count before allocation

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.

Key facts

Published
23 Oct 2026
Last changed
26 Oct 2026
Assigned by
Linux
EPSS
0.179% likely to be exploited in the next 30 days, higher than 7.53% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • dd3140588d9551235ebc2a0dacdca098e7677573 up to but excluding e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8 (affected)
  • dd3140588d9551235ebc2a0dacdca098e7677573 up to but excluding 71a0cf87e19fb35c4292ca88985e376e613c900a (affected)
  • dd3140588d9551235ebc2a0dacdca098e7677573 up to but excluding 641de086a05f349de7fc548612432bc2fed721ca (affected)
  • dd3140588d9551235ebc2a0dacdca098e7677573 up to but excluding 720554c04acba80018ded069d3e0984bebaee891 (affected)
  • dd3140588d9551235ebc2a0dacdca098e7677573 up to but excluding 84d5727cef8eb9c8a28210ad248f1c70b223b065 (affected)
  • dd3140588d9551235ebc2a0dacdca098e7677573 up to but excluding 231542f4e43cf9837cb520664545e85fbe666b7b (affected)
  • dd3140588d9551235ebc2a0dacdca098e7677573 up to but excluding 2299822f3f466b5dcad2377bf63986199f881a6b (affected)
LinuxLinux
  • Default status: affected
  • 2.6.39 (affected)
  • 0 up to but excluding 2.6.39 (unaffected)
  • 5.10.271 up to and including 5.10.* (unaffected)
  • 5.15.222 up to and including 5.15.* (unaffected)
  • 6.1.189 up to and including 6.1.* (unaffected)
  • 6.6.158 up to and including 6.6.* (unaffected)
  • 6.12.111 up to and including 6.12.* (unaffected)
  • 6.18.53 up to and including 6.18.* (unaffected)
  • 7.2 up to and including * (unaffected)

Timeline

  1. 23 Oct 2026 Published

References