CVE-2024-42123
kernel: drm/amdgpu: fix double free err_addr pointer warnings
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 30, 2024
Updated · October 29, 2026
Description
A vulnerability was found in the amdgpu_umc_handle_bad_pages() function in the Linux kernel's amdgpu driver. If the function is called multiple times in quick succession, a double free error can occur because the err_data->err_addr pointer that is being freed is not being set to NULL in between calls. This could lead to memory corruption or crashes.
Statement
Red Hat believes this flaw is moderate severity because the permissions necessary to effectively trigger this flaw are high. A user would need to have kernel and driver access to effectively operate the driver and repeatedly trigger the amdgpu_umc_handle_bad_pages() function.
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
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-415 · Double Free