CVE-2025-21985

HIGH CVSS 3.1: 7.1 EPSS 0.20%
Updated Jul 30, 2026
Linux
Parameter Value
CVSS 7.1 (HIGH)
Affected Versions 4.15 — 6.13.8
Fixed In 6.12.20
Type CWE-125 (Out-of-bounds Read)
Vendor Linux
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 3

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