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

drm/xe/oa: Fix exec_queue leak on width check in stream open

In xe_oa_stream_open_ioctl(), when param.exec_q->width > 1 the
function returns -EOPNOTSUPP directly, skipping the existing
err_exec_q cleanup path. The exec_queue reference obtained by
xe_exec_queue_lookup() is leaked.

The exec queue holds a reference on the xe_file, which is only
dropped during queue teardown. The leaked lookup ref is not on
the file's exec_queue xarray, so file close cannot release it.
This keeps both the exec queue and the file private state pinned
indefinitely.

Jump to err_exec_q instead of returning directly so the reference
is released.

(cherry picked from commit 339fa0be9e4a5d69fa47e91f4a36574224fb478f)
Published: 2026-07-19
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This flaw occurs when opening a DRM XE OA stream with an execution queue width greater than one. The driver immediately returns an error, bypassing the cleanup code that would release a reference obtained from xe_exec_queue_lookup. Consequently, the reference to the execution queue is leaked, keeping both the queue and the associated file state pinned in memory. Over repeated openings this can accumulate unreleased references, consuming kernel memory and potentially causing the system to become unresponsive or trigger a denial of service.

Affected Systems

All Linux kernel releases that include the drm/xe/oa driver without the commits referenced in the advisory are affected. This includes stock kernels shipped by major distributions that have not yet incorporated the patch commits 04ef7592eaadd9ca8f8f66e76452f73525cff819, 4b0c4f0c1b133d4bfa31c167200bcda646873328, or 4d25342543c01310fc4e0cba7cb17c775e2421e2. Versions lacking these fixes should be considered vulnerable. No specific version numbers are provided in the CVE data, so affected releases cannot be narrowed beyond the absence of the mentioned commits.

Risk and Exploitability

The EPSS score is below 1 % and the vulnerability is not listed in the CISA KEV catalog, indicating a very low probability of exploitation in the wild. Nonetheless, repeated openings of DRM streams that specify a width greater than one can trigger the leak, potentially exhausting kernel memory and causing denial of service. The absence of a public exploit further reduces the likelihood of real‑world exploitation.

Generated by OpenCVE AI on August 4, 2026 at 06:11 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the commit changes included in the advisory, such as the patches referenced by the commit hashes 04ef7592eaadd9ca8f8f66e76452f73525cff819, 4b0c4f0c1b133d4bfa31c167200bcda646873328, or 4d25342543c01310fc4e0cba7cb17c775e2421e2.
  • If a kernel upgrade is not immediately possible, restrict or disable access to the DRM XE OA stream opening interface that accepts width values greater than one to prevent the leak from occurring.
  • Continuously monitor kernel memory usage and system responsiveness for signs of lingering leaks or degraded performance.

Generated by OpenCVE AI on August 4, 2026 at 06:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

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

Type Values Removed Values Added
Weaknesses CWE-674

Wed, 22 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-674

Wed, 22 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
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


Sun, 19 Jul 2026 15:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/xe/oa: Fix exec_queue leak on width check in stream open In xe_oa_stream_open_ioctl(), when param.exec_q->width > 1 the function returns -EOPNOTSUPP directly, skipping the existing err_exec_q cleanup path. The exec_queue reference obtained by xe_exec_queue_lookup() is leaked. The exec queue holds a reference on the xe_file, which is only dropped during queue teardown. The leaked lookup ref is not on the file's exec_queue xarray, so file close cannot release it. This keeps both the exec queue and the file private state pinned indefinitely. Jump to err_exec_q instead of returning directly so the reference is released. (cherry picked from commit 339fa0be9e4a5d69fa47e91f4a36574224fb478f)
Title drm/xe/oa: Fix exec_queue leak on width check in stream open
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-19T15:39:14.741Z

Reserved: 2026-07-19T07:54:57.027Z

Link: CVE-2026-64021

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

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

Links: CVE-2026-64021 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T06:15:04Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime