CVE-2025-21985
HIGH EPSS 6.2%
Published Apr 1, 20251y ago · Modified Jun 17, 20261w ago
7.1 CVSS 3.1
Published Apr 1, 2025 1y ago
Last Modified Jun 17, 2026 1w ago
Description
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability High
Threat Intelligence
EPSS Exploit Probability
6.2% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-125 Out-of-bounds Read Memory Safety
Affected Products 3
References 3
- git.kernel.org https://git.kernel.org/stable/c/36793d90d76f667d26c6dd025571481ee0c96abc
- git.kernel.org https://git.kernel.org/stable/c/8adbb2a98b00926315fd513b5fe2596b5716b82d
- git.kernel.org https://git.kernel.org/stable/c/9aedc776b11038f04f4641241bb7e877781e4aa4
Remediation
- git.kernel.org https://git.kernel.org/stable/c/36793d90d76f667d26c6dd025571481ee0c96abc
- git.kernel.org https://git.kernel.org/stable/c/8adbb2a98b00926315fd513b5fe2596b5716b82d
- git.kernel.org https://git.kernel.org/stable/c/9aedc776b11038f04f4641241bb7e877781e4aa4