CVE-2024-41011·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.8.10
- Published
- 2024-07-18
Affected versions
From: 6.7
Until: 6.8.10
Fixed in: 6.8.10
How to fix this CVE
Update your Linux kernel to version 6.8.10 or later to remediate CVE-2024-41011, which prevents improper large-page mapping of the AMD GPU HDP MMIO register space. Systems running kernel versions 6.7 through 6.8.9 should prioritize this patch to prevent potential memory access violations on AMD-based systems. After applying the update, reboot your system to load the patched kernel.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — confirm if it falls between 6.7 and 6.8.9
- Verify AMD GPU presence: lspci | grep -i amd — if no AMD GPU is present, the vulnerability impact is negligible
- Check kernel module status: lsmod | grep amdkfd — verify if AMD KFD (Kernel Fusion Driver) is loaded on your system
- Confirm patch installation: grep 'CONFIG_DRM_AMDKFD' /boot/config-$(uname -r) — ensure the driver is enabled; after reboot, verify with uname -r that version is 6.8.10 or later
FAQ
What is CVE-2024-41011?
CVE-2024-41011 is a kernel memory mapping vulnerability in AMD GPU support (amdkfd driver) where large page mappings incorrectly expose MMIO register space beyond the intended 4K HDP flush register area, potentially allowing unauthorized memory access.
Is CVE-2024-41011 being actively exploited?
No, CVE-2024-41011 is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and has no public proof-of-concept exploits available.
What versions of Kernel are affected by CVE-2024-41011?
Linux kernel versions 6.7 through 6.8.9 are vulnerable; kernel 6.8.10 and later versions contain the fix.
How do I check if my server is vulnerable to CVE-2024-41011?
Run uname -r to check your kernel version—if it shows 6.7.x through 6.8.9, you are vulnerable; also run lspci | grep -i amd and lsmod | grep amdkfd to confirm AMD GPU support is present.
Does Defensia detect CVE-2024-41011?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-41011 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884
- https://git.kernel.org/stable/c/4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724
- https://git.kernel.org/stable/c/6186c93560889265bfe0914609c274eff40bbeb5
- https://git.kernel.org/stable/c/89fffbdf535ce659c1a26b51ad62070566e33b28
- https://git.kernel.org/stable/c/8ad4838040e5515939c071a0f511ce2661a0889d
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-41011. Free for 1 server.
Get started free