CVE-2026-80576

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

Published Aug 26, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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)

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Debian DLA Debian DLA DLA-4788-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-122
CWE-125
Type Values Removed Values Added
Weaknesses CWE-190
CWE-682
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'}

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

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:30 PM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Aug 26, 2026, 3:17 PM
Modified
Oct 30, 2026, 1:20 PM
Severity
Moderate
Public date
Aug 26, 2026, 12:00 AM