CVE-2025-21985

Severity CVSS v4.0:
Pending analysis
Type:
CWE-125 Out-of-bounds Read
Publication date:
01/04/2025
Last modified:
30/10/2025

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.15 (including) 6.12.20 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.13.8 (excluding)
cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*