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-1000361: usb: f_fs: Fix use-after-free for epfile. Affects Kernel versions >= a9e6f83c2df199187a5248f824f31b6787ae23ae, < 0042178a69eb77a979e36a50dcce9794a3140ef8. 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 Penetration testing for web, API and mobile 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 communication. The package is widely used in Linux-based systems and is crucial for enabling USB devices to connect and interact with the operating system.

Vulnerability Detail

The identified vulnerability in the usb: f_fs package is a use-after-free issue related to the epfile. This vulnerability allows an attacker to exploit a memory corruption bug, potentially leading to arbitrary code execution or privilege escalation. The vulnerability was introduced in version v4.9 of the Linux Kernel and was fixed in version v5.10.101. 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

As this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is advisable to update the Kernel to the recommended version to mitigate the vulnerability.

Conclusion

The use-after-free vulnerability in the usb: f_fs package of the Linux Kernel can pose a significant security risk to systems utilizing USB functionality. It is crucial to update the Kernel to the recommended version 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 usb: f_fs package is a component of the Linux Kernel that handles USB functionality, allowing USB devices to connect and interact with the operating system.

A use-after-free vulnerability occurs when a program continues to use a memory resource after it has been freed, leading to potential memory corruption and exploitation by attackers.

The use-after-free vulnerability in the usb: f_fs package could potentially allow an attacker to execute arbitrary code or escalate privileges, compromising the security and integrity of the affected system.

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 specific use-after-free issue.

You can find more information about this vulnerability, including the specific commits that introduced and fixed it, in the Open Source Vulnerability database maintained by the Cloud Security Alliance. The reference link is provided in the vulnerability details section.

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