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-1000314: usb: f_fs: Fix use-after-free for epfile. Affects Kernel versions >= a9e6f83c2df199187a5248f824f31b6787ae23ae, < cfe5f6fd335d882bcc829a1c8a7d462a455c626e. 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 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 a critical part of the kernel and is widely used in various Linux distributions. However, a use-after-free vulnerability has been discovered in the epfile module of the usb: f_fs package.

Vulnerability Detail

The use-after-free vulnerability in the epfile module of the usb: f_fs package allows an attacker to exploit a freed memory region. This can lead to various security issues, including remote code execution, privilege escalation, and denial of service. The vulnerability occurs when the epfile module improperly handles certain USB requests, resulting in a use-after-free condition. An attacker can craft malicious USB requests to trigger this vulnerability and potentially execute arbitrary code or crash the system.

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 known workaround for this vulnerability. It is essential to apply the fix by updating the Linux Kernel to the recommended version.

Conclusion

The use-after-free vulnerability in the usb: f_fs package of the Linux Kernel can have severe security implications, including remote code execution and privilege escalation. It is crucial to update the Linux Kernel to the recommended version 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 impact of this vulnerability can be severe, potentially leading to remote code execution, privilege escalation, or denial of service. It is crucial to update the Linux Kernel to mitigate the risk.

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 open-source vulnerabilities, including this one.

At the time of this report, there is no known public exploit for this vulnerability. However, it is essential to apply the fix promptly to prevent any potential exploitation.

Yes, this vulnerability can be exploited remotely. An attacker can craft malicious USB requests to trigger the use-after-free vulnerability and potentially execute arbitrary code or crash the system.

Unfortunately, there are no known mitigations or workarounds for this vulnerability other than updating the Linux Kernel to the recommended version. It is crucial to prioritize the update to ensure the security of your system.

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