Null Pointer Dereference in drm/msm Package
Summary
GSD-2021-1001806: drm/msm: Fix null pointer dereference on pointer edp. Affects Kernel versions >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 7f642b93710b6b1119bdff90be01e6b5a2a5d669. 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 package is a component of the Linux Kernel that provides support for graphics and display functionality on Qualcomm Adreno GPUs. It includes drivers and modules for managing display controllers, power management, and other related features. The package is widely used in devices running the Linux operating system, including smartphones, tablets, and embedded systems.
Vulnerability Detail
The vulnerability identified as GSD-2021-1001806 is a null pointer dereference issue in the drm/msm package. A null pointer dereference occurs when a program attempts to access or manipulate data using a null pointer, leading to a crash or undefined behavior. In this case, the vulnerability specifically affects the 'edp' pointer in the package. If exploited, an attacker could trigger a null pointer dereference, potentially leading to a denial of service (DoS) condition or other unexpected behavior. The vulnerability was introduced in version v4.0 of the Linux Kernel and has been fixed in version v4.19.213.
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
If updating the Linux Kernel is not immediately feasible, a possible workaround is to disable or avoid using the functionality related to the 'edp' pointer in the drm/msm package. This may involve modifying configuration files or disabling specific features that rely on the vulnerable code. However, it is important to note that workarounds may not provide complete protection and updating to the fixed version is still recommended.
Conclusion
The null pointer dereference vulnerability in the drm/msm package of the Linux Kernel can lead to a denial of service (DoS) condition or other unexpected behavior. It is crucial to update the Linux Kernel to version v4.19.213 or later to mitigate the risk. If immediate updating is not possible, disabling or avoiding the functionality related to the 'edp' pointer can serve as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
A null pointer dereference occurs when a program attempts to access or manipulate data using a null pointer. This can lead to a crash or undefined behavior.
If exploited, this vulnerability could lead to a denial of service (DoS) condition or other unexpected behavior in systems using the affected version of the Linux Kernel.
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 provide real-time alerts for open-source vulnerabilities.
Yes, the vulnerability has been fixed in version v4.19.213 of the Linux Kernel. It is recommended to update to this version or a later one to mitigate the risk.
At the time of this report, there are no known public exploits for this vulnerability. However, it is important to apply the fix as soon as possible to prevent potential exploitation.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.