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.
Published: 2026-10-23
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

The vulnerability is a failure to validate the number of grant identifiers requested before allocating them in the kernel grant allocation mechanism. A request for a count exceeding the global grant limit is not rejected until after memory is allocated, allowing a user to trigger a large allocation that can exhaust kernel memory or cause a panic. The flaw arises from an unchecked input that permits integer wraparound during the count check, ultimately leading to uncontrolled resource consumption. The impact is a denial of service: an attacker can destabilize the kernel by exhausting memory or triggering a fault.

Affected Systems

Linux kernel modules implementing grant table allocation are affected. The CVE description does not specify a version range; the flaw exists in the grant table allocation logic as implemented before the fix. All unpatched releases could be impacted, but the specific affected versions are not listed.

Risk and Exploitability

No CVSS score or EPSS value is available, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attack requires access to the Xen grant table ioctl interface, which is typically available to privileged users or within a Xen domain context. Because the flaw allows large allocations, exploitation is likely to succeed in an environment where the vulnerable process runs with sufficient privileges, though the exact vector is not detailed in the CVE description. The absence of exploitation statistics makes the precise likelihood uncertain, but the potential to consume kernel memory suggests a high impact if successful.

Generated by OpenCVE AI on October 23, 2026 at 14:47 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the grant count validation fix.
  • If upgrading is not immediately possible, restrict access to the Xen grant allocation ioctl by configuring role-based access controls (e.g., SELinux, AppArmor) or by disabling the grant allocation interface in the kernel configuration.
  • Monitor kernel memory usage and log files for signs of abnormal grant table growth or panics caused by grant allocation exhaustion.

Generated by OpenCVE AI on October 23, 2026 at 14:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Fri, 23 Oct 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-400
CWE-680

Fri, 23 Oct 2026 12:00:00 +0000

Type Values Removed Values Added
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.
Title xen/gntalloc: validate grant count before allocation
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-23T11:54:10.566Z

Reserved: 2026-09-25T10:25:14.379Z

Link: CVE-2026-98900

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T12:18:24.020

Modified: 2026-10-23T12:18:24.020

Link: CVE-2026-98900

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T15:15:14Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-680

    Integer Overflow to Buffer Overflow