CVE-2024-56775 drm/amd/display: Fix handling of plane refcount
A refcount handling error in the AMD display driver can lead to double frees or memory leaks, potentially allowing attackers to execute code or cause a system crash.
- 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-56775?
CVE-2024-56775 is a high-severity use after free vulnerability in Linux kernel, published on 8 Jan 2025. 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/amd/display: Fix handling of plane refcount
[Why] The mechanism to backup and restore plane states doesn't maintain refcount, which can cause issues if the refcount of the plane changes in between backup and restore operations, such as memory leaks if the refcount was supposed to go down, or double frees / invalid memory accesses if the refcount was supposed to go up.
[How] Cache and re-apply current refcount when restoring plane states.
Which versions are affected by CVE-2024-56775?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-56775?
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-56775 being exploited?
There is no known exploitation of CVE-2024-56775 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-55310, AZL-55327, BELL-CVE-2024-56775, DEBIAN-CVE-2024-56775, GHSA-pm49-6j2c-6857, ROOT-OS-DEBIAN-11-CVE-2024-56775 and 3 more.