Refcount Leak in intel_dp_add_mst_connector() in Kernel
Summary
GSD-2022-1004408: drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector(). Affects Kernel versions >= 091a4f91942a4396c67e5747f5cb38c6396d1fc5, < 505114dda5bbfd07f4ce9a2df5b7d8ef5f2a1218. 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 acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. The vulnerability in question affects the drm/i915 module within the Kernel, which is responsible for handling display-related operations for Intel graphics hardware. The intel_dp_add_mst_connector() function within this module is susceptible to a potential refcount leak.
Vulnerability Detail
The vulnerability arises from a possible refcount leak in the intel_dp_add_mst_connector() function of the drm/i915 module. A refcount leak occurs when the reference count of an object is not properly managed, leading to memory leaks and potential resource exhaustion. This can be exploited by an attacker to cause denial-of-service conditions or potentially execute arbitrary code with elevated privileges. The vulnerability was introduced in version v4.15 of the Linux Kernel and has been fixed in version v5.15.56 by commit 505114dda5bbfd07f4ce9a2df5b7d8ef5f2a1218.
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 temporary workaround, users can disable the affected functionality by blacklisting the drm/i915 module. This can be achieved by adding the following line to the modprobe configuration file (/etc/modprobe.d/blacklist.conf):
blacklist i915
However, this workaround will result in the loss of display-related features and may not be suitable for all users.
Conclusion
The refcount leak vulnerability in the intel_dp_add_mst_connector() function of the drm/i915 module in the Linux Kernel can potentially lead to denial-of-service conditions or arbitrary code execution. It is crucial to update the Kernel to version v5.15.56 or later to mitigate this vulnerability. Users can also consider applying the temporary workaround of blacklisting the drm/i915 module, although this may result in the loss of display-related features. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially lead to denial-of-service conditions or allow an attacker to execute arbitrary code with elevated privileges.
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 Vulert Playground will analyze it for any open-source vulnerabilities, including this one.
Yes, the vulnerability has been fixed in version v5.15.56 of the Linux Kernel. It is recommended to update to this version or a later one to mitigate the vulnerability.
Yes, as a temporary workaround, you can blacklist the drm/i915 module. However, this workaround will result in the loss of display-related features and may not be suitable for all users.
You can refer to the vulnerability details provided by the Cloud Security Alliance's GSD Database. The link to the specific vulnerability is available in the database-specific source field of the vulnerability details.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.