usbnet: Sanity Check for maxpacket Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002121: usbnet: sanity check for maxpacket. Affects Kernel versions < 7e8b6a4f18edee070213cb6a77118e8a412253c5. 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 Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for hardware abstraction, process management, memory management, and device drivers. The usbnet module in the Linux Kernel enables USB networking functionality, allowing devices to communicate over USB connections.

The vulnerability identified in the usbnet module relates to a missing sanity check for the maxpacket value. This value represents the maximum packet size that can be sent or received over USB. Without proper validation, an attacker could potentially exploit this vulnerability to cause buffer overflows, leading to arbitrary code execution or denial of service attacks.

Vulnerability Detail

The vulnerability arises from the absence of a sanity check for the maxpacket value in the usbnet module of the Linux Kernel. This oversight allows an attacker to manipulate the maxpacket value, potentially leading to buffer overflows and subsequent arbitrary code execution or denial of service attacks. The impact of this vulnerability depends on the attacker's ability to send specially crafted USB packets to the target system.

It is important to note that the actual impact and attack plausibility of this vulnerability have not yet been proven. However, it is crucial to address this issue to ensure the security and stability of systems running the affected Linux Kernel versions.

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 →

Conclusion

The usbnet: Sanity Check for maxpacket vulnerability in the Linux Kernel poses a potential risk of arbitrary code execution or denial of service attacks. It is crucial to update the Linux Kernel to version v5.14.16 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can vary depending on the attacker's ability to send specially crafted USB packets. It could potentially lead to arbitrary code execution or denial of service attacks.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time monitoring and alerts for open-source vulnerabilities, including this one.

At the moment, there are no known workarounds for this vulnerability. It is recommended to update the Linux Kernel to the latest stable version to address the issue.

Yes, this vulnerability is fixed in Linux Kernel version v5.14.16. Updating to this version or any subsequent version will resolve the issue.

You can find more information about this vulnerability in the GSD-2021-1002121 JSON report available at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002121.json.

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