CVE-2025-21989 drm/amd/display: fix missing .is_two_pixels_per_container
A missing function pointer in the AMDGPU driver causes a null pointer dereference and system crash on older GPUs when display code is enabled.
- 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-2025-21989?
CVE-2025-21989 is a medium-severity vulnerability in Linux kernel, published on 2 Apr 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 missing .is_two_pixels_per_container
Starting from 6.11, AMDGPU driver, while being loaded with amdgpu.dc=1, due to lack of .is_two_pixels_per_container function in dce60_tg_funcs, causes a NULL pointer dereference on PCs with old GPUs, such as R9 280X.
So this fix adds missing .is_two_pixels_per_container to dce60_tg_funcs.
(cherry picked from commit bd4b125eb949785c6f8a53b0494e32795421209d)
Weakness: CWE-476
Which versions are affected by CVE-2025-21989?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-21989?
Apply the vendor's patch.
Is CVE-2025-21989 being exploited?
There is no known exploitation of CVE-2025-21989 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-21989, DEBIAN-CVE-2025-21989, GHSA-jrmm-8whf-pxxq, UBUNTU-CVE-2025-21989.