---
id: CVE-2024-42123
title: 'drm/amdgpu: fix double free err_addr pointer warnings'
summary: |-
  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 fre…
severity: high
cvss: 7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    e4233036eaa4c6a4087e42bb18bc853b4b5fab3b
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    1eb6c4a0d83d1f348d718f813706105eff8cfc74
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    8e24beb3c2b08a4763f920399a9cc577ed440a1a
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    506c245f3f1cd989cb89811a7f06e04ff8813a0d
  - Linux 4.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-09-10T16:16:50.921873Z'
published: '2024-07-30'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T12:18:51.727Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-42123'
references:
  - url: 'https://git.kernel.org/stable/c/e4233036eaa4c6a4087e42bb18bc853b4b5fab3b'
  - url: 'https://git.kernel.org/stable/c/1eb6c4a0d83d1f348d718f813706105eff8cfc74'
  - url: 'https://git.kernel.org/stable/c/8e24beb3c2b08a4763f920399a9cc577ed440a1a'
  - url: 'https://git.kernel.org/stable/c/506c245f3f1cd989cb89811a7f06e04ff8813a0d'
tags:
  - cve.org
epss: 0.00282
epssPercentile: 0.20769
ingestedAt: '2026-10-21T12:48:53.735Z'
---

## Overview

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.

## Affected

- `Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < e4233036eaa4c6a4087e42bb18bc853b4b5fab3b`
- `Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 1eb6c4a0d83d1f348d718f813706105eff8cfc74`
- `Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 8e24beb3c2b08a4763f920399a9cc577ed440a1a`
- `Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 506c245f3f1cd989cb89811a7f06e04ff8813a0d`
- `Linux 4.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
