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

drm/amdgpu: reject oversized IBs with per-ring packet limits

On GFX rings, amdgpu_cs_p2_ib() passed user-supplied ib_bytes through
to ib->length_dw without a limit, while ring_emit_ib() encodes length
into packet fields. Oversized values can corrupt adjacent control bits
and destabilize command submission.

Add a per-ring IB packet size limit helper and reject command
submissions exceeding the corresponding dword limit before IB
allocation. Use the documented 20-bit limit for GFX/compute/SDMA/VPE,
and apply the MM fallback limit for other ring types.

(cherry picked from commit 7f48fa2cf62e3fa6c9c3870aa74988f773247e52)
Published: 2026-08-26
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Kernel memory corruption due to oversized GPU command buffers
Action: Immediate patch update
AI Analysis

Impact

The amdgpu driver accepted a user‑supplied IB byte count without validating that it remained within the ring’s packet‑size limits. When excessively large values were passed, the driver encoded the length into packet fields that could overflow adjacent control bits. This overflow can corrupt kernel memory and destabilize command submission, which in turn can provide a local attacker the ability to corrupt kernel state.

Affected Systems

The Linux kernel builds that include the amdgpu DRM subsystem without the per‑ring IB packet‑size limit check are affected. No specific version information is supplied, so the flaw likely exists in all current kernel releases that expose the AMDGPU device to user space and allow GPU command submission. The lack of affected‑version details must be noted explicitly.

Risk and Exploitability

The flaw requires access to the AMDGPU device for command submission; thus it is a local‑attacker scenario. The EPSS score of < 1% indicates a very low probability of exploitation, while the CVSS score of 8.8 indicates high severity, and the vulnerability has not been reported in the KEV list. The exploitation vector involves crafting an oversized IB to trigger the overflow, leading to kernel corruption. While the chance of immediate exploitation may be low given the EPSS, local users with GPU access could abuse the flaw, rendering the risk significant but contingent upon local privileges.

Generated by OpenCVE AI on August 28, 2026 at 15:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that includes the amdgpu packet‑size limit patch.
  • Restrict permissions on /dev/dri/* devices so that only privileged users can interact with AMDGPU; verify group memberships such as ‘video’ are appropriately managed.
  • If a kernel update cannot be applied immediately, blacklist the amdgpu module or remove the device nodes to prevent untrusted processes from submitting GPU commands until the fix is deployed.

Generated by OpenCVE AI on August 28, 2026 at 15:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 27 Aug 2026 18:00:00 +0000

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

None

threat_severity

Moderate


Thu, 27 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122
CWE-125

Thu, 27 Aug 2026 08:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
CWE-682

Thu, 27 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Wed, 26 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
CWE-682

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: reject oversized IBs with per-ring packet limits On GFX rings, amdgpu_cs_p2_ib() passed user-supplied ib_bytes through to ib->length_dw without a limit, while ring_emit_ib() encodes length into packet fields. Oversized values can corrupt adjacent control bits and destabilize command submission. Add a per-ring IB packet size limit helper and reject command submissions exceeding the corresponding dword limit before IB allocation. Use the documented 20-bit limit for GFX/compute/SDMA/VPE, and apply the MM fallback limit for other ring types. (cherry picked from commit 7f48fa2cf62e3fa6c9c3870aa74988f773247e52)
Title drm/amdgpu: reject oversized IBs with per-ring packet limits
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-27T05:01:58.528Z

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

Link: CVE-2026-80576

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-08-27T06:17:43.533

Link: CVE-2026-80576

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-26T00:00:00Z

Links: CVE-2026-80576 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T15:15:05Z

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-122

    Heap-based Buffer Overflow

  • CWE-125

    Out-of-bounds Read