Invalid Parameter Check in msm_dsi_phy_enable in Kernel
Summary
GSD-2022-1000103: drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable. Affects Kernel versions >= 5c8290284402bf7d2c12269402b3177b899c78b7, < 6d9f8ba28f3747ca0f910a363e46f1114856dbbe. 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 provides core functionality and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and ensures the stability and security of the system. The vulnerability in question affects the 'drm/msm/dsi' module within the Kernel, specifically the 'msm_dsi_phy_enable' function. This function is responsible for enabling the physical layer of the Display Serial Interface (DSI) on Qualcomm Snapdragon processors. The vulnerability arises from an invalid parameter check within this function.
Vulnerability Detail
The vulnerability allows an attacker to bypass certain parameter checks in the 'msm_dsi_phy_enable' function, potentially leading to unauthorized access or privilege escalation. By providing malicious input, an attacker could exploit this vulnerability to execute arbitrary code, modify data, or crash the system. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in the Linux Kernel version v4.14.265 by commit 6d9f8ba28f3747ca0f910a363e46f1114856dbbe. However, it was introduced in version v4.3 by commit 5c8290284402bf7d2c12269402b3177b899c78b7.
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 specific workaround mentioned for this vulnerability.
Conclusion
The vulnerability in the 'msm_dsi_phy_enable' function of the 'drm/msm/dsi' module in the Kernel allows for bypassing parameter checks, potentially leading to unauthorized access or privilege escalation. It is crucial to update the Linux Kernel to version v4.14.265 or later to mitigate this vulnerability. Additional security measures can also be implemented to reduce the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability could potentially allow an attacker to execute arbitrary code, modify data, or crash the system.
You can use Vulert Playground (https://vulert.com/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.
Yes, a patch has been released in the Linux Kernel version v4.14.265. It is recommended to update to this version or later to fix the vulnerability.
Updating the Kernel to the fixed version is the recommended approach to mitigate the risk. However, if updating is not immediately feasible, you can consider implementing additional security measures such as network segmentation, access controls, and monitoring to reduce the attack surface and detect any potential exploitation attempts.
There are no known instances of this vulnerability being exploited in the wild. However, it is important to apply the necessary updates and security measures to protect against potential exploitation.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.