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.
References (3)
Core 3
Scores
CVSS v3
7.1
EPSS
0.0005
EPSS Percentile
16.0%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Details
CWE
CWE-125
Status
published
Products (4)
linux/Kernel
4.15.0 - 6.12.20linux
linux/Kernel
6.13.0 - 6.13.8linux
linux/linux_kernel
6.14 rc1
linux/linux_kernel
4.15 - 6.12.20
Published
Apr 01, 2025
Tracked Since
Feb 18, 2026