HID: usbhid: Free raw_report buffers in usbhid_stop

Kernel Updated 02 Oct 2025

Summary

19/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001557: HID: usbhid: free raw_report buffers in usbhid_stop. Affects Kernel versions < 764ac04de056801dfe52a716da63f6e7018e7f3b. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback