Out-of-Bound Access Vulnerability in Linux Kernel - Debian Package
Summary
DEBIAN-CVE-2025-21985: 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... Affects linux versions < 6.12.20-1. Fixed in 6.12.20-1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of the Debian operating system, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system and applications. The kernel is crucial for system stability and security, making it imperative to address any vulnerabilities that may arise.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the drm/amd/display module, specifically related to out-of-bound accesses. The function hpo_stream_to_link_encoder_mapping has a defined size of MAX_HPO_DP2_ENCODERS (which is 4), but the location variable can potentially exceed this size, leading to unsafe memory access. Similarly, the disp_cfg_stream_location variable can be used as an array index, which should be constrained to the range of 0 to 5. Failure to enforce these bounds can result in memory corruption, crashes, or exploitation by malicious actors.
How To Fix
Minimum fixed version
6.12.20-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, no specific workarounds have been provided for this vulnerability. It is recommended to apply the patch as soon as it is available.
Conclusion
The out-of-bound access vulnerability in the Linux kernel poses significant risks to system integrity and security. Users are urged to update their systems to the patched version to safeguard against potential exploitation. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for linux →
FAQ
The vulnerability involves out-of-bound accesses in the Linux kernel's drm/amd/display module, which can lead to memory corruption.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Exploitation of this vulnerability could lead to system crashes, memory corruption, or unauthorized access to system resources.
Yes, a patch has been released in version 6.12.20-1 for both Debian 13 and 14.
While no specific workarounds are available, it is crucial to prioritize applying the patch as soon as possible to mitigate risks.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.