USB Gadget f_fs Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

10/01/2022
N/A
No i
Unrated
Not published

GSD-2022-1000033: usb: gadget: f_fs: Clear ffs_eventfd in ffs_data_clear. Affects Kernel versions >= 5e33f6fdf735cda1d4580fe6f1878da05718fe73, < 240fc586e83d645912accce081a48aa63a45f6ee. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 f_fs module within the USB gadget subsystem allows the kernel to act as a USB device. This vulnerability affects the f_fs module in the Linux Kernel.

Vulnerability Detail

The vulnerability in the f_fs module of the USB gadget subsystem arises from a failure to clear the ffs_eventfd in the ffs_data_clear function. This flaw could potentially be exploited by an attacker to trigger a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges. 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 provided for this vulnerability.

Conclusion

The USB Gadget f_fs vulnerability in the Linux Kernel's f_fs module can potentially lead to a denial-of-service (DoS) condition or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.4.170 or later to mitigate this vulnerability. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The USB gadget subsystem in the Linux Kernel allows the kernel to act as a USB device, enabling various USB functionalities.

The impact of this vulnerability could range from a denial-of-service (DoS) condition to arbitrary code execution with elevated privileges.

You can use Vulert's 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 alerts for open-source vulnerabilities.

No known exploits for this vulnerability have been reported at the moment.

You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry GSD-2022-1000033 (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000033.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