7.8high
drm/amdkfd: don't allow mapping the MMIO HDP page with large pages
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d8e408a82704c86ba87c3d58cfe69dcdb758aa07 before 009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884, from d8e408a82704c86ba87c3d58cfe69dcdb758aa07 before f7276cdc1912325b64c33fcb1361952c06e55f63, from d8e408a82704c86ba87c3d58cfe69dcdb758aa07 before 8ad4838040e5515939c071a0f511ce2661a0889d, from d8e408a82704c86ba87c3d58cfe69dcdb758aa07 before 89fffbdf535ce659c1a26b51ad62070566e33b28, from d8e408a82704c86ba87c3d58cfe69dcdb758aa07 before 4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724, from d8e408a82704c86ba87c3d58cfe69dcdb758aa07 before 6186c93560889265bfe0914609c274eff40bbeb5, from d8e408a82704c86ba87c3d58cfe69dcdb758aa07 before be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7, 5.3 Not affected: before 5.3, from 5.4.283 up to 5.4.*, from 5.10.225 up to 5.10.*, from 5.15.166 up to 5.15.*, from 6.1.91 up to 6.1.*, from 6.6.31 up to 6.6.* | CVE List |
| linux linux_kernel | from 5.3 before 5.4.283, from 5.5 before 5.10.225, from 5.11 before 5.15.166, from 5.16 before 6.1.91, from 6.7 before 6.8.10, 6.9 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amdkfd: no permite mapear la página MMIO HDP con páginas grandes. En ese caso, no obtenemos el desplazamiento correcto. La GPU tiene un área 4K no utilizada del espacio BAR de registros en el que puede reasignar registros. Reasignamos los registros de descarga del HDP en este espacio para permitir que el espacio de usuario (CPU o GPU) vacíe el HDP cuando actualice la VRAM. Sin embargo, en sistemas con páginas >4K, terminamos exponiendo PAGE_SIZE del espacio MMIO.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-41011 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-41011 changed 2026-08-04 | Public domain |