CVE-2024-26647 drm/amd/display: Fix late derefrence 'dsc' check in 'link_set_dsc_pps_packet()'
A null pointer dereference in the Linux kernel AMD display driver can cause a system crash, requiring a kernel patch.
- 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-26647?
CVE-2024-26647 is a medium-severity vulnerability in Linux kernel, published on 26 Mar 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: Fix late derefrence 'dsc' check in 'link_set_dsc_pps_packet()'
In link_set_dsc_pps_packet(), 'struct display_stream_compressor *dsc' was dereferenced in a DC_LOGGER_INIT(dsc->ctx->logger); before the 'dsc' NULL pointer check.
Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c:905 link_set_dsc_pps_packet() warn: variable dereferenced before check 'dsc' (see line 903)
Weakness: CWE-476
Which versions are affected by CVE-2024-26647?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-26647?
Apply the vendor's patch.
Is CVE-2024-26647 being exploited?
There is no known exploitation of CVE-2024-26647 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-54966, BELL-CVE-2024-26647, DEBIAN-CVE-2024-26647, GHSA-gxqp-64jf-hj53, ROOT-OS-DEBIAN-12-CVE-2024-26647, ROOT-OS-UBUNTU-2204-CVE-2024-26647 and 1 more.