Use-after-free vulnerability in drm/msm/disp/dpu1 package
Summary
GSD-2022-1003421: drm/msm/disp/dpu1: set vbif hw config to NULL to avoid use after memory free during pm runtime resume. Affects Kernel versions >= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, < ef4bdaac7cb5416f236613ed9337ff0ea8ee329b. 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/msm/disp/dpu1 package is a component of the Linux Kernel that handles display functionality for Qualcomm Adreno GPUs. It provides the necessary drivers and interfaces for managing display controllers and panels. The package is responsible for configuring and controlling the display hardware, including the Video Buffer Interface (VBIF) subsystem.
Vulnerability Detail
The vulnerability in the drm/msm/disp/dpu1 package allows for a use-after-free scenario during power management runtime resume. Specifically, there is a failure to set the VBIF hardware configuration to NULL, which can lead to accessing freed memory. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability was introduced in version v4.19 of the Linux Kernel and has been fixed in version v5.15.46.
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.15.46 or later. This update includes the commit ef4bdaac7cb5416f236613ed9337ff0ea8ee329b, which addresses the use-after-free issue by setting the VBIF hardware configuration to NULL during power management runtime resume.
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 provided for this vulnerability.
Conclusion
The use-after-free vulnerability in the drm/msm/disp/dpu1 package of the Linux Kernel can be mitigated by updating to version v5.15.46 or later. It is important to promptly apply the fix to prevent potential exploitation. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition.
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 to the playground and it will alert you in real-time if the vulnerability is present.
There is no known exploit for this vulnerability at the moment. However, it is important to apply the recommended fix to mitigate any potential risk.
This vulnerability specifically affects the drm/msm/disp/dpu1 package in the Linux Kernel. There may be other vulnerabilities or package-specific issues in related components, so it is recommended to keep the entire system up to date.
You can find more information about this vulnerability in the GSD-2022-1003421 entry of the GSD Database maintained by the Cloud Security Alliance. The link to the entry is available in the references section.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.