Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-41011

drm/amdkfd: don't allow mapping the MMIO HDP page with large pages

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: don't allow mapping the MMIO HDP page with large pages We don't get the right offset in that case. The GPU has an unused 4K area of the register BAR space into which you can remap registers. We remap the HDP flush registers into this space to allow userspace (CPU or GPU) to flush the HDP when it updates VRAM. However, on systems with >4K pages, we end up exposing PAGE_SIZE of MMIO space.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to < 009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884affected
  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to < f7276cdc1912325b64c33fcb1361952c06e55f63affected
  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to < 8ad4838040e5515939c071a0f511ce2661a0889daffected
  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to < 89fffbdf535ce659c1a26b51ad62070566e33b28affected
  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to < 4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724affected
  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to < 6186c93560889265bfe0914609c274eff40bbeb5affected
  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to < be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7affected

Linux Linux

Default version status: affected

  • 5.3affected
  • 0 to < 5.3unaffected
  • 5.4.283 to ≤ 5.4.*unaffected
  • 5.10.225 to ≤ 5.10.*unaffected
  • 5.15.166 to ≤ 5.15.*unaffected
  • 6.1.91 to ≤ 6.1.*unaffected
  • 6.6.31 to ≤ 6.6.*unaffected
  • 6.8.10 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References