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-1003623: drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected. Affects Kernel versions >= 7907a0d77cb461f58045763c205a5830be72e97c, < 49dc28b4b2e28ef7564e355c91487996c1cbebd7. 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/msm/mdp5 package is a component of the Linux Kernel that provides support for display controllers in Qualcomm Snapdragon SoCs. It is responsible for managing the display pipelines and ensuring the proper rendering of graphics on the screen. The mdp5_pipe_release function in this package is used to release a display pipeline when it is no longer needed. However, a vulnerability has been discovered in this function that can lead to a deadlock condition. This deadlock can occur when multiple threads try to release the same pipeline simultaneously, causing them to wait indefinitely for each other to complete.

Vulnerability Detail

The vulnerability in the drm/msm/mdp5 package allows for a deadlock condition to occur when releasing display pipelines. This can be exploited by an attacker to cause a denial of service (DoS) by intentionally triggering the deadlock. The impact of this vulnerability is limited to systems that use Qualcomm Snapdragon SoCs and have the affected package enabled. The vulnerability was introduced in version v4.18 of the Linux Kernel and has been fixed in version v5.10.121. The fix ensures that an error code is returned when a deadlock is detected, preventing the threads from waiting indefinitely.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.121 or later. This can be done by downloading the latest kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for your system. Alternatively, you can check if your system's package manager provides an updated version of the kernel and install it through the package manager.

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 recommended to apply the fix mentioned above by updating the Linux Kernel.

Conclusion

In conclusion, the vulnerability in the drm/msm/mdp5 package can lead to a deadlock condition when releasing display pipelines. This can result in a denial of service (DoS) by freezing the affected system. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.10.121 or later. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a deadlock condition, causing a denial of service (DoS) by freezing the affected system.

Systems that use Qualcomm Snapdragon SoCs and have the drm/msm/mdp5 package enabled are affected.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the tool will analyze it for vulnerabilities.

There is no known exploit for this vulnerability at the moment. However, it is still recommended to apply the fix to prevent any potential exploitation.

There is no known workaround for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.121 or later. This can be done by downloading the latest kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for your system. Alternatively, you can check if your system's package manager provides an updated version of the kernel and install it through the package manager.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.