Off-by-one vulnerability in drm/dp package

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback