# CVE-2026-68276: drm/amdgpu/gfx: fix cleaner shader IB buffer overflow

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-08-10T12:01:51.789Z
- Modified: 2026-08-17T05:18:30.190Z
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from d361ad5d2fc0e4d59d5d538092c9b37889756642 before 201633f47b542a99bb7baafdfcda7781249fb3d9; from d361ad5d2fc0e4d59d5d538092c9b37889756642 before e28420e36542ae8b66a5bdcec419525f521bddf8; from d361ad5d2fc0e4d59d5d538092c9b37889756642 before 9cd9a983769a4d0e9cc80a287316ee79685d38b3; from d361ad5d2fc0e4d59d5d538092c9b37889756642 before 3e864bf2a32a1cbdf1e0f9c5a5a4176e8575f4a3; 6.12 (not affected: before 6.12; from 6.12.103 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/201633f47b542a99bb7baafdfcda7781249fb3d9>
- <https://git.kernel.org/stable/c/e28420e36542ae8b66a5bdcec419525f521bddf8>
- <https://git.kernel.org/stable/c/9cd9a983769a4d0e9cc80a287316ee79685d38b3>
- <https://git.kernel.org/stable/c/3e864bf2a32a1cbdf1e0f9c5a5a4176e8575f4a3>

## Sources

- CVE List: [CVE-2026-68276](https://www.cve.org/CVERecord?id=CVE-2026-68276), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-68276](https://nvd.nist.gov/vuln/detail/CVE-2026-68276), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-68276 · Whole record: https://cve.day/CVE-2026-68276.json · Rebuilt by cve.day 2026-11-25T22:59:32.068Z
