Stack Out of Bound Access in elantech_change_report_id()
Summary
GSD-2021-1002794: Input: elantech - fix stack out of bound access in elantech_change_report_id(). Affects Kernel versions >= 9e4815cf178561104881e5d687ef69396aca1c8d, < a7f95328c6f0afffdc4555f16e3bbab8bbf0d9be. 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 elantech package is a component of the Linux Kernel, which is responsible for handling input from Elantech touchpads. Elantech touchpads are commonly found in laptops and provide users with a way to interact with their devices through touch gestures. The elantech_change_report_id() function is a critical part of the package that manages the report ID for touchpad events.
Vulnerability Detail
The vulnerability identified in the elantech package is a stack out of bound access issue in the elantech_change_report_id() function. This vulnerability allows an attacker to access memory beyond the bounds of the stack, potentially leading to arbitrary code execution or a system crash. The vulnerability was introduced in version v5.4.103 of the Linux Kernel and has been fixed in version v5.4.169.
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 for this vulnerability. It is essential to apply the fix by updating the Linux Kernel to the recommended version.
Conclusion
The stack out of bound access vulnerability in the elantech_change_report_id() function of the elantech package has been identified and fixed in the Linux Kernel version v5.4.169. It is crucial for users to update their Linux Kernel to the recommended version to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability could allow an attacker to execute arbitrary code or crash the system by exploiting the stack out of bound access issue in the elantech_change_report_id() function.
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.
There are no known instances of this vulnerability being exploited in the wild. However, it is crucial to apply the fix to prevent any potential exploitation.
It is not recommended to manually patch the elantech package. Instead, it is advised to update the Linux Kernel to the recommended version, as it includes the necessary fix for this vulnerability.
You can find more information about this vulnerability in the official Linux Kernel repository and the vulnerability database maintained by the Cloud Security Alliance. The vulnerability ID is GSD-2021-1002794.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.