Invalid Parameter Check in msm_dsi_phy_enable in Kernel
Summary
GSD-2022-1000197: drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable. Affects Kernel versions >= 5c8290284402bf7d2c12269402b3177b899c78b7, < 79c0b5287ded74f4eacde4dfd8aa0a76cbd853b5. 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 crucial component of the Linux operating system that acts as a bridge between hardware and software. It provides essential services and functions 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 flaw to manipulate or provide malicious input, potentially leading to various security risks. 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 v5.10.96 by commit 79c0b5287ded74f4eacde4dfd8aa0a76cbd853b5. 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
As a workaround, users can apply patches provided by the Linux Kernel community to address the vulnerability. These patches can be found in the official repository and can be manually applied to the Kernel source code. However, it is strongly advised to update to the latest stable version of the Kernel to ensure comprehensive security.
Conclusion
In conclusion, the vulnerability in the 'drm/msm/dsi' module of the Kernel arises from an invalid parameter check in the 'msm_dsi_phy_enable' function. It is crucial to update the Linux Kernel to version v5.10.96 or later to mitigate this vulnerability. Applying patches or workarounds can provide temporary relief, but updating to the latest stable version is recommended for comprehensive security. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is not yet proven. However, if successfully exploited, it could lead to security issues and potential compromise of the system.
You can use tools like Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software.
While applying patches provided by the Linux Kernel community can mitigate the vulnerability to some extent, it is highly recommended to update to the latest stable version of the Kernel for comprehensive security.
As of now, there is no known exploit for this vulnerability. However, it is crucial to address it promptly by updating the Kernel to the fixed version.
You can refer to the vulnerability details in the GSD database (https://github.com/cloudsecurityalliance/gsd-database) for more information about this specific vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.