{"id":"CVE-2025-21985","published":"2025-04-01T15:47:12Z","modified":"2026-08-05T11:55:51Z","title":"drm/amd/display: Fix out-of-bound accesses","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix out-of-bound accesses\n\n[WHAT & HOW]\nhpo_stream_to_link_encoder_mapping has size MAX_HPO_DP2_ENCODERS(=4),\nbut location can have size up to 6. As a result, it is necessary to\ncheck location against MAX_HPO_DP2_ENCODERS.\n\nSimiliarly, disp_cfg_stream_location can be used as an array index which\nshould be 0..5, so the ASSERT's conditions should be less without equal.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00201,"percentile":0.10108,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/36793d90d76f667d26c6dd025571481ee0c96abc","tags":[]},{"url":"https://git.kernel.org/stable/c/9aedc776b11038f04f4641241bb7e877781e4aa4","tags":[]},{"url":"https://git.kernel.org/stable/c/8adbb2a98b00926315fd513b5fe2596b5716b82d","tags":[]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":2.02},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 36793d90d76f667d26c6dd025571481ee0c96abc",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 9aedc776b11038f04f4641241bb7e877781e4aa4",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 8adbb2a98b00926315fd513b5fe2596b5716b82d"]},{"vendor":"Linux","product":"Linux","versions":["4.15"]}],"euvd":{"id":"EUVD-2025-9335","exploited":false,"provenance":"source"}}