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

drm/amdgpu: validate GEM_CREATE domain combinations

AMDGPU_GEM_CREATE checked domain bits against AMDGPU_GEM_DOMAIN_MASK,
but did not validate domain combinations. Userspace could combine
CPU|GTT|VRAM with DOORBELL, GDS, GWS, or OA, making
amdgpu_bo_placement_from_domain() exceed AMDGPU_BO_MAX_PLACEMENTS and
hit BUG_ON().

Allow combinations only within CPU/GTT/VRAM, and require non-CPU/GTT/
VRAM domains to be specified one at a time. Return -EINVAL for invalid
combinations in amdgpu_gem_create_ioctl().

v2: Rename helper from amdgpu_gem_domain_valid() to
amdgpu_gem_are_domains_valid() (Christian)

(cherry picked from commit db39852d0c39843cb02048dfb47e4b8c703e9080)
Published: 2026-08-26
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The AMDGPU driver in the Linux kernel allowed the user‑level GEM_CREATE ioctl to accept domain flags without validating that the selected combination was allowed. A malicious requester could specify a combination of CPU|GTT|VRAM together with non‑CPU/GTT/VRAM domains such as DOORBELL, GDS, GWS, or OA. The driver then calculated a placement path count that exceeded the maximum allowed by AMDGPU_BO_MAX_PLACEMENTS, ultimately triggering BUG_ON(). This results in a kernel panic and a denial of service.

Affected Systems

Any Linux installation that uses a kernel incorporating the vulnerable AMDGPU driver and exposes the amdgpu_gem_create ioctl (devices such as /dev/dri/render* or /dev/dri/card*) is affected. Until the kernel includes the patch that validates domain combinations and returns –EINVAL for invalid requests, all current kernel releases that have not yet integrated the fix are at risk. No detailed affected‑version information is provided by the CNA for this vulnerability.

Risk and Exploitability

The flaw is local; an attacker needs write access to the AMDGPU device files to craft a malicious request. This local attack vector is inferred from the fact that the kernel panic can only be triggered by a privileged user interacting with the device file, as no remote or network capability is mentioned in the description. No network or remote attack vector exists. The exploit path is straightforward – constructing an invalid domain combination – and the effect is a hard kernel crash. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, but the impact on system availability is high. Immediate patching is recommended to avoid local denial of service.

Generated by OpenCVE AI on August 26, 2026 at 17:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the patch validating domain combinations.
  • Restrict write access to the AMDGPU device files (e.g., set appropriate ACLs or udev rules) so that only trusted users can invoke the amdgpu_gem_create ioctl.
  • Monitor system logs for BUG_ON events and configure automatic reboot or failover if a kernel crash occurs.

Generated by OpenCVE AI on August 26, 2026 at 17:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Wed, 26 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: validate GEM_CREATE domain combinations AMDGPU_GEM_CREATE checked domain bits against AMDGPU_GEM_DOMAIN_MASK, but did not validate domain combinations. Userspace could combine CPU|GTT|VRAM with DOORBELL, GDS, GWS, or OA, making amdgpu_bo_placement_from_domain() exceed AMDGPU_BO_MAX_PLACEMENTS and hit BUG_ON(). Allow combinations only within CPU/GTT/VRAM, and require non-CPU/GTT/ VRAM domains to be specified one at a time. Return -EINVAL for invalid combinations in amdgpu_gem_create_ioctl(). v2: Rename helper from amdgpu_gem_domain_valid() to amdgpu_gem_are_domains_valid() (Christian) (cherry picked from commit db39852d0c39843cb02048dfb47e4b8c703e9080)
Title drm/amdgpu: validate GEM_CREATE domain combinations
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-08-26T14:37:14.572Z

Reserved: 2026-08-26T14:34:25.765Z

Link: CVE-2026-80541

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T15:17:08.400

Modified: 2026-08-26T15:17:08.400

Link: CVE-2026-80541

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T17:45:03Z

Weaknesses
  • CWE-20

    Improper Input Validation