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-1000019: usb: gadget: f_fs: Clear ffs_eventfd in ffs_data_clear. Affects Kernel versions >= 5e33f6fdf735cda1d4580fe6f1878da05718fe73, < 52500239e3f2d6fc77b6f58632a9fb98fe74ac09. 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 interaction, process management, and system resource allocation. The USB gadget subsystem within the Linux Kernel enables devices to act as USB peripherals, allowing them to communicate with host systems. One component of this subsystem is the f_fs module, which provides support for the FunctionFS USB gadget file system. This vulnerability specifically affects the f_fs module in the Linux Kernel.

Vulnerability Detail

The USB Gadget f_fs vulnerability in the Linux Kernel arises from a failure to clear the ffs_eventfd in ffs_data_clear. This flaw can potentially be exploited by an attacker to execute arbitrary code or trigger a denial-of-service condition. The vulnerability was introduced in version v4.0 of the Linux Kernel and was fixed in version v4.14.261. However, the impact and attack plausibility of this vulnerability have not been proven.

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 USB Gadget f_fs vulnerability in the Linux Kernel poses a potential security risk, allowing for arbitrary code execution or denial-of-service attacks. It is crucial to update the Linux Kernel to version v4.14.261 or later to mitigate this vulnerability. Regularly updating the Linux Kernel is recommended to ensure the latest security patches are applied. For additional support and guidance, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition.

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 and the Vulert Playground will analyze it for any open-source vulnerabilities, including this USB Gadget f_fs vulnerability.

At the time of this report, there are no known exploits for this vulnerability. However, it is important to apply the recommended fix to mitigate any potential risks.

The exact attack vector and remote exploitability of this vulnerability have not been proven. However, it is always advisable to apply security patches and updates to minimize the risk of remote exploitation.

For further support and assistance with vulnerability remediation, you can reach out to info@devnack.com. Our team of experts will be happy to assist you.

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