Description
In the Linux kernel, the following vulnerability has been resolved:

iommufd: Set veventq_depth upper bound

iommufd_veventq_alloc() accepts any !0 veventq_depth from userspace, with
an upper bound at U32_MAX.

This leaves a vulnerability where userspace can allocate excessively large
queues to exhaust kernel memory reserves.

Cap the veventq_depth (maximum number of entries) to 1 << 19, matching the
maximum number of entries in the SMMUv3 EVTQ (the largest use case today).
Published: 2026-07-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel the function iommufd_veventq_alloc() accepts any non‑zero veventq_depth value from userspace, allowing a depth up to 32‑bit unsigned maximum. This permits an attacker to request an event queue with an arbitrarily large number of entries, causing the kernel to attempt to allocate a correspondingly large block of memory. If the allocation succeeds the system can exhaust its kernel‑reserved memory and become unavailable, a classic resource‑exhaustion flaw identified as CWE‑770 and NVD-CWE-noinfo.

Affected Systems

The issue is present in all Linux kernel releases prior to applying the patch that caps veventq_depth at 524,288 entries (1<<19). No specific version numbers are listed, so all vulnerable kernels should be considered at risk until updated.

Risk and Exploitability

The vulnerability can be exploited by a user that has access to the iommufd interface; the likely attack vector is local exploitation, based on the fact that the function is called from userspace. The EPSS score is less than 1% and the vulnerability is not listed in the CISA KEV catalog, indicating a low likelihood of exploitation. Nevertheless, successful exploitation can deplete kernel memory and cause a denial‑of‑service. The CVSS score of 5.5 reflects a medium severity risk.

Generated by OpenCVE AI on August 13, 2026 at 10:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that applies the 1<<19 cap on veventq_depth
  • If an official kernel update is unavailable rebuild the kernel with the patch from the provided git commits
  • Restrict normal users from accessing the iommufd interface or limit the maximum queue depth via custom access control policies

Generated by OpenCVE AI on August 13, 2026 at 10:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 12 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo

Thu, 30 Jul 2026 04:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-789

Thu, 30 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Mon, 27 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-789

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: iommufd: Set veventq_depth upper bound iommufd_veventq_alloc() accepts any !0 veventq_depth from userspace, with an upper bound at U32_MAX. This leaves a vulnerability where userspace can allocate excessively large queues to exhaust kernel memory reserves. Cap the veventq_depth (maximum number of entries) to 1 << 19, matching the maximum number of entries in the SMMUv3 EVTQ (the largest use case today).
Title iommufd: Set veventq_depth upper bound
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 Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T08:49:30.686Z

Reserved: 2026-07-19T15:36:31.778Z

Link: CVE-2026-64291

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-25T10:17:09.837

Modified: 2026-08-12T15:06:49.520

Link: CVE-2026-64291

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64291 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T11:00:12Z

Weaknesses