CVE-2024-41011

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc7:*:*:*:*:*:*

History

06 Sep 2024, 13:19

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884 - () https://git.kernel.org/stable/c/009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884 - Patch
References () https://git.kernel.org/stable/c/4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724 - () https://git.kernel.org/stable/c/4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724 - Patch
References () https://git.kernel.org/stable/c/6186c93560889265bfe0914609c274eff40bbeb5 - () https://git.kernel.org/stable/c/6186c93560889265bfe0914609c274eff40bbeb5 - Patch
References () https://git.kernel.org/stable/c/89fffbdf535ce659c1a26b51ad62070566e33b28 - () https://git.kernel.org/stable/c/89fffbdf535ce659c1a26b51ad62070566e33b28 - Patch
References () https://git.kernel.org/stable/c/8ad4838040e5515939c071a0f511ce2661a0889d - () https://git.kernel.org/stable/c/8ad4838040e5515939c071a0f511ce2661a0889d - Patch
References () https://git.kernel.org/stable/c/be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7 - () https://git.kernel.org/stable/c/be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7 - Patch
References () https://git.kernel.org/stable/c/f7276cdc1912325b64c33fcb1361952c06e55f63 - () https://git.kernel.org/stable/c/f7276cdc1912325b64c33fcb1361952c06e55f63 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CWE CWE-682
CPE cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
First Time Linux linux Kernel
Linux

04 Sep 2024, 12:15

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884 -
  • () https://git.kernel.org/stable/c/8ad4838040e5515939c071a0f511ce2661a0889d -
  • () https://git.kernel.org/stable/c/f7276cdc1912325b64c33fcb1361952c06e55f63 -
Summary
  • (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.

18 Jul 2024, 07:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-07-18 07:15

Updated : 2024-09-06 13:19


NVD link : CVE-2024-41011

Mitre link : CVE-2024-41011

CVE.ORG link : CVE-2024-41011


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-682

Incorrect Calculation