{"id":"CVE-2026-74447","aliases":["CVE-2026-74447"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment\n\neop_ring_buffer_size in struct queue_properties is a u32. In\nkfd_queue_acquire_buffers() the expected EOP buffer size is computed as\nALIGN(eop_ring_buffer_size, PAGE_SIZE); ALIGN uses typeof(x), so the\naddition is done in 32-bit. A user-supplied size of 0xFFFFF001 wraps to\n0, causing kfd_queue_buffer_get() to skip its exact-size check (gated on\nsize != 0) and accept any BO mapped at the address. On GFX8/GFX9 the MQD\ncp_hqd_eop_control is then programmed for an 8KB EOP ring backed by a 4KB\nBO, so CP EOP writes can land past the buffer and fault the GPU.\n\nCast the operand to u64 so the alignment is computed in 64-bit; the size\ncheck in kfd_queue_buffer_get() then rejects the oversized request.\n\n(cherry picked from commit ae443117b742c357bfef3a7bddabf76fcf86e9ef)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment\n\neop_ring_buffer_size in struct queue_properties is a u32. In\nkfd_queue_acquire_buffers() the expected EOP buffer size is computed as\nALIGN(eop_ring_buffer_size, PAGE_SIZE); ALIGN uses typeof(x), so the\naddition is done in 32-bit. A user-supplied size of 0xFFFFF001 wraps to\n0, causing kfd_queue_buffer_get() to skip its exact-size check (gated on\nsize != 0) and accept any BO mapped at the address. On GFX8/GFX9 the MQD\ncp_hqd_eop_control is then programmed for an 8KB EOP ring backed by a 4KB\nBO, so CP EOP writes can land past the buffer and fault the GPU.\n\nCast the operand to u64 so the alignment is computed in 64-bit; the size\ncheck in kfd_queue_buffer_get() then rejects the oversized request.\n\n(cherry picked from commit ae443117b742c357bfef3a7bddabf76fcf86e9ef)","source":"cvelist"}],"published":"2026-08-15T12:26:53.305Z","modified":"2026-10-16T20:17:28.420Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ee0dc6c66a913260311876a4b2b53fe0b9bc3f94","fixed":"273548eb997c6be85230c1236b18784b09f6203c","status":"affected"},{"type":"git","introduced":"acfc84cfa70aca5b970faf152979bc97b9f8b0c0","fixed":"6dc0b4b39ed4f11ef70f76ecea8537e35f45342b","status":"affected"},{"type":"git","introduced":"42ea9cf2f16b7131cb7302acb3dac510968f8bdc","fixed":"7c54bd225d83bc1bcb44430ed4b4d3a5c36b1961","status":"affected"},{"type":"git","introduced":"42ea9cf2f16b7131cb7302acb3dac510968f8bdc","fixed":"83463a96ea3c7d8ae636a4d6a0ba63c9ce410724","status":"affected"},{"type":"git","version":"c6ce687077cc67e4f3cbd0c89cb356fbbce91f4c","status":"affected"},{"type":"semver","introduced":"6.12.75","fixed":"6.12.103","status":"affected"},{"type":"semver","introduced":"6.18.16","fixed":"6.18.44","status":"affected"},{"type":"semver","introduced":"6.19.6","fixed":"6.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"6.12.103","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/273548eb997c6be85230c1236b18784b09f6203c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6dc0b4b39ed4f11ef70f76ecea8537e35f45342b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c54bd225d83bc1bcb44430ed4b4d3a5c36b1961","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/83463a96ea3c7d8ae636a4d6a0ba63c9ce410724","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:56:43.690Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74447","url":"https://www.cve.org/CVERecord?id=CVE-2026-74447","licence":"CVE Terms of Use","modified":"2026-10-16T19:05:46.230Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74447","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74447","licence":"Public domain","modified":"2026-10-16T20:17:28.420Z"}],"updatedAt":"2026-11-25T22:59:33.217Z","epss":{"score":0.00129,"percentile":0.02715,"date":"2026-12-01T12:00:22.000Z"}}