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

drm/amdgpu/gfx: fix cleaner shader IB buffer overflow

The cleaner shader sysfs path allocates a 16-dword (64 byte) IB but
incorrectly fills (align_mask + 1) dwords. On GFX rings align_mask is
0xff, so the loop wrote 256 dwords into a 64-byte buffer, causing a
kernel page fault.

The IB only needs to be a minimal NOP shell to schedule the job; the
cleaner shader itself is emitted on the ring via emit_cleaner_shader().
Fill 16 dwords to match the allocation.

v2: Use ib_size_dw variable (Lijo)

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

Impact

The Linux kernel’s amdgpu driver allocates a 64‑byte instruction buffer for the cleaner shader via a sysfs interface but mistakenly fills 256 dwords, causing a buffer overflow and a kernel page fault. The result is a system crash that denies availability of all users. This flaw represents a classic kernel buffer overflow where the attacker can trigger a crash by writing to the exposed sysfs entry. The vulnerability is limited to local system users who can write to that sysfs path, and no remote or privilege‑escalating exploitation is documented.

Affected Systems

Any Linux kernel running the amdgpu driver before the patch was applied is vulnerable. The bug was fixed in commits referenced in the advisory, so kernel releases containing those patches are considered patched. Specific version numbers are not listed, so users should verify that their kernels include the commit that bounds the patch.

Risk and Exploitability

The CVSS score is not available, and EPSS is not provided, indicating that no widespread exploitation data exists today. However, a local user with write access to the cleaner shader sysfs entry can reliably trigger a kernel fault, making this a medium‑to‑high risk denial of service within the affected environment. The vulnerability is listed outside CISA KEV, which suggests no known active exploits are currently cataloged. The attack vector is inferred to be local via sysfs writes; there is no evidence of remote exploitation or privilege escalation.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the amdgpu cleaner shader bug fix in the referenced patches.
  • If kernel upgrade is not available, apply the patch manually by integrating the commit that corrects the buffer size into the kernel source and rebuild the kernel.
  • Limit write permissions on the cleaner shader sysfs entries by setting appropriate file system ACLs or SELinux policies to prevent unauthorized modification.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/gfx: fix cleaner shader IB buffer overflow The cleaner shader sysfs path allocates a 16-dword (64 byte) IB but incorrectly fills (align_mask + 1) dwords. On GFX rings align_mask is 0xff, so the loop wrote 256 dwords into a 64-byte buffer, causing a kernel page fault. The IB only needs to be a minimal NOP shell to schedule the job; the cleaner shader itself is emitted on the ring via emit_cleaner_shader(). Fill 16 dwords to match the allocation. v2: Use ib_size_dw variable (Lijo) (cherry picked from commit bf21af331ebf72d0935fd70c73192414a422c03a)
Title drm/amdgpu/gfx: fix cleaner shader IB buffer overflow
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-10T12:01:51.789Z

Reserved: 2026-07-30T09:28:09.379Z

Link: CVE-2026-68276

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T15:30:05Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer