CVE-2023-52485 drm/amd/display: Wake DMCUB before sending a command
A missing power state check in the AMD display driver can cause a system hang when sending commands to the DMCUB, leading to denial of service.
- 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-2023-52485?
CVE-2023-52485 is a medium-severity denial of service vulnerability in Linux kernel, published on 29 Feb 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/amd/display: Wake DMCUB before sending a command
[Why] We can hang in place trying to send commands when the DMCUB isn't powered on.
[How] For functions that execute within a DC context or DC lock we can wrap the direct calls to dm_execute_dmub_cmd/list with code that exits idle power optimizations and reallows once we're done with the command submission on success.
For DM direct submissions the DM will need to manage the enter/exit sequencing manually.
We cannot invoke a DMCUB command directly within the DM execution helper or we can deadlock.
Which versions are affected by CVE-2023-52485?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52485?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-52485 being exploited?
There is no known exploitation of CVE-2023-52485 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-55256, AZL-55279, BELL-CVE-2023-52485, GHSA-69cq-jw85-57p8, ROOT-OS-DEBIAN-11-CVE-2023-52485, ROOT-OS-DEBIAN-12-CVE-2023-52485 and 2 more.