CVE-2025-21985: drm/amd/display: Fix out-of-bound accesses

Published Apr 1, 2025
·
Updated

drm/amd/display: Fix out-of-bound accesses

Affected Software

4 affected components
Linux Kernel
Linux Linux kernel>=4.15<6.12.20
Linux Linux kernel>=6.13<6.13.8
Linux Linux kernel=6.14-rc1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Fix out-of-bound accesses by validating that any use of disp_cfg_stream_location as an array index is checked against MAX_HPO_DP2_ENCODERS, and adjust the ASSERT conditions for hpo_stream_to_link_encoder_mapping (size MAX_HPO_DP2_ENCODERS(=4)) so they check the index range without allowing an index value equal to the upper bound.

    Linux kernel drm/amd/display hpo_stream_to_link_encoder_mapping index bounds (ASSERT conditions) = Update ASSERT conditions so the index range is 0..5 (use less-than instead of less-than-or-equal)

Event History

Apr 1, 2025
CVE Published
via MITRE·03:47 PM
Data Sourced
via MITRE·03:47 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·07:20 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203