Vulnerability in drm/rockchip package: Possible Null Pointer Dereference in vop_bind()
Summary
GSD-2022-1003624: drm/rockchip: vop: fix possible null-ptr-deref in vop_bind(). Affects Kernel versions >= 2048e3286f347db5667708e47448176b5329e8d8, < 3451852312303d54a003c73bd0ae39cebb960bd5. 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/rockchip package is a component of the Linux Kernel that provides support for Rockchip display controllers. These display controllers are commonly used in Rockchip-based devices such as tablets and embedded systems. The vop_bind() function within the package is responsible for binding a display controller to a display pipeline. This vulnerability in vop_bind() can potentially lead to a null pointer dereference, which may result in a system crash or other unpredictable behavior.
Vulnerability Detail
The vulnerability originates from a null pointer dereference in the vop_bind() function of the drm/rockchip package. When certain conditions are met, the function may attempt to dereference a null pointer, leading to a crash or other unintended consequences. This vulnerability was introduced in version v3.19 of the Linux Kernel and has been fixed in version v5.10.121. The impact and attack plausibility of this vulnerability 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 avoid the vulnerability by refraining from using the affected functionality or by disabling the display controller associated with the vop_bind() function. However, this may result in limited or degraded display capabilities. Here is an example of how to disable the display controller using the sysfs interface:
echo 0 > /sys/class/drm/card0/device/driver/unbind
Conclusion
In conclusion, the drm/rockchip package in the Linux Kernel is vulnerable to a null pointer dereference in the vop_bind() function. This vulnerability can potentially lead to system crashes or other unexpected behavior. It is recommended to update the Linux Kernel to version v5.10.121 or later to mitigate this vulnerability. Users can also consider the provided workaround of disabling the display controller associated with the vop_bind() function, although this may result in limited display capabilities. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can vary depending on the specific system and usage scenario. It may lead to a system crash, instability, or other unexpected behavior.
At the time of this report, there is no known exploit for this vulnerability. However, it is always recommended to apply security patches promptly to mitigate potential risks.
The exact exploitability of this vulnerability is yet to be determined. However, remote exploitation is generally less likely as it would require specific conditions and access to the affected system.
As mentioned in the workaround section, users can disable the display controller associated with the vop_bind() function to mitigate the vulnerability. However, this may result in limited display capabilities.
For more details about this vulnerability, you can refer to the source link provided in the database_specific section of this report.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.