CVE-2024-56784·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Adding array index check to prevent memory corruption [Why & How] Array indices out of bound caused memory corruption. Adding checks to ensure that array index stays in bound.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.5
- Published
- 2025-01-08
Affected versions
Until: 6.12.5
Fixed in: 6.12.5
How to fix this CVE
Update your Linux kernel to version 6.12.5 or later to address a memory corruption vulnerability in the AMD display driver that can be exploited by local users with limited privileges. This patch adds proper boundary validation to array index operations within the DRM/AMD display subsystem, preventing out-of-bounds memory access that could lead to privilege escalation or system compromise.
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 compare against 6.12.5. Versions below 6.12.5 are vulnerable.
- Step 2: Verify AMD GPU driver is loaded with 'lsmod | grep amdgpu' or 'lsmod | grep radeon' to confirm exposure to the display driver vulnerability.
- Step 3: Monitor syslog for out-of-bounds memory access warnings with 'dmesg | grep -i "out of bounds\|bounds check\|array index"'.
- Step 4: After patching, confirm the new kernel is running with 'uname -r' and verify it reports version 6.12.5 or later.
FAQ
What is CVE-2024-56784?
CVE-2024-56784 is a memory corruption vulnerability in the Linux kernel's AMD display driver (DRM subsystem) where missing array boundary checks allow local users to trigger out-of-bounds memory access, potentially leading to privilege escalation.
Is CVE-2024-56784 being actively exploited?
No. This vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available, though it remains a high-severity local privilege escalation risk.
What versions of Kernel are affected by CVE-2024-56784?
Linux kernel versions prior to 6.12.5 are affected. The exact introduction version is unknown, but all versions up to 6.12.4 should be considered vulnerable.
How do I check if my server is vulnerable to CVE-2024-56784?
Run 'uname -r' to check your kernel version. If the output is below 6.12.5, your system is vulnerable. Additionally, run 'lsmod | grep -i amd' to confirm AMD display driver components are loaded.
Does Defensia detect CVE-2024-56784?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-56784 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-56784. Free for 1 server.
Get started free