CVE-2024-49920 drm/amd/display: Check null pointers before multiple uses
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-49920?
CVE-2024-49920 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 multiple uses
[WHAT & HOW] Poniters, such as stream_enc and dc->bw_vbios, are null checked previously in the same function, so Coverity warns "implies that stream_enc and dc->bw_vbios might be null". They are used multiple times in the subsequent code and need to be checked.
This fixes 10 FORWARD_NULL issues reported by Coverity.
Weakness: CWE-476
Which versions are affected by CVE-2024-49920?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-49920?
Apply the vendor's patch.
Is CVE-2024-49920 being exploited?
There is no known exploitation of CVE-2024-49920 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-51403, AZL-51563, BELL-CVE-2024-49920, DEBIAN-CVE-2024-49920, GHSA-858g-q943-3jmm, ROOT-OS-DEBIAN-11-CVE-2024-49920 and 3 more.