Memory Leak in uss720_probe in Kernel
Summary
GSD-2021-1000609: misc/uss720: fix memory leak in uss720_probe. Affects Kernel versions >= 0f36163d3abefbda1b21a330b3fdf3c2dc076d94, < 5394ae9d8c7961dd93807fdf1b12a1dde96b0a55. 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 crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities and services to ensure the proper functioning of the system. The uss720_probe function is a part of the Kernel's misc/uss720 module, which is responsible for handling a specific device. This module allows communication with the USS720 USB-to-serial adapter. However, a memory leak vulnerability has been identified in the uss720_probe function, which can lead to the exhaustion of system memory resources over time.
Vulnerability Detail
The memory leak vulnerability in uss720_probe arises from a failure to release allocated memory when certain conditions are met. This can result in a gradual accumulation of unreleased memory, leading to memory exhaustion. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition by consuming all available system memory. The impact of this vulnerability can vary depending on the system's available resources and the attacker's ability to trigger the vulnerable code path. It is important to note that the actual impact and attack plausibility 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 this vulnerability has been fixed in the latest version of the Linux Kernel, applying the update is the recommended solution. However, if updating immediately is not feasible, a temporary workaround could involve disabling or removing the misc/uss720 module from the Kernel configuration. This can be achieved by modifying the Kernel configuration file and rebuilding the Kernel without including the uss720 module. It is important to note that this workaround may impact the functionality of the USS720 USB-to-serial adapter.
Conclusion
In conclusion, the memory leak vulnerability in uss720_probe within the Kernel's misc/uss720 module can lead to memory exhaustion and potential denial-of-service (DoS) conditions. It is crucial to update the Linux Kernel to version v5.10.42 or later to address this vulnerability. If immediate updating is not possible, disabling or removing the misc/uss720 module can serve as a temporary workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can vary depending on the system's available resources and the attacker's ability to trigger the vulnerable code path. It can potentially lead to a denial-of-service (DoS) condition by consuming all available system memory.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.42 or later, which includes the necessary fix for the memory leak in uss720_probe.
If updating immediately is not feasible, a temporary workaround involves disabling or removing the misc/uss720 module from the Kernel configuration. However, this may impact the functionality of the USS720 USB-to-serial adapter.
There is no evidence of this vulnerability being exploited in the wild. However, it is important to apply the recommended fix or workaround to mitigate any potential risks.
For more information about this vulnerability, you can refer to the provided references link in the vulnerability details section.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.