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 products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <71a0cf87e19fb35c4292ca88985e376e613c900a [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <641de086a05f349de7fc548612432bc2fed721ca [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <720554c04acba80018ded069d3e0984bebaee891 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <84d5727cef8eb9c8a28210ad248f1c70b223b065 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <231542f4e43cf9837cb520664545e85fbe666b7b [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <2299822f3f466b5dcad2377bf63986199f881a6b [affected]; 0 to <5.10.271 [affected]; 0 to <5.15.222 [affected]; 0 to <6.1.189 [affected]; 0 to <6.6.158 [affected]; 0 to <6.12.111 [affected]; 0 to <6.18.53 [affected]
LinuxLinux5.10.271 to <=5.10.* [unaffected]; 5.15.222 to <=5.15.* [unaffected]; 6.1.189 to <=6.1.* [unaffected]; 6.6.158 to <=6.6.* [unaffected]; 6.12.111 to <=6.12.* [unaffected]; 6.18.53 to <=6.18.* [unaffected]; 7.2 to <=* [unaffected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 24 Oct 2026 07:01 UTC.