Memory Leak Vulnerability in zr364xx Driver in Linux Kernel
Summary
GSD-2021-1001463: media: zr364xx: fix memory leak in zr364xx_start_readpipe. Affects Kernel versions >= ccbf035ae5de4c535160fc99f73feb44cc55b534, < bbc80a972a3c5d7eba3f6c9c07af8fea42f5c513. 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 zr364xx driver is a part of the Linux Kernel and is responsible for supporting the ZR364xx-based USB webcams. These webcams are commonly used for video capture and streaming purposes. The zr364xx_start_readpipe function in the driver is affected by a memory leak vulnerability.
Vulnerability Detail
The memory leak vulnerability in the zr364xx_start_readpipe function allows an attacker to cause a memory leak by repeatedly calling the function without properly releasing the allocated memory. This can lead to a depletion of available memory resources, potentially resulting in system instability or denial of service. The vulnerability was introduced in version v2.6.32 of the Linux Kernel and has been fixed in version v4.9.276.
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 avoid the memory leak by not using the zr364xx-based USB webcams or by unloading the zr364xx driver module. This can be done using the following command:
sudo rmmod zr364xx
Conclusion
The memory leak vulnerability in the zr364xx driver in the Linux Kernel can lead to memory resource depletion and potential system instability or denial of service. It is crucial to update the Linux Kernel to version v4.9.276 or later to mitigate this vulnerability. Alternatively, users can apply the temporary workaround of avoiding the use of zr364xx-based USB webcams or unloading the zr364xx driver module. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The memory leak vulnerability in the zr364xx driver can lead to a depletion of available memory resources, potentially causing system instability or denial of service.
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 Vulert will analyze it for any open-source vulnerabilities, including this memory leak vulnerability.
At the time of this report, there is no known exploit for this vulnerability. However, it is still recommended to apply the fix or workaround to mitigate any potential risks.
No, the fix for this vulnerability is included in the updated version of the Linux Kernel. It is recommended to update the Kernel to version v4.9.276 or later to address this vulnerability.
The recommended solution is to update the Linux Kernel to the fixed version. However, as a temporary workaround, users can avoid using the zr364xx-based USB webcams or unload the zr364xx driver module.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.