HID: usbhid: Free raw_report buffers in usbhid_stop
Summary
GSD-2021-1001557: HID: usbhid: free raw_report buffers in usbhid_stop. Affects Kernel versions < 764ac04de056801dfe52a716da63f6e7018e7f3b. 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 provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. The usbhid module is responsible for handling USB Human Interface Devices (HID) such as keyboards, mice, and game controllers. It provides the necessary drivers and protocols to enable communication between these devices and the operating system.
Vulnerability Detail
The HID: usbhid vulnerability arises from a failure to properly free raw_report buffers in the usbhid_stop function. This vulnerability can potentially be exploited by an attacker with physical access to the system or through a malicious USB device. By leveraging this vulnerability, an attacker may be able to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability 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
There is no specific workaround mentioned for this vulnerability.
Conclusion
The HID: usbhid vulnerability in the Kernel's usbhid module can potentially lead to arbitrary code execution, privilege escalation, or denial-of-service attacks. It is crucial to update the Linux Kernel to version v4.19.209 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can range from arbitrary code execution to privilege escalation or denial-of-service attacks.
An attacker with physical access to the system or a malicious USB device can potentially exploit this vulnerability.
No, there is no known proof-of-concept for this vulnerability at the moment.
Yes, this vulnerability has been fixed in Linux Kernel version v4.19.209 by commit 764ac04de056801dfe52a716da63f6e7018e7f3b.
You can find more information about this vulnerability in the source database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001557.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.