Use-after-free vulnerability in usb: f_fs package

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000500: usb: f_fs: Fix use-after-free for epfile. Affects Kernel versions >= a9e6f83c2df199187a5248f824f31b6787ae23ae, < 3e078b18753669615301d946297bafd69294ad2c. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The usb: f_fs package is a component of the Linux Kernel, which is responsible for handling USB functionality. It provides the necessary drivers and protocols for USB devices to communicate with the operating system. The usb: f_fs package is widely used in Linux-based systems and is critical for proper USB device support.

Vulnerability Detail

The use-after-free vulnerability in the usb: f_fs package allows an attacker to exploit a freed memory region, leading to potential code execution or a system crash. This vulnerability occurs when the epfile (endpoint file) is accessed after it has been freed. An attacker can craft a malicious USB request that triggers this use-after-free condition, potentially leading to arbitrary code execution or denial of service.

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 disable USB functionality or restrict USB device access to trusted sources only. However, this may impact the usability of the system and is not a recommended long-term solution. It is strongly advised to apply the official fix by updating the Linux Kernel.

Conclusion

The use-after-free vulnerability in the usb: f_fs package of the Linux Kernel can be exploited to execute arbitrary code or crash the system. It is crucial to update the Linux Kernel to version v5.16.10 or later to mitigate this vulnerability. Disabling USB functionality or restricting USB device access can serve as a temporary workaround, but it is recommended to apply the official fix. For further support, contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially allow an attacker to execute arbitrary code or crash the system by exploiting the use-after-free condition in the usb: f_fs package.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any known vulnerabilities.

At the time of this report, there are no known public exploits targeting this specific vulnerability. However, it is important to apply the fix as soon as possible to mitigate any potential risks.

Yes, this vulnerability can be exploited remotely if an attacker can send a malicious USB request to the affected system. It is important to update the Linux Kernel to the latest version to prevent remote exploitation.

For further support on vulnerability remediation and assistance with updating the Linux Kernel, you can contact info@devnack.com.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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