CVE-2024-42123 drm/amdgpu: fix double free err_addr pointer warnings
A double free vulnerability in the AMD GPU driver allows attackers to cause a denial of service via specific polling timeout conditions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-42123?
CVE-2024-42123 is a high-severity use after free vulnerability in Linux kernel, published on 30 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-415
Which versions are affected by CVE-2024-42123?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-42123?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2024-42123 being exploited?
There is no known exploitation of CVE-2024-42123 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-48111, AZL-48120, BELL-CVE-2024-42123, DEBIAN-CVE-2024-42123, GHSA-5j3v-wvv7-9rvc, ROOT-OS-DEBIAN-11-CVE-2024-42123 and 2 more.