Vulnerability in drm/msm/mdp5 Package: Return Error Code in mdp5_pipe_release when Deadlock is Detected

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003794: drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected. Affects Kernel versions >= 7907a0d77cb461f58045763c205a5830be72e97c, < b2aa2c4efe93e2580d6a8774b04fe2b99756a322. 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 Your last release was probably never penetration tested 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/msm/mdp5 package is a component of the Linux Kernel that provides support for display and graphics functionality on devices using Qualcomm Adreno GPUs. It includes the MDP5 (Multimedia Display Processor 5) driver, which is responsible for managing the display pipelines and hardware resources. The vulnerability in this package relates to the mdp5_pipe_release function, which is used to release a display pipeline when it is no longer needed.

Vulnerability Detail

The vulnerability occurs when a deadlock is detected during the release of a display pipeline in the mdp5_pipe_release function. However, instead of returning an error code to indicate the deadlock, the function does not provide any feedback, potentially leading to incorrect assumptions about the success of the release operation. This could result in resource leaks or other issues if subsequent operations rely on the pipeline being properly released. The vulnerability was introduced in version v4.18 of the Linux Kernel and has been fixed in version v5.4.198.

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 known workaround for this vulnerability. It is necessary to apply the fix by updating the Linux Kernel.

Conclusion

In conclusion, the vulnerability in the drm/msm/mdp5 package of the Linux Kernel allows for the possibility of resource leaks or other issues if display pipelines are not properly released due to a deadlock. It is crucial to update the Linux Kernel to version v5.4.198 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to resource leaks or other issues if subsequent operations rely on the proper release of display pipelines.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.

There is no known exploit for this vulnerability at the time of this report. However, it is important to apply the fix as soon as possible to mitigate any potential risks.

While it is technically possible to manually patch the affected code, it is recommended to update the Linux Kernel to the latest version instead. Manually patching the code can be complex and error-prone, especially for users without extensive knowledge of the Linux Kernel internals.

You can find more information about this vulnerability in the official Linux Kernel repository, specifically in the commit b2aa2c4efe93e2580d6a8774b04fe2b99756a322.

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