Off-by-one vulnerability in drm/dp package
Summary
GSD-2022-1001135: drm/dp: Fix off-by-one in register cache size. Affects Kernel versions >= e2e16da398d9149ede0162a55f44537582aed2e7, < ab096ec04c902d351ea1fce3acb8ef9f4a25fc51. No fix is published. 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 drm/dp package is a component of the Linux Kernel, which is responsible for managing display-related functionality. It provides support for DisplayPort (DP) connections and handles various tasks such as mode setting, pixel format conversion, and power management. The package is widely used in Linux-based systems and is critical for proper display operation. However, a vulnerability has been discovered in the package that could potentially lead to security issues.
Vulnerability Detail
The vulnerability in the drm/dp package is an off-by-one error in the register cache size. This error was introduced in version v5.12 of the Linux Kernel and was fixed in version v5.17.2. The off-by-one error could allow an attacker to manipulate the register cache size, potentially leading to memory corruption or other security vulnerabilities. The impact and attack plausibility of this vulnerability have not been proven yet, but it is important to address it to ensure the security of the system.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. The recommended approach is to update the Linux Kernel to the fixed version.
Conclusion
The off-by-one vulnerability in the drm/dp package of the Linux Kernel can potentially lead to security issues. It is crucial to update the Kernel to version v5.17.2 or later to fix this vulnerability and ensure the system's security. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is not yet proven, but it could potentially lead to memory corruption or other security vulnerabilities.
You can use Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. It analyzes the manifest file like package-lock.json and provides real-time alerts for open-source vulnerabilities.
There is no known exploit for this vulnerability at the moment. However, it is important to update the Linux Kernel to the fixed version to prevent any potential exploitation.
This vulnerability specifically affects the drm/dp package in the Linux Kernel. Other packages or dependencies may not be directly impacted, but it is always recommended to keep the entire system up to date to ensure overall security.
You can refer to the vulnerability details in the GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1001xxx/GSD-2022-1001135.json) for more information about this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.