All reports
Medium

kernel: drm/amdgpu: fix double free err_addr pointer warnings

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-42123

Probability of exploitation in the next 30 days: 0.28%

FIRST EPSS · 2026-11-22

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix double free err_addr pointer warnings In amdgpu_umc_bad_page_polling_timeout, the amdgpu_umc_handle_bad_pages will be run many times so that double free err_addr in some special case. So set the err_addr to NULL to avoid the warnings.

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.