Memory Leak in elo_probe in Kernel
Summary
GSD-2022-1000566: HID: elo: fix memory leak in elo_probe. Affects Kernel versions >= fbf42729d0e91332e8ce75a1ecce08b8a2dab9c1, < 80dad7483e3940dc9d9d55f8b34d1f4ba85a505e. 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 acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system. The elo_probe function in the Kernel is responsible for handling input from Elo touchscreens. These touchscreens are commonly used in various devices, including kiosks, point-of-sale systems, and industrial control panels. However, a memory leak vulnerability has been discovered in the elo_probe function, which could lead to resource exhaustion and potential system instability.
Vulnerability Detail
The memory leak vulnerability in elo_probe arises from a failure to release allocated memory when handling input from Elo touchscreens. This can result in a gradual depletion of available memory resources, leading to degraded system performance and, in extreme cases, system crashes. An attacker with physical access to a device utilizing an affected Kernel version could potentially exploit this vulnerability to exhaust system resources and disrupt normal operations. The vulnerability was introduced in Kernel version v5.15 and has been fixed in version v5.16.11.
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 disable the use of Elo touchscreens or remove the affected hardware from the system. This will prevent the vulnerable code path from being triggered and mitigate the risk of resource exhaustion. However, this workaround may not be feasible in situations where the use of Elo touchscreens is essential for the intended functionality of the system.
Conclusion
The memory leak vulnerability in elo_probe can have serious consequences for systems utilizing Elo touchscreens. It is crucial to update the Kernel to the fixed version or apply the recommended workaround to mitigate the risk of resource exhaustion and system instability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to memory exhaustion and system instability, potentially resulting in system crashes or degraded performance.
An attacker with physical access to a device utilizing an affected Kernel version could exploit this vulnerability to exhaust system resources and disrupt normal operations.
The vulnerability was introduced in Kernel version v5.15 and has been fixed in version v5.16.11.
A temporary workaround is to disable the use of Elo touchscreens or remove the affected hardware from the system.
To fix this vulnerability, update the Kernel to version v5.16.11 or later by obtaining the updated source code and compiling it for the target system.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.