Memory Leak Vulnerability in usbnet Package

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004592: usbnet: fix memory leak in error case. Affects Kernel versions >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 0085da9df3dced730027923a6b48f58e9016af91. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The usbnet package is a part of the Linux Kernel ecosystem and is responsible for providing USB networking capabilities. It allows devices to communicate over USB connections and enables functionalities such as Ethernet over USB. The usbnet package is widely used in various Linux-based systems and devices.

Vulnerability Detail

The identified vulnerability in the usbnet package is related to a memory leak issue. When an error occurs during certain operations, memory resources are not properly released, leading to a memory leak. This vulnerability can potentially result in memory exhaustion and system instability. It may also be exploited by attackers to launch denial-of-service attacks or gain unauthorized access to sensitive information.

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 workaround, users can apply the patch provided in commit 0085da9df3dced730027923a6b48f58e9016af91 manually. Here is an example of how to apply the patch:

  1. Clone the Linux Kernel repository: git clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
  2. Checkout the commit: git checkout 0085da9df3dced730027923a6b48f58e9016af91
  3. Recompile and install the Kernel with the patched code.

Please note that applying the patch manually requires knowledge of the Linux Kernel build process and may not be suitable for all users.

Conclusion

In conclusion, the usbnet package in the Linux Kernel is affected by a memory leak vulnerability. It is crucial to update the Kernel to the recommended version or apply the provided patch to mitigate the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The usbnet package is a component of the Linux Kernel that enables USB networking capabilities, allowing devices to communicate over USB connections.

The memory leak vulnerability in the usbnet package can lead to memory exhaustion, system instability, and potential unauthorized access or denial-of-service attacks.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.130 or later, which includes the necessary fix for the memory leak issue.

Yes, a workaround is to manually apply the patch provided in commit 0085da9df3dced730027923a6b48f58e9016af91. However, this requires knowledge of the Linux Kernel build process and may not be suitable for all users.

For more information about this vulnerability, you can refer to the vulnerability details in the Open Source Vulnerability format. You can also visit the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability.

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