CVE-2025-21985: Linux Kernel

High severity, CVSS 7.1. EPSS: 0.2% chance of exploitation in the next 30 days.

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix out-of-bound accesses [WHAT & HOW] hpo_stream_to_link_encoder_mapping has size MAX_HPO_DP2_ENCODERS(=4), but location can have size up to 6. As a result, it is necessary to check location against MAX_HPO_DP2_ENCODERS. Similiarly, disp_cfg_stream_location can be used as an array index which should be 0..5, so the ASSERT's conditions should be less without equal.

Affected products

  • Linux Linux Kernel: from 4.15, before 6.12.20 (fixed in 6.12.20); from 6.13, before 6.13.8 (fixed in 6.13.8); version 6.14 only

Published 2025-04-01. Last modified 2026-07-30.