Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-44977 Overview
CVE-2024-44977 is an out-of-bounds write vulnerability [CWE-787] in the Linux kernel's drm/amdgpu driver. The flaw stems from missing size validation of the Trusted Application (TA) binary before it is loaded by the AMD GPU Platform Security Processor (PSP) subsystem. A local, authenticated attacker able to influence the TA binary input can trigger memory corruption in kernel space. The upstream fix adds explicit TA binary size validation prior to the copy operation. The vulnerability affects multiple Linux kernel branches and Debian Linux 11, with downstream fixes shipped via Debian LTS.
Critical Impact
Local attackers with low privileges can corrupt kernel memory, enabling privilege escalation, denial of service, or arbitrary kernel code execution on systems running affected AMD GPU drivers.
Affected Products
- Linux kernel (multiple stable branches prior to the fix commits)
- Linux kernel 6.11-rc1 through 6.11-rc4
- Debian Linux 11
Discovery Timeline
- 2024-09-04 - CVE-2024-44977 published to NVD
- 2025-01 - Debian LTS advisory released (Debian LTS Announcement January 2025)
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-44977
Vulnerability Analysis
The vulnerability resides in the AMD GPU driver (drm/amdgpu) within the Platform Security Processor (PSP) code path that loads Trusted Application (TA) firmware binaries. The driver copies the TA binary into a kernel buffer without first validating that the binary size fits within the destination allocation. When the supplied size exceeds the expected bounds, the copy writes past the end of the buffer, producing an out-of-bounds write in kernel memory.
The upstream resolution, applied across stable kernels in commits 50553ea7, 5ab8793b, c99769bc, and e5624152, introduces an explicit size check before the TA binary is consumed. This prevents the oversized copy from reaching vulnerable kernel structures.
Root Cause
The root cause is missing input validation on firmware blob metadata. The amdgpu PSP loader trusted the length field embedded in the TA binary header without comparing it against the allocated destination buffer. This categorizes the flaw as a classic out-of-bounds write [CWE-787] driven by improper input validation of untrusted length data.
Attack Vector
Exploitation requires local access and low privileges on a system with the vulnerable amdgpu driver loaded. An attacker capable of supplying or substituting the TA firmware binary consumed by the driver can craft an oversized blob to trigger the OOB write. Successful corruption of adjacent kernel objects can be chained into privilege escalation or kernel panic. Remote exploitation is not applicable, which aligns with the local attack vector in the CVSS metrics.
No public proof-of-concept exploit code is available. Technical details are documented in the upstream kernel fix commits linked in the vendor advisory section.
Detection Methods for CVE-2024-44977
Indicators of Compromise
- Unexpected kernel oops or panics referencing amdgpu, psp, or TA loading routines in dmesg and /var/log/kern.log.
- KASAN or slab corruption reports mentioning psp_ta structures or adjacent kernel allocations.
- Unauthorized modification of AMD GPU firmware files under /lib/firmware/amdgpu/.
Detection Strategies
- Inventory running kernel versions and compare against the fixed stable branches referenced in the kernel.org commits.
- Monitor file integrity on /lib/firmware/amdgpu/ to detect tampering with TA binaries.
- Correlate graphics driver crashes with subsequent privilege escalation attempts or anomalous process spawns from GPU-adjacent services.
Monitoring Recommendations
- Enable kernel audit logging for module load events and firmware access through auditd rules on /lib/firmware.
- Ship kernel ring buffer and audit telemetry to a centralized data lake for retention and anomaly analysis.
- Alert on repeated amdgpu driver crashes from the same user session, which may indicate exploitation attempts.
How to Mitigate CVE-2024-44977
Immediate Actions Required
- Apply the Linux kernel updates containing the TA binary size validation commits on all affected hosts and reboot into the patched kernel.
- Install the Debian LTS kernel package update for Debian 11 as described in the January 2025 LTS announcement.
- Restrict local account access and audit users with permissions to modify firmware directories or load kernel modules.
Patch Information
The fix is distributed across multiple stable kernel branches via the following commits: 50553ea7, 5ab8793b, c99769bc, and e5624152. Debian 11 users should install the fixed kernel package per the Debian LTS Announcement January 2025.
Workarounds
- Where patching is not immediately possible, blacklist the amdgpu kernel module on systems that do not require AMD GPU acceleration.
- Enforce strict filesystem permissions on /lib/firmware/amdgpu/ so only root can modify TA binaries.
- Limit local shell access and remove unnecessary local accounts to reduce exposure to the local attack vector.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

