CVE-2025-21989: drm/amd/display: fix missing .is_two_pixels_per_container
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: fix missing .istwopixelspercontainer
Starting from 6.11, AMDGPU driver, while being loaded with amdgpu.dc=1, due to lack of .istwopixelspercontainer function in dce60tgfuncs, causes a NULL pointer dereference on PCs with old GPUs, such as R9 280X.
So this fix adds missing .istwopixelspercontainer to dce60tgfuncs.
(cherry picked from commit bd4b125eb949785c6f8a53b0494e32795421209d)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch bd4b125eb949785c6f8a53b0494e32795421209d
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21989?
The severity of CVE-2025-21989 is moderate, as it affects the functionality of the AMDGPU driver in specific configurations.
How do I fix CVE-2025-21989?
To fix CVE-2025-21989, update your Linux kernel to version 6.11 or later where the vulnerability is addressed.
What is affected by CVE-2025-21989?
CVE-2025-21989 affects the Linux kernel starting from version 6.11 when the AMDGPU driver is loaded with amdgpu.dc=1.
What type of vulnerability is CVE-2025-21989?
CVE-2025-21989 is a vulnerability related to the AMDGPU driver and the absence of the .is_two_pixels_per_container function.
Is CVE-2025-21989 specific to certain AMD hardware?
CVE-2025-21989 primarily impacts systems using the AMDGPU driver in conjunction with specific AMD hardware configurations.