Memory Leak in zr364xx_start_readpipe in Kernel
Summary
GSD-2021-1001218: media: zr364xx: fix memory leak in zr364xx_start_readpipe. Affects Kernel versions >= ccbf035ae5de4c535160fc99f73feb44cc55b534, < d69b39d89f362cfeeb54a68690768d0d257b2c8f. 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 fundamental component of the Linux operating system that manages communication between hardware and software. It provides essential services and functions to enable the proper functioning of the system. The zr364xx driver is responsible for supporting certain USB webcams. It allows users to capture video and images from these devices. However, a memory leak vulnerability has been identified in the zr364xx_start_readpipe function of the driver.
Vulnerability Detail
The zr364xx_start_readpipe function in the zr364xx driver of the Kernel suffers from a memory leak vulnerability. This vulnerability can be exploited by an attacker to cause a denial-of-service condition or potentially execute arbitrary code with elevated privileges. The vulnerability occurs due to improper handling of memory resources when starting the readpipe. An attacker could repeatedly trigger this function, leading to a gradual depletion of available memory resources, ultimately resulting in system instability or a complete crash.
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
There is no known workaround available for this vulnerability. It is essential to apply the provided fix by updating the Linux Kernel to the recommended version.
Conclusion
The memory leak vulnerability in the zr364xx_start_readpipe function of the Kernel can have severe consequences, including denial-of-service and potential code execution. It is crucial to update the Linux Kernel to version v5.13.3 or later to mitigate this vulnerability. No known workarounds are available, and it is recommended to apply the fix as soon as possible. For further assistance or support in addressing this vulnerability, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can lead to a denial-of-service condition or potential code execution with elevated privileges. An attacker could exploit the memory leak to gradually consume available memory resources, causing system instability or a complete crash.
You can use the Vulert Playground at Vulert 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 one.
At the time of this report, there is no known public exploit available for this vulnerability. However, it is crucial to apply the recommended fix to mitigate any potential risks.
Yes, this vulnerability was introduced in version v2.6.32 of the Linux Kernel. It is recommended to update to version v5.13.3 or later to address the issue.
For more details about this vulnerability, including the specific commits that fix it, you can refer to the vulnerability database entry at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001218.json.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.