CVE-2024-46871·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX [Why & How] It actually exposes '6' types in enum dmub_notification_type. Not 5. Using smaller number to create array dmub_callback & dmub_thread_offload has potential to access item out of array bound. Fix it.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.10.9
- Published
- 2024-10-09
Affected versions
From: 6.7
Until: 6.10.9
Fixed in: 6.10.9
How to fix this CVE
Update your Linux kernel to version 6.10.9 or later to patch an array boundary condition in the AMD display driver's DMUB notification handler. This vulnerability allows local privileged attackers to trigger out-of-bounds memory access by exploiting an incorrect constant that defines the maximum number of notification types. Apply the patch immediately if you are running kernel versions 6.7 through 6.10.8.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with `uname -r` and verify it is 6.10.9 or later
- Step 2: Confirm AMD GPU drivers are in use by checking `lspci | grep -i amd` and `lsmod | grep amdgpu`
- Step 3: Search kernel logs for memory access violations with `sudo dmesg | grep -E '(general protection fault|segfault|amdgpu|dmub)' | tail -20`
- Step 4: Verify the patch was applied by checking `/proc/version` or running `cat /boot/config-$(uname -r) | grep CONFIG_DRM_AMD_DC`
FAQ
What is CVE-2024-46871?
CVE-2024-46871 is a kernel vulnerability in AMD's DMUB (Display Microcontroller Unit BIOS) notification handler where an incorrect constant underestimates the number of notification types, causing potential out-of-bounds array access when local privileged processes interact with the display driver.
Is CVE-2024-46871 being actively exploited?
No, CVE-2024-46871 is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-46871?
Linux kernel versions 6.7 through 6.10.8 are affected. The vulnerability is patched in kernel 6.10.9 and later.
How do I check if my server is vulnerable to CVE-2024-46871?
Run `uname -r` to check your kernel version. If it shows 6.7.x through 6.10.8 and you have AMD GPU support enabled (`lsmod | grep amdgpu`), your system is vulnerable.
Does Defensia detect CVE-2024-46871?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-46871 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/800a5ab673c4a61ca220cce177386723d91bdb37
- https://git.kernel.org/stable/c/9f404b0bc2df3880758fb3c3bc7496f596f347d7
- https://git.kernel.org/stable/c/ad28d7c3d989fc5689581664653879d664da76f0
- https://git.kernel.org/stable/c/c592b6355b9b57b8e59fc5978ce1e14f64488a98
- https://git.kernel.org/stable/c/e1896f381d27466c26cb44b4450eae05cd59dfd0
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-46871. Free for 1 server.
Get started free