CVE-2025-21985: linux Out-of-bounds Read
Vulnerability summary
CVE-2025-21985 is a high (CVSS 7.8) Out-of-bounds Read vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 8.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 13 · Related 13Timeline
- 01-04-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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 metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HDiffers
- NVDNIST7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HDiffers
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
0.00 pp
From 0.20% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu139 products
- linuxAll versions (No fix recorded) | < 6.8.0-147.147
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1067.70
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 36793d90d76f667d26c6dd025571481ee0c96abc | ≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 9aedc776b11038f04f4641241bb7e877781e4aa4 | ≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 8adbb2a98b00926315fd513b5fe2596b5716b82d | 4.15
- linux_kernel≥ 4.15, < 6.12.20 | ≥ 6.13, < 6.13.8 | 6.14:rc1
Debian1 product
- linuxAll versions (No fix recorded) | < 6.12.20-1
3 vendors · 142 products