Vulnerability in Kernel package: media: usb: go7007: s2250-board: fix leak in probe()
Summary
GSD-2022-1002507: media: usb: go7007: s2250-board: fix leak in probe(). Affects Kernel versions >= d3b2ccd9e307eae80b4b4eeb0ede46cb02212df2, < bbdd0e15738336e6b1208304ae98525117877bbd. 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 package is a crucial component of the Linux operating system. It provides the core functionality and acts as an interface between the hardware and software layers. The media subsystem within the Kernel handles various media-related operations, including USB devices. The go7007 driver is responsible for supporting the Go7007 USB video capture device. The s2250-board module is a specific board driver for the S2250-based devices. This vulnerability affects the probe() function within the s2250-board module.
Vulnerability Detail
The vulnerability in the s2250-board module's probe() function leads to a memory leak. When the probe() function is called during device initialization, it fails to release allocated memory in certain error scenarios. This can result in a gradual depletion of system memory, potentially leading to system instability or denial of service. The vulnerability was introduced in version v3.10 of the Linux Kernel and has been fixed in version v4.9.311.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.9.311 or later. This can be done by obtaining the latest Kernel source code from the official Git repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for the target system. Alternatively, users can wait for their Linux distribution to provide an updated Kernel package.
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 unload the go7007 driver and prevent the s2250-board module from being loaded. This can be achieved by executing the following commands:
$ sudo modprobe -r go7007
$ echo 'blacklist go7007' | sudo tee /etc/modprobe.d/go7007.conf
Conclusion
In conclusion, the Kernel package in Linux is vulnerable to a memory leak issue in the s2250-board module's probe() function. This can result in system instability or denial of service. It is recommended to update the Linux Kernel to version v4.9.311 or later to fix this vulnerability. As a temporary workaround, users can unload the go7007 driver and prevent the s2250-board module from being loaded. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a gradual depletion of system memory, 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 the Vulert Playground will analyze it in real-time.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the recommended fix or workaround to mitigate the risk.
While it is possible to manually patch the affected code, it is recommended to update the entire Linux Kernel to the latest version. This ensures that all relevant security fixes and improvements are applied.
You can find more information about this vulnerability in the official Linux Kernel Git repository. The specific commit that fixes this vulnerability is bbdd0e15738336e6b1208304ae98525117877bbd.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.