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-1002776: drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected. Affects Kernel versions >= 7907a0d77cb461f58045763c205a5830be72e97c, < 33dc5aac46e0fad8f5eb193e5906ed0eb6b66ceb. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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_pipe_release function, which is responsible for releasing resources associated with a display pipeline. However, a vulnerability has been discovered in this function that can lead to a deadlock condition when certain conditions are met.

Vulnerability Detail

The vulnerability in the mdp5_pipe_release function allows for a deadlock to occur under specific circumstances. When this happens, the function fails to return an error code, which can result in a denial of service (DoS) condition. An attacker could potentially exploit this vulnerability to cause a system to become unresponsive or crash. The vulnerability was introduced in version v4.18 of the Linux Kernel and has been fixed in version v5.18.3.

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

As a temporary workaround, users can disable the affected functionality by modifying the system configuration. This can be done by adding the following line to the kernel command line during boot: mdp5.disable=1. However, it is important to note that this workaround will disable the display and graphics functionality provided by the drm/msm/mdp5 package.

Conclusion

In conclusion, the vulnerability in the drm/msm/mdp5 package can lead to a deadlock condition, resulting in a denial of service (DoS) situation. It is recommended to update the Linux Kernel to version v5.18.3 or later to fix this vulnerability. A temporary workaround is available by disabling the affected functionality, but this will also disable the display and graphics functionality provided by the package. 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 a deadlock condition, resulting in a denial of service (DoS) situation. An attacker could potentially exploit this vulnerability to cause a system to become unresponsive or crash.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.

Yes, a patch for this vulnerability has been included in version v5.18.3 of the Linux Kernel. It is recommended to update to this version or a later one to fix the vulnerability.

Yes, a temporary workaround is available. By adding 'mdp5.disable=1' to the kernel command line during boot, you can disable the affected functionality. However, this will also disable the display and graphics functionality provided by the drm/msm/mdp5 package.

You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry with ID GSD-2022-1002776 (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002776.json).

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