CVE-2024-42123: Linux kernel · drm/amdgpu: fix double free err_addr pointer warnings
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.0 High.
Data as of 24 Nov 2026, 19:29 UTC
Thin evidence
One scorer or none| CNA (Linux) | CVSS 3.1 | 7.0 |
|---|
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.5pkg:deb/ubuntu/linux-aws-6.5?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-azure-5.19pkg:deb/ubuntu/linux-azure-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix for this vulnerability has been implemented by setting the err_addr pointer to NULL after it is freed to prevent double free errors. Users should apply the updated Linux kernel versions that include this fix. Since this is not a cloud service, manual patching of affected systems is required. No additional mitigation steps are indicated.
Description
CVE-2024-42123 is a high-severity vulnerability in the Linux kernel's AMDGPU driver that causes double free errors of the err_addr pointer during bad page polling timeout handling. This flaw can lead to memory corruption with high impact on confidentiality, integrity, and availability. The issue occurs because the amdgpu_umc_handle_bad_pages function is called multiple times without resetting err_addr, causing double free warnings. A fix has been implemented by setting err_addr to NULL after use to prevent these warnings.
References
- ubuntu.com/security/CVE-2024-42123 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-42123 (opens in a new tab)
- git.kernel.org/linus/506c245f3f1cd989cb89811a7f06e04ff8813a0d (opens in a new tab)
- git.kernel.org/stable/c/8e24beb3c2b08a4763f920399a9cc577ed440a1a (opens in a new tab)
- git.kernel.org/stable/c/506c245f3f1cd989cb89811a7f06e04ff8813a0d (opens in a new tab)