CVE-2024-41011

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

State
Published
Severity
7.8 High
Published
Jul 18, 2024
Updated
Aug 5, 2026
Reserved
Jul 12, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to before 009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884Affected
  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to before f7276cdc1912325b64c33fcb1361952c06e55f63Affected
  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to before 8ad4838040e5515939c071a0f511ce2661a0889dAffected
  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to before 89fffbdf535ce659c1a26b51ad62070566e33b28Affected
  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to before 4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724Affected
  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to before 6186c93560889265bfe0914609c274eff40bbeb5Affected
  • d8e408a82704c86ba87c3d58cfe69dcdb758aa07 to before be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7Affected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.4.283 through 5.4.*Not affected
  • 5.10.225 through 5.10.*Not affected
  • 5.15.166 through 5.15.*Not affected
  • 6.1.91 through 6.1.*Not affected
  • 6.6.31 through 6.6.*Not affected
  • 6.8.10 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.