CVE-2024-49907 drm/amd/display: Check null pointers before using dc->clk_mgr
A null pointer dereference in the AMD display driver can cause a kernel crash, 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-2024-49907?
CVE-2024-49907 is a medium-severity vulnerability in Linux kernel, published on 21 Oct 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: Check null pointers before using dc->clk_mgr
[WHY & HOW] dc->clk_mgr is null checked previously in the same function, indicating it might be null.
Passing "dc" to "dc->hwss.apply_idle_power_optimizations", which dereferences null "dc->clk_mgr". (The function pointer resolves to "dcn35_apply_idle_power_optimizations".)
This fixes 1 FORWARD_NULL issue reported by Coverity.
Weakness: CWE-476
Which versions are affected by CVE-2024-49907?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-49907?
Apply the vendor's patch.
Is CVE-2024-49907 being exploited?
There is no known exploitation of CVE-2024-49907 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-51046, AZL-51083, BELL-CVE-2024-49907, DEBIAN-CVE-2024-49907, GHSA-4f6f-gr2g-x76p, UBUNTU-CVE-2024-49907.