CVE-2025-21985: drm/amd/display: Fix out-of-bound accesses
drm/amd/display: Fix out-of-bound accesses
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 6.8.0-147.147 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 6.8.0-1067.70 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 6.8.0-1071.79 - Upgrade
Upgrade
ubuntu/linux-azure-fdeto a version that resolves this vulnerability.Fixed in 6.8.0-1069.76 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 6.8.0-1071.79 - Upgrade
Upgrade
ubuntu/linux-gketo a version that resolves this vulnerability.Fixed in 6.8.0-1066.74 - Upgrade
Upgrade
ubuntu/linux-gkeopto a version that resolves this vulnerability.Fixed in 6.8.0-1052.56 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 6.8.0-1067.68 - Upgrade
Upgrade
ubuntu/linux-lowlatencyto a version that resolves this vulnerability.Fixed in 6.8.0-147.147.1 - Upgrade
Upgrade
ubuntu/linux-nvidia-tegrato a version that resolves this vulnerability.Fixed in 6.8.0-1035.38 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 6.8.0-1064.67 - Upgrade
Upgrade
ubuntu/linux-bluefieldto a version that resolves this vulnerability.Fixed in 6.8.0-1033.38 - Upgrade
Upgrade
ubuntu/linux-realtimeto a version that resolves this vulnerability.Fixed in 6.8.1-1062.63 - Upgrade
Upgrade
ubuntu/linux-aws-fipsto a version that resolves this vulnerability.Fixed in 6.8.0-1067.70+fips1 - Upgrade
Upgrade
ubuntu/linux-azure-fipsto a version that resolves this vulnerability.Fixed in 6.8.0-1071.79+fips1 - Upgrade
Upgrade
ubuntu/linux-fipsto a version that resolves this vulnerability.Fixed in 6.8.0-147.147+fips1 - Upgrade
Upgrade
ubuntu/linux-gcp-fipsto a version that resolves this vulnerability.Fixed in 6.8.0-1071.79+fips1 - Compensating control
In drm/amd/display, validate location against MAX_HPO_DP2_ENCODERS (=4) before indexing hpo_stream_to_link_encoder_mapping, and ensure disp_cfg_stream_location array-index assertions enforce the range 0..5 using less-than rather than less-than-or-equal conditions.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21985?
CVE-2025-21985 is considered a medium severity vulnerability in the Linux kernel due to the potential for out-of-bounds access.
How do I fix CVE-2025-21985?
To fix CVE-2025-21985, ensure that you update your Linux kernel to the latest version where the vulnerability has been patched.
What impact does CVE-2025-21985 have on system security?
CVE-2025-21985 can lead to potential denial of service or arbitrary code execution due to out-of-bounds memory access.
Which versions of the Linux kernel are affected by CVE-2025-21985?
CVE-2025-21985 affects several versions of the Linux kernel prior to the patch, specifically those that handle AMD display drivers.
What components are involved in CVE-2025-21985?
CVE-2025-21985 involves the AMD display driver component in the Linux kernel and its handling of encoder mappings.