CVE-2024-41011 drm/amdkfd: don't allow mapping the MMIO HDP page with large pages
A flaw in the Linux kernel's AMD GPU driver allows userspace to read unintended MMIO register data due to incorrect page mapping sizes.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-41011?
CVE-2024-41011 is a high-severity vulnerability in Linux kernel, published on 18 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-682
Which versions are affected by CVE-2024-41011?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-41011?
Apply the vendor's patch.
Is CVE-2024-41011 being exploited?
There is no known exploitation of CVE-2024-41011 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-48820, BELL-CVE-2024-41011, DEBIAN-CVE-2024-41011, GHSA-fv42-492h-89pj, UBUNTU-CVE-2024-41011.