Invalid Parameter Check in msm_dsi_phy_enable in Kernel
Summary
GSD-2022-1000624: drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable. Affects Kernel versions >= 5c8290284402bf7d2c12269402b3177b899c78b7, < 2b7e7df1eacd280e561ede3e977853606871c951. 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 Kernel is a critical component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system. The vulnerability in question affects the 'drm/msm/dsi' module within the Kernel. This module is responsible for managing the display subsystem on Qualcomm Snapdragon SoCs. The vulnerability arises due to an invalid parameter check in the 'msm_dsi_phy_enable' function, which can potentially lead to security issues.
Vulnerability Detail
The vulnerability arises from a lack of proper validation of parameters in the 'msm_dsi_phy_enable' function within the 'drm/msm/dsi' module. Attackers may exploit this vulnerability by providing malicious input, leading to unexpected behavior or potential security breaches. The impact of this vulnerability can vary depending on the specific usage scenario, but it could potentially result in privilege escalation, denial of service, or information disclosure. It is important to note that the actual impact and attack plausibility have not been proven yet.
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 workaround, users can apply the patch manually to their existing Kernel version. The patch can be obtained from the commit mentioned earlier (2b7e7df1eacd280e561ede3e977853606871c951). By applying the patch, the vulnerability can be mitigated without the need for a complete Kernel update.
Conclusion
The vulnerability in the 'msm_dsi_phy_enable' function within the 'drm/msm/dsi' module of the Linux Kernel can lead to security issues if left unaddressed. It is recommended to update the Kernel to version v5.16.5 or later, or manually apply the provided patch to mitigate the vulnerability. For further support and assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can vary depending on the specific usage scenario, but it could potentially result in privilege escalation, denial of service, or information disclosure.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.16.5 or later. Alternatively, users can manually apply the patch provided in commit 2b7e7df1eacd280e561ede3e977853606871c951.
Yes, users can apply the patch manually to their existing Kernel version as a workaround. The patch can be obtained from commit 2b7e7df1eacd280e561ede3e977853606871c951.
This vulnerability was discovered through automated security analysis and testing of the Linux Kernel codebase.
There are no known instances of this vulnerability being exploited in the wild. However, it is crucial to apply the necessary fixes to mitigate any potential risks.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.