# CVE-2026-74447: drm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-15T12:26:53.305Z
- Modified: 2026-10-16T20:17:28.420Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

drm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment

eop_ring_buffer_size in struct queue_properties is a u32. In
kfd_queue_acquire_buffers() the expected EOP buffer size is computed as
ALIGN(eop_ring_buffer_size, PAGE_SIZE); ALIGN uses typeof(x), so the
addition is done in 32-bit. A user-supplied size of 0xFFFFF001 wraps to
0, causing kfd_queue_buffer_get() to skip its exact-size check (gated on
size != 0) and accept any BO mapped at the address. On GFX8/GFX9 the MQD
cp_hqd_eop_control is then programmed for an 8KB EOP ring backed by a 4KB
BO, so CP EOP writes can land past the buffer and fault the GPU.

Cast the operand to u64 so the alignment is computed in 64-bit; the size
check in kfd_queue_buffer_get() then rejects the oversized request.

(cherry picked from commit ae443117b742c357bfef3a7bddabf76fcf86e9ef)

(As written by CVE List.)

## Affected

- Linux Linux: from ee0dc6c66a913260311876a4b2b53fe0b9bc3f94 before 273548eb997c6be85230c1236b18784b09f6203c; from acfc84cfa70aca5b970faf152979bc97b9f8b0c0 before 6dc0b4b39ed4f11ef70f76ecea8537e35f45342b; from 42ea9cf2f16b7131cb7302acb3dac510968f8bdc before 7c54bd225d83bc1bcb44430ed4b4d3a5c36b1961; from 42ea9cf2f16b7131cb7302acb3dac510968f8bdc before 83463a96ea3c7d8ae636a4d6a0ba63c9ce410724; c6ce687077cc67e4f3cbd0c89cb356fbbce91f4c; from 6.12.75 before 6.12.103; from 6.18.16 before 6.18.44; from 6.19.6 before 6.20; 7.0 (not affected: before 7.0; from 6.12.103 up to 6.12.*; from 6.18.44 up to 6.18.*; from 7.1.8 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/273548eb997c6be85230c1236b18784b09f6203c>
- <https://git.kernel.org/stable/c/6dc0b4b39ed4f11ef70f76ecea8537e35f45342b>
- <https://git.kernel.org/stable/c/7c54bd225d83bc1bcb44430ed4b4d3a5c36b1961>
- <https://git.kernel.org/stable/c/83463a96ea3c7d8ae636a4d6a0ba63c9ce410724>

## Sources

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

---

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