CVE-2024-49991
kernel: drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 21, 2024
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel's drm/amdkfd component. This use-after-free vulnerability occurs in the amdkfd_free_gtt_mem function due to incorrect pointer handling. An attacker with administrative privileges could exploit this flaw, potentially leading to information disclosure or a denial of service.
Statement
This issue is considered to be a moderate impact flaw, as the exploitation for this will need an ADMIN (or ROOT) privilege (PR:H).
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, the amdkfd kernel module can be blacklisted to prevent it from loading. This action may impact systems utilizing AMD GPUs that rely on this module for functionality.
To blacklist the module, create a file named /etc/modprobe.d/amdkfd-blacklist.conf with the following content:
blacklist amdkfd
After creating the file, regenerate the initramfs and reboot the system for the changes to take effect:
dracut -f
# OR (for older systems)
mkinitrd -f
reboot
A system reboot is required for the changes to take effect.
CVSS / CWE
CVSS 3.1 · 6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H
CWE-416 · Use After Free